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

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

test

test

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.0.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.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mypylogger-0.2.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mypylogger-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a31c4ddee7f424dbd9be1b59cf7c2afae756a54e1473f6311eb435bfccaa738d
MD5 fee1d4a0a1e8c3c0e3da6b3a13dfa355
BLAKE2b-256 0340ed6f7b88f6186289522de6cbcb9805580159978967c7a7635f0b3128306c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mypylogger-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mypylogger-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 076d6daa7e76c77101e5bbfc93cfe7f58064e076f5eb97a5f4ca9c0720b2bd41
MD5 f6005219993aefbfe0e35c248c745d27
BLAKE2b-256 e4cc00ea184b139c0f4b203b43d30bab566f4327d6928bc96511cbfa2ef5cd93

See more details on using hashes here.

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