Skip to main content

Zero-dependency JSON logging library with sensible defaults for Python applications

Project description

mypylogger v0.2.2

Quality Gate Security Code Style: Ruff Type Checked: mypy Python Versions PyPI Version Downloads: Development License: MIT

A Python logging library designed to provide enhanced logging capabilities with zero dependencies and sensible defaults.

Vision

Create a zero-dependency JSON logging library with sensible defaults for Python applications. mypylogger v0.2.2 does ONE thing exceptionally well: structured JSON logs that work everywhere—from local development to AWS Lambda to Kubernetes.

Installation

pip install mypylogger

Quick Start

from mypylogger import get_logger

logger = get_logger(__name__)
logger.info("Application started")

Features

  • Zero Dependencies (pure Python standard library)
  • Clean, Predictable JSON Output
  • Developer-Friendly Defaults
  • Standard Python Patterns

Documentation

📚 Complete documentation available in docs/

  • Features - Complete feature reference with code examples
  • Security - Security posture and vulnerability management
  • Performance - Performance characteristics and best practices

For comprehensive API documentation, see the Sphinx docs.

Development

This project uses UV for dependency management:

# Install dependencies
uv sync

# Run tests
uv run pytest

# Format code
uv run ruff format .

# Check linting
uv run ruff check .

License

MIT License

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

mypylogger-0.2.3.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

mypylogger-0.2.3-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file mypylogger-0.2.3.tar.gz.

File metadata

  • Download URL: mypylogger-0.2.3.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mypylogger-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e52b99f0e2aa233d82a4b7e9db8eb44452e08e380fd9b7bf3e714abfe1ac584d
MD5 8d673533ad619d04a3b33d65f6ed3665
BLAKE2b-256 c6a3f1445689b6ac0ef1742f425cc273e702a46cf512f65c0e2ddb8bec0be838

See more details on using hashes here.

Provenance

The following attestation bundles were made for mypylogger-0.2.3.tar.gz:

Publisher: pypi-publish.yml on stabbotco1/mypylogger

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

File details

Details for the file mypylogger-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: mypylogger-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mypylogger-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b18ecefa46dff3e80508cbf682acea75065fd610657fe9abb660c45c325fb6fe
MD5 fada6c427a11e09a036deb7392248937
BLAKE2b-256 ab91e1f983587db3817847f250d2a3515d6a87ce30c9f0350dfda1c31fd3350a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mypylogger-0.2.3-py3-none-any.whl:

Publisher: pypi-publish.yml on stabbotco1/mypylogger

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

Supported by

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