Skip to main content

logquill

CI Publish PyPI GitHub tag Downloads

A structured, leveled logging framework for Python with pluggable transports and a plugin pipeline. Sibling to logquill on npm (logquill-js) — same log record shape, same level names, one mental model across a Python + Node stack.

Status: pre-release, under active development. The core Logger and level filtering are implemented; transports, plugins, and async dispatch are not yet — see CHANGELOG.md for what's landed so far.

Install

pip install logquill

Quickstart

from logquill import Level, Logger

logger = Logger("app", level=Level.INFO)

record = logger.info("user signed up", user_id=42, plan="pro")
print(record)
# {'timestamp': '2026-08-27T18:04:12.345Z', 'level': 'INFO', 'logger': 'app',
#  'message': 'user signed up', 'meta': {'user_id': 42, 'plan': 'pro'}}

logger.debug("below threshold, dropped")  # -> None, filtered by level
logger.set_level("debug")
logger.debug("now visible")  # -> a record dict

Every log call returns the record dict (or None if filtered by level) — {"timestamp": ISO8601, "level": str, "logger": str, "message": str, "meta": dict}, the same shape shared with logquill on npm. Use JSONFormatter to serialize a record to the canonical JSON line:

from logquill import JSONFormatter

print(JSONFormatter().format(record))
# '{"timestamp":"2026-08-27T18:04:12.345Z","level":"INFO","logger":"app","message":"user signed up","meta":{"user_id":42,"plan":"pro"}}'

Development

python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev,http,hooks]"
pre-commit install

ruff check .
mypy logquill
pytest

See CONTRIBUTING.md for the PR workflow, and the Code of Conduct for community standards.

Download files

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

Source Distribution

logquill-0.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logquill-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file logquill-0.1.1.tar.gz.

File metadata

  • Download URL: logquill-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for logquill-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4f86e3d14a80f0fc850173d9b093fdb74e8874884766cc4ca4759511e4fa3332
MD5 faba1f807dbb6c769e9916b7ce403faf
BLAKE2b-256 d528ffc2eb46576bd9e94d660c7371089014b3b7519f1797af109cc51ec81d75

See more details on using hashes here.

Provenance

The following attestation bundles were made for logquill-0.1.1.tar.gz:

Publisher: release.yml on nikhilvdev/logquill-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file logquill-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: logquill-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for logquill-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ba8d332c3778f7a3fdb772b1282d25d45418965ce12866292a0055795fc1875
MD5 377d7caf129bfd6bf7db9e99c6142934
BLAKE2b-256 bea9c26e31b0dfa2f377f46491bd9061019bb28f0959b8ce8f21da61cf4df144

See more details on using hashes here.

Provenance

The following attestation bundles were made for logquill-0.1.1-py3-none-any.whl:

Publisher: release.yml on nikhilvdev/logquill-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page