Skip to content

Repository made to easily store python snippets to ease of reference

License

Notifications You must be signed in to change notification settings

brunoopinheiro/Quick_Python_Cheat_Sheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick_Python_Cheat_Sheet

Repository made to easily store python snippets to ease of reference. This project was heavily inspired by Jason Roell's post on Medium, Ultimate Python Cheat Sheet: Practical Python for Everyday Tasks.

A lot of the snippets contained in the Jupyter Notebooks are initially from his article.

You can quickly go to a notebook, based on the main theme:

Theme Description Link
Strings Basic String Operations notebook
Mathematical Operations Basic Mathemathical Operations notebook
Working With Lists Basic List Operations notebook
More Advanced List Comprehensions WIP
Working with Dictionaries WIP notebook
Working With Files General file Operations notebook
Working With HTTP API General HTTP Requests notebook
RegEx (Regular Expressions) WIP
Working with OS WIP
Working with CLI WIP
Working with Dates and Times WIP
Pandas Library (Dataframes) Basic Pandas DataFrame manipulation notebook
Numpy Library (Array) Basic Array Manipulation with NumPy notebook
Matplotlib (Data Visualization) Basic Matplotlib plotting notebook
Matplotlib + Pandas WIP
Seaborn (Data Visualization) WIP
Scikit-Learn (Machine Learning) WIP
Plotly (Interactive Data Visualization) WIP
Decorators WIP notebook
Object Oriented Programming WIP
Function Overloading Function and Method Overloading in Python notebook
Working with Databases WIP
Working with AsyncIO WIP
Networks, Sockets, and Network Interfaces WIP
GraphQL WIP
Web Scraping WIP
pip (Package Management) WIP
Common Built-in Functions and Packages WIP

Running Locally

The idea behind this project is that you can check each code snippet directly on GitHub. If you want to run each of those snippets yourself, after cloning the project you should:

  1. Initiate a virtual environment:
python -m venv .venv
  1. Activate the virtual environment:
  • (windows)
.\venv\Scripts\activate
  • macOS and Linux:
source .venv/bin/activate
  1. Install the dependencies:
pip install -r requirements.txt

Remember: Always deactivate your virtual environment when you're done coding. You can do this by simply typing:

deactivate

About

Repository made to easily store python snippets to ease of reference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published