83 private links
Third edition of the famous data analysis learning book for pandas (and numpy) by the pandas author.
Tool for converting markdown files into anki decks - GitHub - lukesmurray/markdown-anki-decks: Tool for converting markdown files into anki decks
Processing finally ported to python - a perfect fit.
How to specify versions in pyproject.toml
In-depth explanation and introduction of the requests standard library.
And another, more template-y version of 'modern' python development tooling.
Possibly the best overall introduction and reference I have seen for modern python tooling.
Goes a little into the details but expects you to generally look for additional information on your own if you're stuck.
Amazing, in-depth, concise.
easiest answer is with pandas as a library:
df = pd.read_json('inputfile.json')
df.to_csv('outputfile.csv', encoding='utf-8', index = False)
read_json converts a JSON string to a pandas object (either a series or dataframe).
to_csv can either return a string or write directly to a csv-file. See the docs for to_csv.
works best when json is an array of structured objects (unstructured data, see SO answer in link)
additional pandas to csv tips see this SO thread
Using python to write to a sqlite database, storing json data.
Pre-made models trained for natural language processing -- can summarize, generate, identify, answer questions, etc.
A whole library of interfaces to extract quantified self data through (more or less) simple python scripts.
powers ad is explained by many of the thoughts in beepboop
python testing resources:
- getting started with python testing: https://realpython.com/python-testing/#testing-your-code
- testing cli apps: https://stackoverflow.com/questions/13493288/python-cli-program-unit-testing
- techniques for cli testing: https://realpython.com/python-cli-testing/#unit-testing-with-pytest-and-mocks
- writing doctests: https://www.digitalocean.com/community/tutorials/how-to-write-doctests-in-python
- doctest documentation: https://docs.python.org/3/library/doctest.html
Another, more gentle and longer, introduction to the idea of python generators (yield
)
Combine python, scipy and pygame to turn wallpapers into low poly art images and animations.
Tag your time, get the insight. traggo alternative, pretty similar but not based on key:value pairs #tags instead.
More mature interface and reporting functionality, less extensive dashboarding possibilities.
Creating super simple GUI image viewing (with editing and layering possibilities) with just a few lines of python.
Uses qt as its display library (the only one right now afaik?)
Commandline client for python-bibtex and doi requests.
Could be useful either as-is or for inspiration for an own reference management software.
Python library to manipulate PDF page labels.
Meaning: you can change the labelling of page sections (preface getting roman numerals and different numbering scheme than main section, etc)
Should be really useful for later on programatically going to the correct pages and extracting the correct page citations from annotations etc
Written in python and intended for web scraping.
What's really nice is that is supports a lot of languages (english, french, spanish, russian, german, etc) without any need for switching in code.
Simple introduction to a bunch of argparse options, letting you create nice python cli applications pretty quickly (and more importantly rather painlessly, once you get used to it)