- π¨ 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.
To install liblaf-grapes, run the following command:
uv add liblaf-grapesYou can use Github Codespaces for online development:
Or clone it for local development:
gh repo clone liblaf/grapes
cd grapes
mise run installContributions 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.
- π 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.

