Skip to main content

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)

Source distribution for pylib-compress 0.1.0
File Size Uploaded
pylib_compress-0.1.0.tar.gz 2.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pylib-compress 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page