py_blk_hash_db
Project Overview
py_blk_hash_db is a Python library for file chunking, hash computation, and database management. It allows users to split large files into fixed-size chunks and compute SHA-256 hash values for each chunk. These chunks and hash values are stored in a specified database directory for easier file management and recovery.
Features
- File Chunking: Split files into specified size chunks.
- Hash Computation: Calculate SHA-256 hash values for each file chunk.
- Data Storage: Store file chunks and hash values in a specified database directory.
- File Recovery: Recover specified files from the database.
Installation
pip install py-blk-hash-db
Usage
Load Files into the Database
python3 -m py_blk_bash_db -d database_path -i file_path
Retrieve Files from the Database
python3 -m py_blk_bash_db -d database_path -s selected_json_filename -o output_file_path
Delete Unused File Chunks
python3 -m py_blk_bash_db -d database_path -r
Contribution
Contributions are welcome! Please submit Pull Requests on GitHub to contribute code or report issues.
License
This project is licensed under the GPLv3 license. Please refer to the LICENSE file for details.
Metadata
Release files for py-blk-bash-db 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_blk_bash_db-0.0.1.tar.gz | 41.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_blk_bash_db-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.7 kB
Release files / py_blk_bash_db-0.0.1.tar.gz
| Download URL | py_blk_bash_db-0.0.1.tar.gz |
|---|---|
| Size | 41.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0de258f530981111325b1369f58a53d18a35dd2907f6520f69a4bd776e74babf
|
|
BLAKE2b-256 checksum How to use checksums |
f0a8b6b9b9e00d933394e92bd955add85d67af1cf12a5f022abbcd9c82a92040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / py_blk_bash_db-0.0.1-py3-none-any.whl
| Download URL | py_blk_bash_db-0.0.1-py3-none-any.whl |
|---|---|
| Size | 30.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cba9af38133a733c7df71b77d5dae757cc3c05f8050d52c2cbc024bc8525dfb
|
|
BLAKE2b-256 checksum How to use checksums |
2e7cdf5af0230e2197eb47f965b67fdd9ec1f15c7e2ffa32a093078ed42a1070
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|