list-of-python-api-wrappers - List of Python API Wrappers and Libraries
I'd like to introduce you to an awesome git companion : pre-commit
hooks by Yelp.
Git hooks are scripts that git
executes before or after events such as: commit, push, and receive.
Git hooks are a built-in feature, but git
does not offer much support for them: if there is a …
Disclaimer I am the creator and main developer of Brython. I am aware that this makes me suspect of partiality ! The test conditions are explained in detail below so that anyone can easily reproduce them and compare with the results presented here ; if something is wrong please post a comment and I will…
My name is Stephan, and I'm a scientist on the Climatology team at The Climate Corporation. We make extensive use of Python to build statistical weather models, and sometimes we need our code to be fast. Here's how I choose between Numba and Cython, two of the best options for accelerating numeric Python code. Most…
I recently worked on a short website project using Django & Heroku. It was my very time using this Python framework, and I really liked it !
This is a compendium of tips & tricks that I, as a Django beginner, found quite useful :
Django enhanced shell
To install it :
pip install django …
Une grosse checklist de bonnes pratiques pour réussir votre projet Django.
Die shell script, DIE !
In this post, I'll show how easy it ease to convert fragile shell scripts to Python scripts, using sh.py. I'll use as an example a simple script to check your HTML code from the command-line, using the W3C validator.
Now you ask me, why the …
The mypy programming language tutorial. Focus on new features not present in Python.
Recent postings from Python-related blogs.
Disclaimer: this post was heaviliy inspired by the 2 following gists:
color_log.py
usingtermcolor
recipescolorlog.py
usingcolorama
I loved the simplicity of the first, not having to manipulate any of the logging internal API, but I prefer colorama
over termcolor
.
Without further ado, there is my solution …
Pytest
is a very complete test framework for Python. I like how you can write a basic unittest.TestCase
and the py.test
test runner command will inject all its magic at runtime, without you having to directly import
anything: awesome separation of concerns.
This modularity comes at a cost …
miguelgrinberg.com
supporting-python-3 - Supporting Python 3