fourteen things tagged “python”
Some Glorious Terminal Text Effects
Written in Python. Not sure where I’d use them. Reminded me of Charm.
An Ingredient Parser using TensorFlow
Really cool stuff. Trained on the New York Times ingredients corpus (large 13.5MB CSV) and turns this ingredients = [ "3 large melons", "5 1/2 cups water", "2 cups flour", ] into this [ { "name": "melons", "unit": None, "qty": 3.0 }, { "name": "water", "unit": "cup…
“Got Your Back” will back up your Gmail inbox to your computer.
I’ve been nearing capacity for a while and this is a Godsend.…
Don’t Use Hadoop - Your Data Isn’t That Big
A still-very-relevant 9-year old article. Pandas has gone from strength to strength since he wrote that. In terms of expressing your computations, Hadoop is strictly inferior to SQL. There is no computation you can write in Hadoop which you cannot write more easily in either SQL, or with a simple…
“Vertical Hanging Indent” is the One True Indentation Style
With the trailing comma and sorted properties/imports/arguments/whatever. Makes symbols easy to scan from top-to-bottom and looks like this in Python: from constants import ( EXIT_CODE_ARTICLE_ROOT_NOT_FOUND, EXIT_CODE_NOT_A_GIT_REPOSITORY, EXIT_CODE_NOT_AN_ABSOLUTE_PATH, MARKDOWN_E…
A List of Ebert’s Favorite Films you can stream off Amazon Prime.
Here’s how the author made that list. Here’s a cached version.…
A Lisp Interpreter in Python
Peter Norvig: (How to Write a (Lisp) Interpreter (in Python)). See also: HyLang. Looks super cool and always makes me wonder if anyone’s ever used it in production.…
Clay and Lego
The original comic…
Python Environment Management
XKCD. Add to the mix virtualenvwrapper pyenv pipenv pythonbrew Conda Then there’s Python’s packaging and distribution kerfuffle……