Skip to content

Home

โœจ 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.