# Python hash tools.
## Installation
You can install from [pypi](https://pypi.org/project/python-hashtools/)
```console
pip install -U python-hashtools
```
## Usage
### Module
```python
import hashtools
```
### Command
```console
$ hashtools -h
usage: hashtools [-h] [-hs [hash ...]] [-s START] [-t STOP] [-v] [path ...]
calculate file hashes
positional arguments:
path file path(s) to be downloaded, if omitted, read from stdin (one path per line)
options:
-h, --help show this help message and exit
-hs [hash ...], --hashs [hash ...]
hash algorithms, default to 'md5'
-s START, --start START
start from file offset, default to 0 (start of file)
-t STOP, --stop STOP stop until file offset, default to None (end of file)
-v, --version print the current version
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-hashtools",
"name": "python-hashtools",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.12",
"maintainer_email": null,
"keywords": "file, hash, hashtools",
"author": "ChenyangGao",
"author_email": "wosiwujm@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/3d/62/0cc3e782add306b41fea0ab70e5d1510f83989d046c5d38224fae99e851a/python_hashtools-0.0.5.tar.gz",
"platform": null,
"description": "# Python hash tools.\n\n## Installation\n\nYou can install from [pypi](https://pypi.org/project/python-hashtools/)\n\n```console\npip install -U python-hashtools\n```\n\n## Usage\n\n### Module\n\n```python\nimport hashtools\n```\n\n### Command\n\n```console\n$ hashtools -h\nusage: hashtools [-h] [-hs [hash ...]] [-s START] [-t STOP] [-v] [path ...]\n\ncalculate file hashes\n\npositional arguments:\n path file path(s) to be downloaded, if omitted, read from stdin (one path per line)\n\noptions:\n -h, --help show this help message and exit\n -hs [hash ...], --hashs [hash ...]\n hash algorithms, default to 'md5'\n -s START, --start START\n start from file offset, default to 0 (start of file)\n -t STOP, --stop STOP stop until file offset, default to None (end of file)\n -v, --version print the current version\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python hash tools.",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-hashtools",
"Repository": "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-hashtools"
},
"split_keywords": [
"file",
" hash",
" hashtools"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "38a916b553e4d7ea0fb870d278dd99c07f881f640f831dd89ffeadb0e441395e",
"md5": "78f6ded9d2112cfa365d0a75ae223707",
"sha256": "df70e652a7f1951a2bf702f74bd924b8cd0c0c6a544adfdc962b3ae306f25e27"
},
"downloads": -1,
"filename": "python_hashtools-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "78f6ded9d2112cfa365d0a75ae223707",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.12",
"size": 7589,
"upload_time": "2025-08-03T08:42:44",
"upload_time_iso_8601": "2025-08-03T08:42:44.781018Z",
"url": "https://files.pythonhosted.org/packages/38/a9/16b553e4d7ea0fb870d278dd99c07f881f640f831dd89ffeadb0e441395e/python_hashtools-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3d620cc3e782add306b41fea0ab70e5d1510f83989d046c5d38224fae99e851a",
"md5": "58aacebe3d2ee2fab6704ad1b18463c5",
"sha256": "f996bcc13c0320ecfdb0c348cbdf9990bec70457ab2bb07bd2f290af412a8d1e"
},
"downloads": -1,
"filename": "python_hashtools-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "58aacebe3d2ee2fab6704ad1b18463c5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.12",
"size": 5734,
"upload_time": "2025-08-03T08:42:46",
"upload_time_iso_8601": "2025-08-03T08:42:46.123975Z",
"url": "https://files.pythonhosted.org/packages/3d/62/0cc3e782add306b41fea0ab70e5d1510f83989d046c5d38224fae99e851a/python_hashtools-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-03 08:42:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ChenyangGao",
"github_project": "web-mount-packs",
"github_not_found": true,
"lcname": "python-hashtools"
}