Giter Site home page Giter Site logo

learn-write-repeat / open-contributions Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 448.0 338.9 MB

This Repository is for Learning purpose, and open contributions under DevIncept program.

Home Page: https://dcp.devincept.com/

License: MIT License

Jupyter Notebook 99.97% Python 0.03% HTML 0.01% Solidity 0.01%
hacktoberfest hacktoberfest2021 jupyter-notebook

open-contributions's People

Contributors

aditya9110 avatar aisharawat avatar ajaysinghpanwar avatar akrish4 avatar akshayadme avatar arpit-dwivedi avatar aryan26roy avatar avikr76 avatar bgayathri0606 avatar chaithanyareddy123 avatar choronzon13 avatar drishtisabhaya avatar hrsh369 avatar j-a-r-v-i avatar madalatrivedh20 avatar neha2426 avatar omrastogi avatar parthduggal123 avatar prachiagarwal12 avatar reddymahendra52 avatar sakshi4321 avatar sathyashreerao avatar saumyak14 avatar scarywings83289 avatar shivamshrma07 avatar shubham0rajput avatar swapnilr17 avatar tarun36rocker avatar theoffice-475 avatar vineelnoel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

open-contributions's Issues

API

An application programming interface (API) is a computing interface that defines interactions between multiple software intermediaries
What is meant by API with example?

An Application Programming Interface (API) is a tool set that programmers can use in helping them create software. ... An example is the Apple (iOS) API that's used to detect touchscreen interactions.
Application Programming Interface:

An Application Programming Interface (API) is a tool set that programmers can use in helping them create software. A good API will have clear and concise commands that a programmer can use and reuse, so they don't have to build everything over again.
Even Windows has a huge set of APIs that you can use in order to work with the user interface. There's no need to completely rebuild forms, commands, or even scroll bars. All of these actions are accessible within various APIs, and can be brought into your program. This also ensures a consistent look and feel among applications, but still allows for unique functionality.

Learning Flask

Get to know about Flask

  • Flask is a micro web framework written in Python.It is micro because it doesn't required perticular libraries

Work done today (Day 1)

  • create a virtual enviourment for flask
  • create a Python file to create the web app
  • Try to print my name in the web app
  • i have uploade the work on my github profile here's the Link
  • Here's the output i get image

Work done today (Day 2)

Comparison between the solution providers in field of AI

Topic Amazon Google Microsoft
Object Detection Amazon Rekognition Google cloud Vision Microsoft Cognitive Services
Scene Detection Provides The Api Provided by the same api Provided by the same Api
Facial Detection Provides The Api Provided by the same api Provided by the same Api
Facial Analysis Provides The Api Provided by the same api Provided by the same Api
Inappropriate content Description Provides The Api Provided by the same api Provided by the same Api
Celebritry Recognition Provides The Api Provided by the same api Provided by the same Api
Text Recognition Provides The Api Provided by the same api Provided by the same Api

The above mentioned topics are provided by the same Api's in the similar platform eg. Amazon Rekognition for amazon ,Microsoft Cognitive Services for Microsoft ,Google cloud Vision for google.As from The resources we came to know that the following facts
Difference

Topic Amazon Google Microsoft
Search for similar images on Web Not provided Ilan.Google.API this API is used for this purpose by google Not Provided
Logo Detection Not provided Flik 27 logo is used also for detecting logo by google Not Provided
Landmark Detection Not provided The Vision API now supports offline asynchronous batch image annotation for all features. Provided by Microsoft Cognitive Services
Dominant color Detection Not provided Provided by Google cloud Vision Provided by Microsoft Cognitive Services

Work done today (Day 3)

What is Multitenancy?
In cloud computing, multitenancy means that multiple customers of a cloud vendor are using the same computing resources. Despite the fact that they share resources, cloud customers aren't aware of each other, and their data is kept totally separate. Multitenancy is a crucial component of cloud computing; without it, cloud services would be far less practical. Multitenant architecture is a feature in many types of public cloud computing, including IaaS, PaaS, SaaS, containers, and serverless computing.

Advantages

  • Better use of resources
  • Lower costs
  • Possible security risks and compliance issues
  • The "noisy neighbor" effect

API

### What is API?

Application Programming Interface

The term API is an acronym, and it stands for “Application Programming Interface.”
Think of an API like a menu in a restaurant. The menu provides a list of dishes you can order, along with a description of each dish. When you specify what menu items you want, the restaurant’s kitchen does the work and provides you with some finished dishes. You do not know exactly how the restaurant prepares that food, and you do not really need to.
Similarly, an API lists a bunch of operations that developers can use, along with a description of what they do. The developer doesn’t necessarily need to know how, for example, an operating system builds and presents a “Save As” dialog box. They just need to know that it’s available for use in their app.
This isn’t a perfect metaphor, as developers may have to provide their own data to the API to get the results, so perhaps it’s more like a fancy restaurant where you can provide some of your own ingredients the kitchen will work with.
But it’s broadly accurate. APIs allow developers to save time by taking advantage of a platform’s implementation to do the nitty-gritty work. This helps reduce the amount of code developers need to create, and also helps create more consistency across apps for the same platform. APIs can control access to hardware and software resources.

APIs Are Used for Communication Between Services
APIs are used for all kinds of other reasons, too. For example, if you have ever seen a Google Maps object embedded on a website, that website is using the Google Maps API to embed that map. Google exposes APIs like this to web developers, who can then use the APIs to plop complex objects right on their website. If APIs like this did not exist, developers might have to create their own maps and provide their own map data just to put a little interactive map on a website.

And, because it’s an API, Google can control access to Google Maps on third-party websites, ensuring they use it in a consistent way rather than attempting to messily embed a frame that shows the Google Maps website, for example.
This applies to many different online services. There are APIs for requesting text translation from Google Translate, or embedding Facebook comments or tweets from Twitter on a website.
Amazon API

Amazon's Product Advertising API, formerly Amazon Associates Web Service (A2S) and before that known as Amazon E-Commerce Service (ECS), is a web service and application programming interface (API) that gives application programmers access to Amazon's product catalogue data. Accessible via either the SOAP or REST protocols it enables products to be listed and/or sold through third-party websites and applications. It is a product of Amazon Services, not to be confused with Amazon Web Services

AMAZON REKOGNITION

Amazon Rekognition makes it easy to add image and video analysis to your applications using proven, highly scalable, deep learning technology that requires no machine learning expertise to use. With Amazon Rekognition, you can identify objects, people, text, scenes, and activities in images and videos, as well as detect any inappropriate content. Amazon Rekognition also provides highly accurate facial analysis and facial search capabilities that you can use to detect, analyze, and compare faces for a wide variety of user verification, people counting, and public safety use cases.
With Amazon Rekognition Custom Labels, you can identify the objects and scenes in images that are specific to your business needs. For example, you can build a model to classify specific machine parts on your assembly line or to detect unhealthy plants. Amazon Rekognition Custom Labels takes care of the heavy lifting of model development for you, so no machine learning experience is required. You simply need to supply images of objects or scenes you want to identify, and the service handles the rest.

MICROSOT WINDOWS API

The Windows API, informally WinAPI, is Microsoft's core set of application programming interfaces (APIs) available in the Microsoft Windows operating systems. The name Windows API collectively refers to several different platform implementations that are often referred to by their own names (for example, Win32 API); see the versions section. Almost all Windows programs interact with the Windows API. On the Windows NT line of operating systems, a small number (such as programs started early in the Windows startup process) use the
Developer support is available in the form of a software development kit, Microsoft Windows SDK, providing documentation and tools needed to build software based on the Windows API and associated Windows interfaces.
The Windows API (Win32) is focused mainly on the programming language C in that its exposed functions and data structures are described in that language in recent versions of its documentation. However, the API may be used by any programming language compiler or assembler able to handle the (well-defined) low-level data structures along with the prescribed calling conventions for calls and callbacks. Similarly, the internal implementation of the API's function has been developed in several languages, historically. Despite the fact that C is not an object-oriented programming language, the Windows API and Windows have both historically been described as object-oriented. There have also been many wrapper classes and extensions (from Microsoft and others) for object-oriented languages that make this object-oriented structure more explicit (Microsoft Foundation Class Library (MFC), Visual Component Library (VCL), GDI+, etc.). For instance, Windows 8 provides the Windows API and the WinRT API, which is implemented in C++ and is object-oriented by design.

Almost every new version of Microsoft Windows has introduced its own additions and changes to the Windows API. The name of the API, however, remained consistent between different Windows versions, and name changes were kept limited to major architectural and platform changes for Windows.

GOOGLE API

Google APIs are application programming interfaces (APIs) developed by Google which allow communication with Google Services and their integration to other services. Examples of these include Search, Gmail, Translate or Google Maps. Third-party apps can use these APIs to take advantage of or extend the functionality of the existing services.
The APIs provide functionality like analytics, machine learning as a service (the Prediction API) or access to user data (when permission to read the data is given). Another important example is an embedded Google map on a website, which can be achieved using the Static maps API, Places API or Google Earth API.

User registration is commonly done via Google, which allows users to securely log into third-party services with their Google account through the Google Sign-in system. This is currently available from within Android (operating system) or by using JavaScript.[8] It is popular to include a "Sign in with Google" button in Android apps, as typing login credentials manually is time-consuming due to the limited screen size. As the user is usually signed into their Google account on their mobile device, signing-in/signing-up for a new service using a Google account is usually a matter of a few button clicks. Drive apps are various web applications which work within Google Drive using the Drive API. Users can integrate these apps into their Drive from the Chrome Web Store, allowing them to work entirely in the cloud.[9] There are many apps available for collaborative document editing (Google Docs, Sheets), picture/video editing, work management, or sketching diagrams and workflows.
Custom Search allows web developers to provide a search of their own website by embedding a custom search box and using the Custom Search API. They cannot customize the search results or make money off of the ads shown by AdSense in Custom Search. App Engine are web apps that run on the Google App Engine, a platform-as-a-service (PaaS) cloud computing platform which allows web developers to run their websites in Google datacenters. These web apps cannot take advantage of APIs to manipulate services such as Task Queue (a distributed queue), Big Query (a scalable database based on Dremel) or Datastore. Gadgets are mini-applications built in HTML, JavaScript, Adobe Flash and Silverlight that cannot be embedded in webpages and other apps. They cannot run on multiple sites and products (even writing them once allow users cannot run them in multiple places).

The table shows the speech and text processing API’s comparison in the document file.

The link below shows the document file.
API.docx

Flask App Building

Flask App Building with Python

  1. Start the app building by going to folder where you want to save code. In my case:
    `D:>cd D:\Study\Internsala\Devincept\Devincept Intership AI

D:\Study\Internsala\Devincept\Devincept Intership AI>mkdir app5

D:\Study\Internsala\Devincept\Devincept Intership AI>cd app5`

  1. Created a new environment as venv
    py -3 -m venv venv

  2. Activated with the following script
    venv\Scripts\activate

  3. Installed the flask package using:
    pip install flask

  4. Written the flask code in python using spyder interface as app.py. [https://github.com/jaikushwaha7/Flask-App-Building-Steps/blob/main/app2.py].

  5. Set the flask app by connecting to app2.py and running it.
    set FLASK_APP=app2.py
    flask run

  6. On running the code and link was provided where the output of the app was displayed in a HTML format.
    Output 2

SoFlask a simple python web application framework that allows us to build up web-applications.

Sample-flask-Introduction

Flask:

*A web framework written in python language.

Features of Flask:

  • Built-in development server
  • Fast Debugger
  • Unit-testing support
  • Good support for client side sessions
  • Unicode Based
  • Lightweight
  • Easy to deploy
  • High flexibility

` Flask Installation:

pip install Flask

You can find full documentation here:

Flask Documentation

Flask

Flask App Building with Python
Start the app building by going to folder where you want to save code. In my case:
`D:>cd D:\Study\Internsala\Devincept\Devincept Intership AI
D:\Study\Internsala\Devincept\Devincept Intership AI>mkdir app5

D:\Study\Internsala\Devincept\Devincept Intership AI>cd app5`

Created a new environment as venv
py -3 -m venv venv

Activated with the following script
venv\Scripts\activate

Installed the flask package using:
pip install flask

Written the flask code in python using spyder interface as app.py. [https://github.com/jaikushwaha7/Flask-App-Building-Steps/blob/main/app2.py].

Set the flask app by connecting to app2.py and running it.
set FLASK_APP=app2.py
flask run

Understanding Flask Basics

Flask is a web application framework written in python which allows users to create, develop and publish dynamic web applications.

Here's the Python file which I used to create a basic web application to print "Hello World!!" using flask.
Here's the output of the application after execution.

  • Following are the commands used to run the web app-
  1. set FLASK_APP=HelloWorld.py
  2. flask run
  • To see the output in the browser-
    After running the above two commands, copy the address provided by the prompt after successful execution of the application and paste it into the browser.

Application in Flask

What is Flask Python

Flask is a web framework, it’s a Python module that lets you develop web applications easily. It’s has a small and easy-to-extend core: it’s a microframework that doesn’t include an ORM (Object Relational Manager) or such features.

It does have many cool features like routing, template engine. It is a WSGI web app framework.

Related course: Python Flask: Create Web Apps with Flask

What is a Web Framework?
A Web Application Framework or a simply a Web Framework represents a collection of libraries and modules that enable web application developers to write applications without worrying about low-level details such as protocol, thread management, and so on.

What is Flask?
Flask is a web application framework written in Python. It was developed by Armin Ronacher, who led a team of international Python enthusiasts called Poocco. Flask is based on the Werkzeg WSGI toolkit and the Jinja2 template engine. Both are Pocco projects.

WSGI
The Web Server Gateway Interface (Web Server Gateway Interface, WSGI) has been used as a standard for Python web application development. WSGI is the specification of a common interface between web servers and web applications.

Werkzeug
Werkzeug is a WSGI toolkit that implements requests, response objects, and utility functions. This enables a web frame to be built on it. The Flask framework uses Werkzeg as one of its bases.

jinja2
jinja2 is a popular template engine for Python. A web template system combines a template with a specific data source to render a dynamic web page.

Flask 1 .docx
http://127.0.0.1:5000/ shows the output "Hello World"

Add badges to the README file

Description

Add some badges to the top of readme.md file, since the badges will be colorful and more attractive at the top of README.md file than the text the users will like it and after linking the badges it will also help them to navigate to different sections/ webpages like PRs, issues, contributors, etc.

Solution

I will add some badges at the top and also will add links related to them so that the README.md file will look more interactive and awesome.

FACE_DETECTION

WAnt to Contribute to the Repository under Devincept Program
Wan to add Face_Detection with the help of open cv and Python

My First Flask App

FLASK:

  • Flask is a web application framework in python

  • Flask depends on the Jinja template engine and the Werkzeug WSGI toolkit.

Steps to create Flask App:

  1. Start the app building by going to the folder where you want to save code. In my case:
    C:>C:\Usres\HP-PC\Documents\Internship\DevIncept
    C:>C:\Usres\HP-PC\Documents\Internship\DevIncept\mkdir app3
    C:>C:\Usres\HP-PC\Documents\Internship\DevIncept\cd app3

  2. Created a new virtual environment env
    pip install virtualenv
    virtualenv env

  3. Activated the virtual environment
    env\Scripts\activate

  4. Installed the flask package using:
    pip install flask

  5. Written the flask code in python using sublime text as app3.py ([https://github.com/DibyashaPanda/MY-FIRST-Flask-App])

  6. Set the flask app by connecting to app3.py and running it.
    set FLASK_APP=app3.py
    flask run

  7. On running the code and link was provided where the output of the app was displayed in an HTML format.

# Flask

Flask

What is Flask?

Flask is an API of Python that allows us to build up web-applications. It was developed by Armin Ronacher. Flask’s framework is more explicit than Django’s framework and is also easier to learn because it has less base code to implement a simple web-Application. A Web-Application Framework or Web Framework is the collection of modules and libraries that helps the developer to write applications without writing the low-level codes such as protocols, thread management, etc. Flask is based on WSGI(Web Server Gateway Interface) toolkit and Jinja2 template engine.

  • This is the link to detailed explanation of flask
  • This is the link of the code that is used.

Originally posted by @anillko1108 in #175 (comment)

Flask

Flask is a web application framework written in Python. A web framework is a collection of modules and packeges which facilitates or supports the user to create dynamic web applications. It facilitates creation,development and publishing of web applications. Flask is based on the Werkzeug WSGI toolkit and Jinja2 template engine.It includes a built-in development server, unit tesing support, and is fully Unicode-enabled with RESTful request dispatching and WSGI compliance.
Features:-
Development server and debugger
Integrated support for unit testing
RESTful request dispatching
Uses Jinja templating
Support for secure cookies (client side sessions)
100% WSGI 1.0 compliant
Unicode-based
Extensive documentation
Google App Engine compatibility
Extensions available to enhance features desire
So this https://github.com/kiran-2/flask1/blob/kiran-2-patch-1-1/flask for very basic webpage

Add any app/tutorial to the repository.

You can contribute and add your tutorial to this repository for Hacktoberfest.

Just follow the contribution instructions in readme and make a pull request.

Have fun and happy Hacktoberfest

Completed:Shivangi_DSA.md

DSA Topics:

  1. Arrays
  2. Linked List
  3. Stack
  4. Queues
  5. Trees
  6. BFS AND DFS Traversal
  7. Sorting -Bubble Sort, Insertion, Selection Sort, Radix Sorting, Bucket Sorting, Heap Sort
  8. Greedy Technique
  9. Dijkstra's Algorithm
  10. Hashing

API study

Amazon, Microsoft and Google are the leading solution providers in AI.

These are the solutions provided by these three,

chart

As you can see all three provide the most common solution, but what is the difference.

This issue is for studying the differences between these three solution providers.
After studying, comment the difference in all three in tabular format.

Note: Just do the surface study for now, we'll study separate API's later.

UNDERSTAND FLASK

What is Flask?

  • Flask is an API of Python that allows us to build up web-applications. It was developed by Armin Ronacher. Flask’s framework is more explicit than Django’s framework and is also easier to learn because it has less base code to implement a simple web-Application. A Web-Application Framework or Web Framework is the collection of modules and libraries that helps the developer to write applications without writing the low-level codes such as protocols, thread management, etc. Flask is based on WSGI(Web Server Gateway Interface) toolkit and Jinja2 template engine.

  • Flask is a web framework that provides libraries to build lightweight web applications in python. It is developed by Armin
    Ronacher who leads an international group of python enthusiasts (POCCO).

  • It is based on WSGI toolkit and jinja2 template engine.

  • Flask is considered as a micro framework.
    Screenshot (25)

  • Initially i got some error while installing flask but i search the error on google i was able resolve it then i started working on creating web page i got lot more errors and i dont know why theses errors are coming. I tried allot but still errors coming Screenshot (26)
    Screenshot (27)
    Screenshot (28)
    Screenshot (29)
    Screenshot (30)

** Finally done **
Screenshot (31)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.