🍇 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.
🔗 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file liblaf_grapes-9.3.4.tar.gz.
File metadata
- Download URL: liblaf_grapes-9.3.4.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd12269ee1b17877460166d4bd31a50dea83d0b24dc87523de1ddb00b5cb2982
|
|
| MD5 |
1a7bd8cc7c833559e0b69088db5b2df2
|
|
| BLAKE2b-256 |
63d5db8d6de96b176cf17e99f2d9199d4ca3d9d265fde5fbab1bf61906fec6f9
|
Provenance
The following attestation bundles were made for liblaf_grapes-9.3.4.tar.gz:
Publisher:
release.yaml on liblaf/grapes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
liblaf_grapes-9.3.4.tar.gz -
Subject digest:
cd12269ee1b17877460166d4bd31a50dea83d0b24dc87523de1ddb00b5cb2982 - Sigstore transparency entry: 1154789886
- Sigstore integration time:
-
Permalink:
liblaf/grapes@a5b823b00e2e650a4e8b28789fac56b2ba32bf92 -
Branch / Tag:
refs/tags/v9.3.4 - Owner: https://github.com/liblaf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@a5b823b00e2e650a4e8b28789fac56b2ba32bf92 -
Trigger Event:
release
-
Statement type:
File details
Details for the file liblaf_grapes-9.3.4-py3-none-any.whl.
File metadata
- Download URL: liblaf_grapes-9.3.4-py3-none-any.whl
- Upload date:
- Size: 95.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85cb189b0077da0e4d60f68e905028d73567099e1562ced3f84adf2406ff0462
|
|
| MD5 |
cf8c098a63856406887d0fcb38973520
|
|
| BLAKE2b-256 |
7f68e3bdefd0c57b74dd274e3dfab6c5d50bbf48465603fe02ff5c95eb3fcb81
|
Provenance
The following attestation bundles were made for liblaf_grapes-9.3.4-py3-none-any.whl:
Publisher:
release.yaml on liblaf/grapes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
liblaf_grapes-9.3.4-py3-none-any.whl -
Subject digest:
85cb189b0077da0e4d60f68e905028d73567099e1562ced3f84adf2406ff0462 - Sigstore transparency entry: 1154789895
- Sigstore integration time:
-
Permalink:
liblaf/grapes@a5b823b00e2e650a4e8b28789fac56b2ba32bf92 -
Branch / Tag:
refs/tags/v9.3.4 - Owner: https://github.com/liblaf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@a5b823b00e2e650a4e8b28789fac56b2ba32bf92 -
Trigger Event:
release
-
Statement type: