A tool to rename files with human-readable hashes
Project description
friendly_hash
A tool to rename files with human-readable hashes.
Installation
pip3 install friendly_hash
Usage
To show the resulting filename:
friendly_hash 2024-07-05-09-15-18.bag
# peaceful-week-2024-07-05-09-15-18.bag
To actually rename the file:
friendly_hash -f 2024-07-05-09-15-18.bag
# peaceful-week-2024-07-05-09-15-18.bag
For Developer
-
Install the package:
pip3 install -r requirements.txt pip3 install .
-
Run the script to show the resulting filename:
friendly_hash 2024-07-05-09-15-18.bag
-
Run the script to rename the file:
friendly_hash -f 2024-07-05-09-15-18.bag
-
Run tests:
python -m unittest discover
-
Build Package:
pip3 install setuptools wheel python setup.py sdist bdist_wheel pip3 install twine twine upload dist/*
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
friendly_hash-0.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file friendly_hash-0.1.0.tar.gz
.
File metadata
- Download URL: friendly_hash-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebf14d95195ae80496e61ac170d01ce7a81bcc191ec0a668ff42d7eb56269be1 |
|
MD5 | 62322ce834c2112358c7a9c4f99deef1 |
|
BLAKE2b-256 | a7a332b252a29c3e94e4e38d3760fee2b607064c4f7432f710f3fd4f14c2cd0b |
File details
Details for the file friendly_hash-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: friendly_hash-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b381cea17ed318a15f229b67a50983d0381ba99b5137ca815002c8f42f89d130 |
|
MD5 | e2148b5d55491829fbd65b90fef67af7 |
|
BLAKE2b-256 | ad0361a8e0c8990bf476f3fc294c03f4461e78f6cfe61656b2503b427ae7a02c |