Skip to main content

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

  1. Install the package:

    pip3 install -r requirements.txt
    pip3 install .
    
  2. Run the script to show the resulting filename:

    friendly_hash 2024-07-05-09-15-18.bag
    
  3. Run the script to rename the file:

    friendly_hash -f 2024-07-05-09-15-18.bag
    
  4. Run tests:

    python -m unittest discover
    
  5. Build Package:

    pip3 install setuptools wheel
    python setup.py sdist bdist_wheel
    pip3 install twine
    twine upload dist/*
    

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

friendly_hash-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

friendly_hash-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for friendly_hash-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebf14d95195ae80496e61ac170d01ce7a81bcc191ec0a668ff42d7eb56269be1
MD5 62322ce834c2112358c7a9c4f99deef1
BLAKE2b-256 a7a332b252a29c3e94e4e38d3760fee2b607064c4f7432f710f3fd4f14c2cd0b

See more details on using hashes here.

File details

Details for the file friendly_hash-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for friendly_hash-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b381cea17ed318a15f229b67a50983d0381ba99b5137ca815002c8f42f89d130
MD5 e2148b5d55491829fbd65b90fef67af7
BLAKE2b-256 ad0361a8e0c8990bf476f3fc294c03f4461e78f6cfe61656b2503b427ae7a02c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page