Skip to content

krother/Python3_Package_Examples

Repository files navigation

Python Package Examples

Here you find easy copy-paste examples of my favourite Python packages.

Builtin modules

package description
itertools working with lists and generators
math mathematical functions
os working with files and directories
random generating random numbers
re pattern matching in text
sys settings of the Python interpreter
time working with dates and times

Reading and Writing Files

package description
json read/write JSON files
pydocx read Word documents
pypdf2 merge PDF documents
xml parse XML files
zipfile read and write .zip files
librosa (external) process and analyze sound and music

Data Science

package description
numpy fast numerical calculations
pandas analyze tabular data
scipy scientific calculations
scikit-learn Machine Learning
RPy2 Use R functions from within Python
PuLP linear equation solver
fuzzywuzzy fuzzy text search
vader sentiment analysis
statsmodels (external) Hypothesis tests and statistical models

Plotting

package description
folium drawing maps
matplotlib plotting diagrams
NetworkX analyze and plot graphs
wordcloud plot word clouds
seaborn (external) a more powerful interface for matplotlib
altair (external) plotting library with JSON backend
geopandas (external) plot DataFrames on maps
panel (external) create interactive plots

Image Processing

package description
pillow - image manipulation
ipythonblocks drawing blocks in notebooks
pytesseract extract text from images (OCR)
scikit-image Advanced image processing
CV2 (external) processing camera images and movies

Databases

package description
pymongo adapter for the MongoDB NoSQL database
sqlite3 a simple SQL database

Web programming

package description
BeautifulSoup4 parse HTML pages
email send emails
flask a simple web server
requests retrieve web pages
scrapy (external) collect data from entire websites

User Interfaces

package description
curses interactive terminal interface
tkinter graphical user interfaces
tqdm draw progress bars

More Libraries

Source

github.com/krother/Python3_Package_Examples

Acknowledgements

Thanks to Emely Henninger for finding a nasty bug in networkx!

License

© 2017 Dr. Kristian Rother (krother@academis.eu)

The code is distributed under the conditions of the MIT License. See :::file LICENSE.TXT for details.

About

A collection of easy-to-run code examples for my best-of Python packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published