Python Flask Cheat Sheet
One of the biggest skills in any career path comes solely from knowing where to look and what to look for when breaking down a problem. The same principle applies for Python programming. Since there are millions of different packages out there that all serve different purposes, it is often difficult to even know if there is a package out there that will solve your problem.
I will be updating this table in the future as well as I personally find more and more solutions to my problems, and hope to share this insight with everyone. I will not be including packages from Python's standard library.
Python Flask Cheat Sheet Download
Python security starts with Python 3. What version of Python are you using? Many inherent Python. Python Flask Cheat Sheet by amicheletti - Cheatography.com Created Date: 5057Z. Some highlights from Flask's Changelog, Support Python 3.6+ (dropping Python 2.7 and 3.5 support) Deprecate a number of features (see details). Initial async-await support (optional install flaskasync), that allows for async route handlers, errorhandlers, before/after request, and teardown functions. PYTHON CHEAT SHEET Python is a most popular general-purpose, high-level programming language which was created in 1991 by Guido van Rossum and developed by Python Software Foundation to concentrate on the readability of code with its extensive use of white space.
Package Name | Description | Used For |
---|---|---|
Pandas | pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language. | Data Analysis |
Numpy | NumPy is the fundamental package for scientific computing with Python. | Data Analysis |
SciPy | SciPy (pronounced “Sigh Pie”) is a Python-based ecosystem of open-source software for mathematics, science, and engineering. | Data Analysis |
Matplotlib | Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. | Data Visualisation |
Spyder | Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts. | Data Visualisation/Data Analysis |
Folium | folium builds on the data wrangling strengths of the Python ecosystem and the mapping strengths of the Leaflet.js library. Manipulate your data in Python, then visualize it in a Leaflet map via folium. | Data Visualiation |
Bokeh | Bokeh is an interactive visualization library that targets modern web browsers for presentation. | Data Visualisation |
Camelot | Camelot is a Python library that makes it easy for anyone to extract tables from PDF files! | PDF Manipulation |
tqdm | tqdm is a lightweight package for displaying progress bars within a console | General |
Selenium | Selenium automates browsers. That’s it! What you do with that power is entirely up to you. | Web Automation |
Beautiful Soup | Beautiful Soup is a Python library for pulling data out of HTML and XML files. | Web Scraping |
Scrapy | An open source and collaborative framework for extracting the data you need from websites. In a fast, simple, yet extensible way. | Web Scraping |
Requests | Requests is an elegant and simple HTTP library for Python, built for human beings. | Web Interaction |
Flask | Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It’sBSD licensed! | Web Development |
Django | Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. | Web Development |
Opencv | OpenCV (Open Source Computer Vision Library) is released under a BSD license and hence it’s free for both academic and commercial use. | Image Analysis |
Pygame | pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. | Game Development |
Pyinstaller | PyInstaller freezes (packages) Python applications into stand-alone executables, under Windows, GNU/Linux, Mac OS X, FreeBSD, Solaris and AIX. | Distribution |
cx_freeze | cx_Freeze is a set of scripts and modules for freezing Python scripts into executables | Distribution |
PyQt5 | Qt is set of cross-platform C++ libraries that implement high-level APIs for accessing many aspects of modern desktop and mobile systems. | GUI Development |
Hey Finxters! It is time for another Python Cheat Sheet! As a brief introduction, OpenCV is an open-source computer vision and machine learning software library of programming functions mainly aimed at real-time computer vision. In this article, I am bringing you the best 10 Python cheat sheets on OpenCV. Let me introduce Python OpenCV to you!
Cheat Sheet 1: Cheatography
This cheat sheet was written by thatguyandy27 on Cheatography. It is separated into different modules, gives clear example code and quick explanation. This pdf is worth hanging on your wall or placed in your developer binder.
Pros: Rated ‘E’ for everyone. This is a great place to start.
Cons: It says it is still in draft form. There could be future updates.
Cheat Sheet 2: GitHub
This cheat sheet is found on Github! A great place for a developer to find really useful information and build a portfolio! This cheat sheet is a condensed version of everything you need to know for OpenCV in Python! It is packed with tons of great information and one you should most definitely have on the wall!
Pros: Rated ‘E’ for everyone.
Cons: It is a super dense cheat sheet.
Cheat Sheet 3: AIM
This cheat sheet specifically focuses on blurring an image using three types: Gaussian, Bilateral and Median blurs. This cheat focuses on the code with a photo at the bottom to show the output of each different method.
Pros: Rated ‘E’ for everyone.
Cons: None that I can see.
Cheat Sheet 4: HeartBeat Fritz
This cheat sheet explains OpenCV from installation to face detection and distorting. All explained in one sheet. You will learn valuable skills along the way for OpenCV in Python. Great for the beginner and refresher.
Pros: Rated ‘E’ for everyone.
Cons: None that I can see.
Python Flask Examples
Cheat Sheet 5: Alver Valley Software Limited
This cheat sheet has code snippets with quick explanations on what each snippet does in the program. It is a very light read and is solely focused on the code used in OpenCv
Pros: Rated ‘E’ for everyone.
Cons: Written for C++, so you will need to import C into you python program.
Cheat Sheet 6: Read the Docs
Here you will learn the core operations of GUI features, image processing and so much from this cheat. It will show you code and give you an explanation on opencv in python
Pros: Rated ‘E’ for everyone.
Cons: None that I can see.
Cheat Sheet 7: Analytics Vidhya
This cheat sheet dives right into installing the correct libraries you are going to need for you program, including a virtual environment. Code snippets, and examples are clear and well written for you to learn from when working with OpenCV
Pros: Rated ‘E’ for everyone.
Cons: None that I can see.
Cheat Sheet 8: OverAPI
This cheat sheet will be one you can hang on the walls. It will take you from the very beginning until the last module. It has good explanation to the code snippets.
Pros: Rated ‘E’ for everyone
Cons: It is written C++
Cheat Sheet 9: Coding for Entrepreneurs
Here on this cheat sheet, you can learn to Learn to create a REST API microservice for extracting faces from images using OpenCV, OpenCV-python, Flask, Docker, and Heroku.
Python Flask Server
Pros: Rated ‘E’ for everyone
Cons: None that I can see.
Cheat Sheet 10: jeh-tech
This cheat sheet was written by a fellow developer online! He has placed in notes and code using Python in OpenCV. He has clear explanations and graphics with his code.
Pros: Rated ‘E’ for everyone
Cons: None that I can see.
So as you can see OpenCV has a ton of material you can use to create your own machine learning models that can use OpenCV and know the difference between an apple and an orange! And hey guess what? You have learned a new skill! That’s even cooler right? As a thank you for coming with me on this fantastic journey I have included BONUS OpenCV Material!! Nothing is better than having a bonus!! It’s like an extra present under the tree! This website will help you dive even deeper into what OpenCV is and what you can do with it! You’ll be able to master the open source library in Python in no time using this website! Maybe even a niche for your Python Freelancing? (Did I just give you a clue? 😜) Enjoy and again thanks for joining me.
Related Articles: