- lab/
python
·1 min
Table of Contents
created: 27/01/2019
updated: 09/03/2019
python things #
General #
- https://kite.com/python
- https://security.openstack.org/#secure-development-guidelines
- https://www.oreilly.com/learning/20-python-libraries-you-arent-using-but-should (found
colorlog
here)
Specific #
async #
- https://stackoverflow.com/questions/37278647/fire-and-forget-python-async-await
- https://medium.com/python-pandemonium/asyncio-coroutine-patterns-beyond-await-a6121486656f
- https://medium.freecodecamp.org/a-guide-to-asynchronous-programming-in-python-with-asyncio-232e2afa44f6
- https://www.aeracode.org/2018/02/19/python-async-simplified/
- https://pawelmhm.github.io/asyncio/python/aiohttp/2016/04/22/asyncio-aiohttp.html
cheatsheets #
cli #
- CmdModule https://wiki.python.org/moin/CmdModule
begins
https://www.oreilly.com/learning/20-python-libraries-you-arent-using-but-should
database #
- sqlalchemy https://docs.sqlalchemy.org/en/latest/
- alembic: https://alembic.sqlalchemy.org/en/latest/tutorial.html
eval #
formatting strings #
environment (pyenv) #
- https://medium.com/@henriquebastos/the-definitive-guide-to-setup-my-python-workspace-628d68552e14
- https://realpython.com/intro-to-pyenv/
jupyter #
- https://medium.den.ai/jupyter-notebook-tutorial-9c0ffa5ae9a1?gi=36c99a41ebe3#.dgecyg5t9
- https://medium.com/towards-data-science/jupyter-notebook-hints-1f26b08429ad
- https://lmcinnes.github.io/subreddit_mapping/
misc #
- https://github.com/CITGuru/fight_unicode/blob/master/fight_unicode.py
- https://www.davidfischer.name/2013/06/getting-started-with-pygit2/
NLP #
- https://www.oreilly.com/learning/how-do-i-compare-document-similarity-using-python
- https://www.kdnuggets.com/2018/03/text-data-preprocessing-walkthrough-python.html
numpy (and scipy, pandas, matplotlib) #
processes #
- https://codecalamity.com/run-subprocess-run/
- https://stackabuse.com/pythons-os-and-subprocess-popen-commands/
slackbots #
- https://github.com/slackapi/python-rtmbot
- https://github.com/slackapi/python-slackclient
- https://www.fullstackpython.com/blog/build-first-slack-bot-python.html
testing #
Testing Your Code with Python’s pytest
Testing Your Code with Python’s pytest, Part II
Python Testing with pytest: Fixtures and Coverage
https://docs.pytest.org/en/latest