Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
- There are at least 3 packages (
packaing
,python-semver
and) in Python which can help you work with semantic versions.
Use JupyterLab Notebooks in Pelican
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://github.com/getpelican/pelican-plugins/issues/866
https://github.com/getpelican/pelican-plugins/issues/651
Plugins
https://github.com/danielfrg/pelican-ipynb
https://github.com/peijunz/ipynb2pelican#installation-and-configuration
References
https://github.com …
Distributed Programming in Python
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://github.com/rq/rq
https://python-rq.org/
Measure Python Code Coverage
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Measure Python Code Coverage using coverage.py
pip3 install coverage
poetry run coverage run -m pytest
poetry run coverage report -m
poetry run coverage html
PyTest
$ pip install pytest-cov $ py.test …
Tips on the Shell command ps
Show full comand of processes.
Hands on the Python Library notifiers
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The function below is an example of sending email using the Python library notifiers.
import notifiers
notifiers.get_notifier("email").notify(
from_="sender@domain.com",
to=["recipient1@domain.com", "recipient2@domain …