Compress/decompress files (zip, gzip, tar). File compression utilities.
Project description
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
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
pylib_compress-0.1.0.tar.gz
(2.1 kB
view details)
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 pylib_compress-0.1.0.tar.gz.
File metadata
- Download URL: pylib_compress-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac563a35d0a440c35c5fedacbf3633c55dbec2bc8e219205a406f636a7e7118a
|
|
| MD5 |
b7402d01203f4626beed70498ef623a3
|
|
| BLAKE2b-256 |
910bffe264e1b6a156681a5d7d1f9ad1979d8c73f2708a75429ad92ac01fcac4
|
File details
Details for the file pylib_compress-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pylib_compress-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aa139faa68e89a1e0d211aad8ce7dfce7287f71df7d1bf1dc6ceb7e19ca81de
|
|
| MD5 |
4c92318124be77bb03359c39505e19bc
|
|
| BLAKE2b-256 |
eb1a2a7d164442c163ebe88513373bc51a8ea197ef4bdfca2debbdc24a21ee3f
|