{ "info": { "author": "Marcin Sztolcman", "author_email": "marcin@urzenia.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Utilities" ], "description": "hashfile\n========\n\n``hashfile`` calculates hashes or checksums in many formats, also verify\nthem.\n\nDefault algorithm is ``sha1``. This can be changed by passing argument\n``-a``/``--algorithm`` to ``hashfile``, or by calling ``hashfile`` with\nalgorithm name (ie. using symlinks).\n\n``hashfile`` works pretty well with big files, because always read data\npartially, by default 4MB of data at once (it can be changed using\n``--max-input-read`` param).\n\nExamples\n--------\n\n::\n\n # simplest call\n % hashfile /etc/hosts\n sha1: 4f53fb6efebddfdbe989f3bff980cd07ebcdc6bb /etc/hosts\n\n # specify algorithm\n % hashfile -a md5 /etc/hosts\n md5: 71e875e9d194c18567f48cf9534ed6cf /etc/hosts\n\n # one file, many algorithms\n % hashfile -a md5 -a sha1 /etc/hosts /etc/hosts\n md5: 71e875e9d194c18567f48cf9534ed6cf /etc/hosts\n sha1: 4f53fb6efebddfdbe989f3bff980cd07ebcdc6bb /etc/hosts\n\n # many files, other algorithm for each one\n % hashfile -a md5 -a sha1 /etc/hosts /etc/shells\n md5: 71e875e9d194c18567f48cf9534ed6cf /etc/hosts\n sha1: e0de09cb8797a4d39f89049d74585e815a3c6ceb /etc/shells\n\n # many files, one algorithm\n % hashfile -a sha256 /etc/hosts /etc/shells\n sha256: 48127a192d62fdcaa39f7cebd1ea5f3fe660807c8cd3a92599406d16bddc341a /etc/hosts\n sha256: edfd1953cce18ab14449b657fcc01ece6a43a7075bab7b451f3186b885c20998 /etc/shells\n\n # choose algorithm using symlinks\n % ln -s `which hashfile` ~/bin/sha256\n % sha256 /etc/hosts\n sha256: 48127a192d62fdcaa39f7cebd1ea5f3fe660807c8cd3a92599406d16bddc341a /etc/hosts\n\n # create verify file, and then verify\n % hashfile -a sha256 README.* > check.sum\n % hashfile -c check.sum\n README.md: OK\n README.rst: OK\n\nCurrent stable version\n----------------------\n\n2.1.5\n\nPython version\n--------------\n\n``hashfile`` works with Python 2.7+ and 3.3+.\n\nUsage\n-----\n\nEverything is in help :) Just execute:\n\n::\n\n hashfile --help\n\nLook at result (remember: list of algorithms may vary on your system):\n\n::\n\n % hashfile --help\n usage: hashfile [-h]\n [--algorithm {adler32,crc32,md4,md5,mdc2,ripemd160,sha,sha1,sha224,sha256,sha384,sha512,whirlpool}]\n [--generate-algo-symlinks] [--check] [--quiet] [--status]\n [--warn] [--max-input-read MAX_INPUT_READ]\n [FILE [FILE ...]]\n\n Calculate hash of some files\n\n positional arguments:\n FILE list of files (stdin by default)\n\n optional arguments:\n -h, --help show this help message and exit\n --algorithm {adler32,crc32,md4,md5,mdc2,ripemd160,sha,sha1,sha224,sha256,sha384,sha512,whirlpool}, -a {adler32,crc32,md4,md5,mdc2,ripemd160,sha,sha1,sha224,sha256,sha384,sha512,whirlpool}\n algorithm used to calculate hash If given more then\n one, then use different algorithms for different files\n (use first algo to first file, second algo to second\n file etc. If there is more files then algorithms, last\n algorithm from list is used.\n --generate-algo-symlinks\n Show aliases for every algorithm handled by hashfile\n --check, -c read checksums from the FILEs and check them\n --quiet, -q don't print OK for each successfully verified file\n --status, -s don't output anything, status code shows success\n --warn, -w warn about improperly formatted checksum lines\n --max-input-read MAX_INPUT_READ\n maximum data size for read at once\n\n Algorithm can be also set from program name (for example call program as sha1\n to use sha1 algorithm)\n\nInstallation\n------------\n\n1. Using PIP\n\n``hashfile`` should work on any platform where\n`Python `__ is available, it means Linux, Windows,\nMacOS X etc.\n\nSimplest way is to use Python's built-in package system:\n\n::\n\n pip install hashfile\n\n2. Using `pipsi `__\n\n pipsi install hashfile\n\n3. Using sources\n\nDownload sources from\n`Github `__:\n\n::\n\n wget -O 2.1.5.zip https://github.com/msztolcman/hashfile/archive/2.1.5.zip\n\nor\n\n::\n\n curl -o 2.1.5.zip https://github.com/msztolcman/hashfile/archive/2.1.5.zip\n\nUnpack:\n\n::\n\n unzip 2.1.5.zip\n\nAnd install\n\n::\n\n cd hashfile-2.1.5\n python setup.py install\n\nVoila!\n\nAuthors\n-------\n\nMarcin Sztolcman marcin@urzenia.net\n\nContact\n-------\n\nIf you like or dislike this software, please do not hesitate to tell me\nabout this me via email (marcin@urzenia.net).\n\nIf you find bug or have an idea to enhance this tool, please use\nGitHub's `issues `__.\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2012 Marcin Sztolcman\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nChangeLog\n---------\n\nv2.1.5\n~~~~~~\n\n- fixed reading binary data from stdin\n\nv2.1.4\n~~~~~~\n\n- fixed working with binary files\n- hashfile is now a package\n- some package-related changes\n- few updates to Makefile\n\nv2.1.3\n~~~~~~\n\n- fixed working with aliases\n\nv2.1.2\n~~~~~~\n\n- another small improvements for PyPI\n- forgotten changelog\n\nv2.1.1\n~~~~~~\n\n- small improvements for setup.py and PyPI\n\nv2.1.0\n~~~~~~\n\n- added --version switch\n\nv2.0.0\n~~~~~~\n\n- added compatibility with tools like md5sum or sha1sum (verify mode,\n call arguments compatibility, etc)\n\nv1.0.0\n~~~~~~\n\n- First public version", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://msztolcman.github.io/hashfile/", "keywords": "security,hash,checksum,sha,sha1,md5,sha224,sha256,sha384,sha512,crc32,adler32,md4,mdc2,ripemd160,whirlpool", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "hashfile", "package_url": "https://pypi.org/project/hashfile/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hashfile/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://msztolcman.github.io/hashfile/" }, "release_url": "https://pypi.org/project/hashfile/2.1.5/", "requires_dist": null, "requires_python": null, "summary": "calculate hash or checksum", "version": "2.1.5" }, "last_serial": 2294094, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b1d20d3eb7d0883907fcd93c5d9ed360", "sha256": "274d6d95ef8d6c8baf92a87918560cc7b79352c03ba3251b325a68d04604797b" }, "downloads": -1, "filename": "hashfile-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b1d20d3eb7d0883907fcd93c5d9ed360", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6968, "upload_time": "2016-02-03T14:55:33", "url": "https://files.pythonhosted.org/packages/72/e5/3282d8be7b2b00040b81889e743f524aacd5317fedc0e241f24e55f36d59/hashfile-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c01f5a1dff0a9d5b4dd664956891467a", "sha256": "b3d9231810768d3845f48024c1312c9032f899276e172fe6237a91f1e5ba89b3" }, "downloads": -1, "filename": "hashfile-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c01f5a1dff0a9d5b4dd664956891467a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4351, "upload_time": "2016-02-03T14:55:40", "url": "https://files.pythonhosted.org/packages/44/72/21c5a13409d9784e8aa3264ba1f95c802465450fbadbafe84649a48a06f4/hashfile-1.0.0.tar.gz" } ], "2.1.0": [ { "comment_text": "", "digests": { "md5": "16e2a61df82318abb7f91d747703f720", "sha256": "174f3b1110bae5af1b3c0b9f90458e501a0d6f56ceb9fa8ed6b7163f60133535" }, "downloads": -1, "filename": "hashfile-2.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "16e2a61df82318abb7f91d747703f720", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7601, "upload_time": "2016-03-27T19:41:57", "url": "https://files.pythonhosted.org/packages/af/df/6d73247592dc42504df41486c70cd2a209f7d75b2be50986ebdf876df878/hashfile-2.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8da6826ba8ff99579562fca65c476d5", "sha256": "698ce5392021a269a23fd29f886f722dc5b728bbb3edd3f4997973d73f9bba8d" }, "downloads": -1, "filename": "hashfile-2.1.0.tar.gz", "has_sig": false, "md5_digest": "e8da6826ba8ff99579562fca65c476d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6188, "upload_time": "2016-03-27T19:42:04", "url": "https://files.pythonhosted.org/packages/55/03/5ddc4126774dd3291c46bffe34d30e09a06d2d7fa10081749b5fd60e1d17/hashfile-2.1.0.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "76e89f0a5a1ed02fd8c73b75d158ee3d", "sha256": "78c290a49f6d01e5d316f3cc87b4fc8d7ff739ca2c7817fee407ed773ce95355" }, "downloads": -1, "filename": "hashfile-2.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "76e89f0a5a1ed02fd8c73b75d158ee3d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10615, "upload_time": "2016-03-29T14:02:42", "url": "https://files.pythonhosted.org/packages/dd/4a/65a9379eacd874a8527e190f64efa339eefdeb3ba7cc52887a2089226e86/hashfile-2.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8bef2e194d359f22b1bdad5bedffa2b1", "sha256": "3c78874b945c75c9c451fc0b270626e64abd8c0bc2695da50ac0f9b9d324368d" }, "downloads": -1, "filename": "hashfile-2.1.1.tar.gz", "has_sig": false, "md5_digest": "8bef2e194d359f22b1bdad5bedffa2b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8684, "upload_time": "2016-03-29T14:03:01", "url": "https://files.pythonhosted.org/packages/b3/0e/91f43d49771a0e6ea2327e0a2ef27f5e40d57b4e3e559b58ed7a97e1d284/hashfile-2.1.1.tar.gz" } ], "2.1.2": [ { "comment_text": "", "digests": { "md5": "aaa4d4ff13932df9cbcf03349e4a4d00", "sha256": "f28e83767b68916511afd9321bbedec46cea95900e884c7c388bdd3b42b85f01" }, "downloads": -1, "filename": "hashfile-2.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aaa4d4ff13932df9cbcf03349e4a4d00", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10717, "upload_time": "2016-03-29T14:16:09", "url": "https://files.pythonhosted.org/packages/32/5e/be66b8fa3638ada430e0f99bd946ba3f0d40932887ed2ca87b132c444a78/hashfile-2.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aec90655a2a4db6c9a7b8da1995c2f56", "sha256": "892a164d006f2e7f5a1c678555c96e43c2874371f47c623607305e10adea669f" }, "downloads": -1, "filename": "hashfile-2.1.2.tar.gz", "has_sig": false, "md5_digest": "aec90655a2a4db6c9a7b8da1995c2f56", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8748, "upload_time": "2016-03-29T14:16:39", "url": "https://files.pythonhosted.org/packages/11/60/3029a0def71d0e70aee91d78fc2978c1e3d32f57289c1cafe9ac3406bf97/hashfile-2.1.2.tar.gz" } ], "2.1.3": [ { "comment_text": "", "digests": { "md5": "5574f2d700462cdcdab2b2f39c15b299", "sha256": "a945e11d830938cc8ee01129efd49e7b391ed65f77bad7650519473f6a7b2ba6" }, "downloads": -1, "filename": "hashfile-2.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5574f2d700462cdcdab2b2f39c15b299", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10725, "upload_time": "2016-05-01T11:38:21", "url": "https://files.pythonhosted.org/packages/6f/5c/1c5afaf7a8f803dc36c8b0969c0e154fce33b3176a0f8a055906a09a7ae0/hashfile-2.1.3-py2.py3-none-any.whl" } ], "2.1.5": [ { "comment_text": "", "digests": { "md5": "37705ceb81535283ae379ae7e49a348b", "sha256": "3b08f8c11b65354d55a2b66f748a989f91d2fb7d8c466948ff24f3ffa27b735a" }, "downloads": -1, "filename": "hashfile-2.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "37705ceb81535283ae379ae7e49a348b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10989, "upload_time": "2016-08-21T17:09:55", "url": "https://files.pythonhosted.org/packages/4a/31/2e1137330ea93e71902f4f38f6343ab24fb0fc8b283149586b63a66fa67a/hashfile-2.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd28c3336bdef956a95d06fca23cf766", "sha256": "3fe44fb103d94b4782636b93ea417cc3ba34e5f0f0a2d05b4886279a344fdf45" }, "downloads": -1, "filename": "hashfile-2.1.5.tar.gz", "has_sig": false, "md5_digest": "cd28c3336bdef956a95d06fca23cf766", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9371, "upload_time": "2016-08-21T17:09:58", "url": "https://files.pythonhosted.org/packages/01/4f/d9e5fc982451118cd67c0c7de7a14377d28ac62d83dd9f3fc7dc373e9cfa/hashfile-2.1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "37705ceb81535283ae379ae7e49a348b", "sha256": "3b08f8c11b65354d55a2b66f748a989f91d2fb7d8c466948ff24f3ffa27b735a" }, "downloads": -1, "filename": "hashfile-2.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "37705ceb81535283ae379ae7e49a348b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10989, "upload_time": "2016-08-21T17:09:55", "url": "https://files.pythonhosted.org/packages/4a/31/2e1137330ea93e71902f4f38f6343ab24fb0fc8b283149586b63a66fa67a/hashfile-2.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd28c3336bdef956a95d06fca23cf766", "sha256": "3fe44fb103d94b4782636b93ea417cc3ba34e5f0f0a2d05b4886279a344fdf45" }, "downloads": -1, "filename": "hashfile-2.1.5.tar.gz", "has_sig": false, "md5_digest": "cd28c3336bdef956a95d06fca23cf766", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9371, "upload_time": "2016-08-21T17:09:58", "url": "https://files.pythonhosted.org/packages/01/4f/d9e5fc982451118cd67c0c7de7a14377d28ac62d83dd9f3fc7dc373e9cfa/hashfile-2.1.5.tar.gz" } ] }