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
Release files for pylib-checksum 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_checksum-0.1.0.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylib_checksum-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.0 kB
Release files / pylib_checksum-0.1.0.tar.gz
| Download URL | pylib_checksum-0.1.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb8a994240ce31eeebc8f768f0e8afa09a9947b5eaeb4ecb9face21b3b87a7b0
|
|
BLAKE2b-256 checksum How to use checksums |
d87584f94c83188739e08890b6f82cd42a31bef980495d7861998f55b221d36a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / pylib_checksum-0.1.0-py3-none-any.whl
| Download URL | pylib_checksum-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d64ddece3bf88a3cd3e7e08f0fda8ff7f5cb83e7e6053a8fd6ebabbcb7173f2a
|
|
BLAKE2b-256 checksum How to use checksums |
0b82ea95240154b3812b761a50d8616f5cf9909d6f53544b0e5c2de8a0d312be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|