Collecting useful Python snippets in order to enhance pythoneers’ coding experiences

Cheatsheet This project aims at collecting useful Python snippets in order to enhance pythoneers’ coding experiences. Please feel free to contribute if you have any awesome ideas for improvements to code snippets, explanations, etc. What’s New In Python 3 The official document, What’s New In Python, displays all of the most important changes. However, if you’re too busy to read the whole changes, this part provides a brief glance of new features in Python 3.    

Read more

A modern development kit that simplifies the integration of shipping carriers services into an app

purplship puprlship is a modern development kit that simplifies the integration of shipping carriers services into an app. The key features are: Unified API: A standardized set of models representing the common shipping data (Address, Parcel, Shipment…) Intuitive API: A library that abstracts and unifies the typical shipping API services (Rating, Shipping, Tracking…) Multi-carrier: Integrate purplship once and connect to multiple shipping carrier APIs Custom carrier: A framework to integrate a shipping carrier services within hours instead of months For […]

Read more

The Universal Character Encoding Detector For Python

Chardet Python character encoding detector. Detects ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese) EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese) EUC-KR, ISO-2022-KR, Johab (Korean) KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic) ISO-8859-5, windows-1251 (Bulgarian) ISO-8859-1, windows-1252 (Western European languages) ISO-8859-7, windows-1253 (Greek) ISO-8859-8, windows-1255 (Visual and Logical Hebrew) TIS-620 (Thai) Note Our ISO-8859-2 and windows-1250 (Hungarian) probers have been temporarily disabled until we can retrain the models. Requires Python 3.6+. Installation Install […]

Read more

A Python package for Galactic and gravitational dynamics

Gala Gala is a Python package for Galactic and gravitational dynamics. Galactic Dynamics is the study of the formation, history, and evolution of galaxies using the orbits of objects — numerically-integrated trajectories of stars, dark matter particles, star clusters, or galaxies themselves. Installation and Dependencies The easiest way to get Gala is to install with conda or pip. If you are on Linux or Mac, you can install with conda using the conda-forge channel: conda install gala –channel conda-forge If […]

Read more

3D Printed Flip Clock Design and Code with python

Smart Flip Clock 3D printed smart clock that puts a new twist on old technology. The first thing that must be done for this project is to obtain all the materials that will be used. The list of things needed in this project are: Raspberry Pi Zero W (or any raspberry pi) Adequate Power Supply for Pi Stepper Motors (linked below) 3D printer and filament Wire Ability to Solder Glue Mechanical key switch from a keyboard This design uses 4 […]

Read more