Skip to main content

Add your description here

Project description

Grapes

Grapes is a comprehensive Python utility library offering robust tools for environment configuration, human-readable formatting, logging, progress tracking, serialization, and timing. Built with extensibility and performance in mind, it integrates seamlessly with popular libraries like Pydantic, Loguru, and Rich, providing developers with a powerful toolkit for building efficient and maintainable applications.
Explore the docs »

PyPI - Downloads PyPI - Python Version PyPI - Version Codecov GitHub Actions Workflow Status
GitHub Contributors GitHub Forks GitHub Repo Stars GitHub Issues GitHub License

Changelog · Report Bug · Request Feature

✨ Features

  • 🍇 Comprehensive Utility Library: A rich collection of utility functions and classes to enhance your Python projects, covering a wide range of common tasks.
  • High-Performance Timing: Advanced timing utilities for precise performance measurement, including support for multiple time counters and human-readable duration formatting.
  • 📊 Progress Tracking: Elegant progress bar and tracking functionality with customizable columns, making it easy to monitor the progress of long-running tasks.
  • 🗂️ Serialization and Deserialization: Flexible and efficient data serialization and deserialization for JSON, TOML, YAML, and Pydantic models, ensuring seamless data handling.
  • 📝 Human-Readable Formats: Functions to convert numerical values into human-readable formats, such as durations, counts, and throughput, enhancing the readability of your application's output.
  • 🛠️ Environment Configuration: Simplified environment configuration management, allowing you to easily read and manage environment variables with a prefix.
  • 🎨 Rich Logging Integration: Enhanced logging with Rich, Loguru, and IceCream, providing colorful, detailed, and user-friendly log outputs.
  • 🧪 Optional Imports: Graceful handling of optional dependencies, ensuring that your application can run smoothly even if some dependencies are missing.
  • 📄 Text Processing: Utilities for text processing, including comment stripping, to help clean up and process text data efficiently.
  • 🤝 Extensive Documentation: Detailed and well-structured documentation, making it easy to understand and use the library's features.

📦 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
$ just test

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

🔗 Links

More Projects

  • 🍇 grapes - Powerful Python utilities for logging, timing, and more, making development smoother!

Credits


📝 License

Copyright © 2025 liblaf.
This project is MIT licensed.

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

liblaf_grapes-2.0.0.tar.gz (32.2 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-2.0.0-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for liblaf_grapes-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9d15c63d0677fba35d390a5b3da15af21fc0b08a5cc7e49f05508c066c04478b
MD5 9fc2e008a8f923972c177843178e031f
BLAKE2b-256 a2d756685460da0754b1347c9b876b164f450b0af2c6978e6014e0c7897ea37d

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_grapes-2.0.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-2.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for liblaf_grapes-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 144b36f51ebcc68d67f464667992b244907fd88b704dc42b7e9b05a58005ceff
MD5 b1b2cc35b93702f0152e91bf14aba1c2
BLAKE2b-256 a42d4796e7c8098051ee59a5e0b855dbec6320f774e579620aef13de0bcefa16

See more details on using hashes here.

Provenance

The following attestation bundles were made for liblaf_grapes-2.0.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