Skip to main content

Python logger that accepts ** values and prints 'em out.

Project description

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

  1. Update the version in pyproject.toml.

  2. Commit, tag vX.Y.Z, push.

  3. Log in to PyPI and go to

    https://pypi.org/manage/account/

    to generate an API token.

  4. Throw poetry at it:

    poetry publish --build --username __token__ --password <token>
    
  5. Bump patch by 1 and append a0, commit and push (now we're on the "alpha" of the next patch version).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

splatlog-0.3.4.tar.gz (39.6 kB view hashes)

Uploaded Source

Built Distribution

splatlog-0.3.4-py3-none-any.whl (52.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page