python-api-checklist
python-api-checklist copied to clipboard
Useful checklist for building good Python library APIs, based on "How to make a good library API" PyCon 2017 talk.
Read: https://news.ycombinator.com/item?id=15752365
Better to talk about passing additional parameters with kwargs. See discussion: https://news.ycombinator.com/item?id=15830618
bs4 vs beautifulsoup4
https://www.python.org/dev/peps/pep-0008/#programming-recommendations
some ideas: * use [keyword-only arguments](https://www.python.org/dev/peps/pep-3102/) for any function argument with a non-obvious meaning, e.g. a function that fetches "items" (whatever those may be) from a url, but can optionally...