splatlog
Python logger that accepts ** values and prints 'em out.
Because I'll forget, and because I know I'll look here when I do...
Development
./dev/bin/setup
Building Docs
poetry run novella -d ./docs
Serving them:
poetry run novella -d ./docs --serve
Running Tests
All of them:
poetry run dr.t ./splatlog/**/*.py ./docs/content/**/*.md
Single file, fail-fast, printing header panel (so you can find where they start and end easily during repeated runs):
poetry run dr.t -fp <filename>
Publishing
-
Update the version in
pyproject.toml
. -
Commit, tag
vX.Y.Z
, push. -
Log in to PyPI and go to
https://pypi.org/manage/account/
to generate an API token.
-
Throw
poetry
at it:poetry publish --build --username __token__ --password <token>
-
Bump patch by 1 and append
a0
, commit and push (now we're on the "alpha" of the next patch version).