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.
๐ 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.