Skip to main content

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

Project description

mypylogger v0.2.0

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.0 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.1.tar.gz (1.4 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.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mypylogger-0.2.1.tar.gz
  • Upload date:
  • Size: 1.4 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.1.tar.gz
Algorithm Hash digest
SHA256 3730cc559ab65b0349e9788d8037b2670bc453f74db45ef695b927402dbbcece
MD5 a05b3e53f727ace02e055a26d4240f2f
BLAKE2b-256 2abd8d01c8d761f4d5f46b08330153d198a1f53ede4dd5885df57e97c7072103

See more details on using hashes here.

Provenance

The following attestation bundles were made for mypylogger-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: mypylogger-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ca2761765333745d820a65aeb3514f42b6ad7804aa26aaad0a585abaa907036
MD5 f7ec6e70a4f08c87627cd2d14e341e5e
BLAKE2b-256 5209fb64b63e823109e6663b07b0b6c20f4216c58bac6b51849e07c2c72f2f05

See more details on using hashes here.

Provenance

The following attestation bundles were made for mypylogger-0.2.1-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