Compute MD5/SHA file hashes and integrity checks. Security utilities.
Project description
pychecksum
File hashes
Installation
pip install pychecksum
💡 Usage Examples
Basic Operations
from pylib_checksum import md5_hash, sha256_hash
# Calculate MD5 hash
hash_value = md5_hash("data")
# MD5 hash string
# Calculate SHA256 hash
hash_value = sha256_hash("data")
# SHA256 hash string
AI/ML Use Cases
from pylib_checksum import md5_hash, sha256_hash
# Hash training data for caching
data_hash = sha256_hash(str(training_data))
# Use hash as cache key
# Verify model file integrity
file_hash = sha256_hash(file_content)
📚 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_checksum-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_checksum-0.1.0.tar.gz.
File metadata
- Download URL: pylib_checksum-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 |
fb8a994240ce31eeebc8f768f0e8afa09a9947b5eaeb4ecb9face21b3b87a7b0
|
|
| MD5 |
d1dd81cddacf546c384e350e15ba95c1
|
|
| BLAKE2b-256 |
d87584f94c83188739e08890b6f82cd42a31bef980495d7861998f55b221d36a
|
File details
Details for the file pylib_checksum-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pylib_checksum-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 |
d64ddece3bf88a3cd3e7e08f0fda8ff7f5cb83e7e6053a8fd6ebabbcb7173f2a
|
|
| MD5 |
b29790c81d481a0fabeb028cdecbfab9
|
|
| BLAKE2b-256 |
0b82ea95240154b3812b761a50d8616f5cf9909d6f53544b0e5c2de8a0d312be
|