Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylib_compress-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

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

Hashes for pylib_compress-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac563a35d0a440c35c5fedacbf3633c55dbec2bc8e219205a406f636a7e7118a
MD5 b7402d01203f4626beed70498ef623a3
BLAKE2b-256 910bffe264e1b6a156681a5d7d1f9ad1979d8c73f2708a75429ad92ac01fcac4

See more details on using hashes here.

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

Hashes for pylib_compress-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5aa139faa68e89a1e0d211aad8ce7dfce7287f71df7d1bf1dc6ceb7e19ca81de
MD5 4c92318124be77bb03359c39505e19bc
BLAKE2b-256 eb1a2a7d164442c163ebe88513373bc51a8ea197ef4bdfca2debbdc24a21ee3f

See more details on using hashes here.

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