pycompress
Compress/decompress files
Installation
pip install pycompress
💡 Usage Examples
Basic Operations
from pylib_compress import compress, decompress
# Compress data
compressed = compress("original data")
# Compressed bytes
# Decompress data
decompressed = decompress(compressed)
# 'original data'
AI/ML Use Cases
from pylib_compress import compress, decompress
# Compress model weights for storage
compressed_weights = compress(model_weights)
# Compress training data
compressed_data = compress(json.dumps(training_data))
📚 API Reference
See package documentation for complete API reference.
🤖 AI Agent Friendly
This package is optimized for AI agents and code generation tools:
- Clear function names and signatures
- Comprehensive docstrings with examples
- Type hints for better IDE support
- Common use cases documented
- Zero dependencies for reliability
License
MIT
Release files for pylib-compress 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylib_compress-0.1.0.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylib_compress-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.0 kB
Release files / pylib_compress-0.1.0.tar.gz
| Download URL | pylib_compress-0.1.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac563a35d0a440c35c5fedacbf3633c55dbec2bc8e219205a406f636a7e7118a
|
|
BLAKE2b-256 checksum How to use checksums |
910bffe264e1b6a156681a5d7d1f9ad1979d8c73f2708a75429ad92ac01fcac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / pylib_compress-0.1.0-py3-none-any.whl
| Download URL | pylib_compress-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5aa139faa68e89a1e0d211aad8ce7dfce7287f71df7d1bf1dc6ceb7e19ca81de
|
|
BLAKE2b-256 checksum How to use checksums |
eb1a2a7d164442c163ebe88513373bc51a8ea197ef4bdfca2debbdc24a21ee3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|