Skip to main content

🍇 Supercharge your Python with rich logging, precise timing, and seamless serialization.

Project description

✨ Features

  • 🎨 Rich Logging: Beautiful, structured logging with loguru integration, multiple output formats (rich console, JSONL, file), and customizable profiles for different environments;
  • ⏱️ Precise Timing: Easy-to-use timing decorators and context managers with detailed statistics (mean, median, stdev) and automatic logging integration;
  • 📦 Multi-Format Serialization: Unified interface for JSON, TOML, and YAML serialization with Pydantic model support and customizable encoding/decoding hooks;
  • 👥 Human-Readable Formats: Intelligent conversion of numbers, durations, and throughput into human-readable strings with appropriate units and precision;
  • 🔄 Progress Tracking: Integrated progress bars with rich visualization, timing integration, and parallel processing support through joblib;
  • ⚙️ Smart Configuration: Environment-aware configuration system using Pydantic with automatic environment variable parsing and type-safe settings.

📦 Installation

To install liblaf-grapes, run the following command:

uv add liblaf-grapes

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

gh repo clone liblaf/grapes
cd grapes
mise run install

🤝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you're made of.

PR Welcome

Contributors

🔗 More Projects

  • 🍇 Grapes - Supercharge your Python with rich logging, precise timing, and seamless serialization.
  • 🍉 Melon - A comprehensive Python library for 3D mesh processing with advanced I/O capabilities, proximity analysis, and integration with external mesh processing tools.
  • 🍊 Tangerine - Squeeze dynamic content into your files with Tangerine's template magic.
  • 🍋‍🟩 Lime - AI-powered Git commit assistant and repository documentation generator
  • 🍎 Apple - A JAX and Warp library for differentiable physics simulation, featuring elastic energy models and finite element methods.
  • 🍒 Cherries - Sweet experiment tracking with Comet, DVC, and Git integration.

📝 License

Copyright © 2025 liblaf.
This project is MIT licensed.

Release history Release notifications | RSS feed

This version

9.1.0

Download files

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

Source Distribution

liblaf_grapes-9.1.0.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

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

liblaf_grapes-9.1.0-py3-none-any.whl (90.9 kB view details)

Uploaded Python 3

File details

Details for the file liblaf_grapes-9.1.0.tar.gz.

File metadata

  • Download URL: liblaf_grapes-9.1.0.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for liblaf_grapes-9.1.0.tar.gz
Algorithm Hash digest
SHA256 c235d24174ddc7e905544c44cc34aad8975d0fe4b9d006e2e42c3894543b0600
MD5 ccf82750a8ce28f8d8d370c090faa4c3
BLAKE2b-256 3aed9185f2c4a7ec3f91d44e601af0f867e239361b87c2f8a8fef6d1c2f93e34

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_grapes-9.1.0.tar.gz:

Publisher: release.yaml on liblaf/grapes

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

File details

Details for the file liblaf_grapes-9.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for liblaf_grapes-9.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5933962053f89896d16154f1c3d3b9bd726020b9880ca2f2a6f9c30d67dcb1a
MD5 724e047792bc1c4b3c4df4bd1028b632
BLAKE2b-256 a8824ea4133783b76ee4961196647e375aab44f84719f6b94aa91e26e00039c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_grapes-9.1.0-py3-none-any.whl:

Publisher: release.yaml on liblaf/grapes

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