hsh


Namehsh JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/chrissimpkins/hsh
SummarySimple file hash digests and file integrity checks
upload_time2016-02-16 03:30:13
maintainerNone
docs_urlNone
authorChristopher Simpkins
requires_pythonNone
licenseMIT license
keywords file hash hash digest checksum file comparison file integrity file checksum file check sha md5 sha1 sha224 sha256 sha384 sha512
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            .. image:: https://travis-ci.org/chrissimpkins/hsh.svg?branch=master
    :target: https://travis-ci.org/chrissimpkins/hsh

Documentation: https://chrissimpkins.github.io/hsh/

Description
-------------

hsh is a cross-platform command line application that generates file hash digests and performs file integrity checks via file hash digest comparisons. It supports the following hash algorithms:

* MD5
* SHA1
* SHA224
* SHA256
* SHA384
* SHA512

Install
-------

Install with ``pip`` using the command:

.. code-block:: bash

    $ pip install hsh

or `download the source repository <https://github.com/chrissimpkins/hsh/tarball/master>`_, unpack it, and navigate to the top level of the repository.  Then enter:

.. code-block:: bash

    $ python setup.py install


Upgrade
-------

You can upgrade your hsh version with the command:

.. code-block:: bash

    $ pip install --upgrade hsh


Examples of hsh File Hash Digest Features
-----------------------------------------

Default SHA256 File Hash Digests
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: bash

    $ hsh somefile.txt
    SHA256 (somefile.txt) :
    5c2b47648ae96e60b5d02c573aefa6b01fb49d1b9e1ebd8a1b1a794cf522e6e3

Change the File Hash Digest Algorithm with a Command
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: bash

    $ hsh sha1 somefile.txt
    SHA1 (somefile.txt) :
    0e1fb609e951c85e01f4048f01f0b51256bb3917


Examples of hsh File Integrity Check Features
---------------------------------------------

Default SHA256 Digest File to File Comparisons
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: bash

    $ hsh firstfile.txt secondfile.txt

    SHA256 (firstfile.txt) :
    0dbe4bb7df0f6d271e8f1fc30ec586fdfb5218e5a615c9abd3843943b4779e9e
    SHA256 (secondfile.txt) :
    0dbe4bb7df0f6d271e8f1fc30ec586fdfb5218e5a615c9abd3843943b4779e9e

    The hash digests are identical.


Automated File to File Hash Digest Comparisons for Supported Hash Types
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: bash

    $ hsh firstfile.txt 0e1fb609e951c85e01f4048f01f0b51256bb3917

    SHA1 (firstfile.txt) :
    0e1fb609e951c85e01f4048f01f0b51256bb3917
    SHA1 (test) :
    0e1fb609e951c85e01f4048f01f0b51256bb3917

    The hash digests are identical.


File Hash Digest to File Hash Digest Comparisons
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: bash

    $ hsh da24f4932321286ac849f9145707f0e8 da24f4932321286ac849f9145707f0e9

    da24f4932321286ac849f9145707f0e8
    da24f4932321286ac849f9145707f0e9
    ===============================^

    The hash digests are NOT identical.

A diff string is displayed below the hash digests when they differ as shown in the example above.


Usage
-----

Command line syntax and available commands & options are available in `the documentation <https://chrissimpkins.github.io/hsh/usage.html>`_ or by entering the command:

.. code-block:: bash

    $ hsh --help


License
-------

`MIT License <https://github.com/chrissimpkins/hsh/blob/master/docs/LICENSE>`_
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/chrissimpkins/hsh",
    "name": "hsh",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "file,hash,hash digest,checksum,file comparison,file integrity,file checksum,file check,SHA,MD5,SHA1,SHA224,SHA256,SHA384,SHA512",
    "author": "Christopher Simpkins",
    "author_email": "UNKNOWN",
    "download_url": "https://files.pythonhosted.org/packages/88/dd/c04f9a56e374e7fe5a0ac5032d0a059ef7338485bcd2ae1a05115081c4e1/hsh-1.1.0.tar.gz",
    "platform": "any",
    "description": ".. image:: https://travis-ci.org/chrissimpkins/hsh.svg?branch=master\n    :target: https://travis-ci.org/chrissimpkins/hsh\n\nDocumentation: https://chrissimpkins.github.io/hsh/\n\nDescription\n-------------\n\nhsh is a cross-platform command line application that generates file hash digests and performs file integrity checks via file hash digest comparisons. It supports the following hash algorithms:\n\n* MD5\n* SHA1\n* SHA224\n* SHA256\n* SHA384\n* SHA512\n\nInstall\n-------\n\nInstall with ``pip`` using the command:\n\n.. code-block:: bash\n\n    $ pip install hsh\n\nor `download the source repository <https://github.com/chrissimpkins/hsh/tarball/master>`_, unpack it, and navigate to the top level of the repository.  Then enter:\n\n.. code-block:: bash\n\n    $ python setup.py install\n\n\nUpgrade\n-------\n\nYou can upgrade your hsh version with the command:\n\n.. code-block:: bash\n\n    $ pip install --upgrade hsh\n\n\nExamples of hsh File Hash Digest Features\n-----------------------------------------\n\nDefault SHA256 File Hash Digests\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    $ hsh somefile.txt\n    SHA256 (somefile.txt) :\n    5c2b47648ae96e60b5d02c573aefa6b01fb49d1b9e1ebd8a1b1a794cf522e6e3\n\nChange the File Hash Digest Algorithm with a Command\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    $ hsh sha1 somefile.txt\n    SHA1 (somefile.txt) :\n    0e1fb609e951c85e01f4048f01f0b51256bb3917\n\n\nExamples of hsh File Integrity Check Features\n---------------------------------------------\n\nDefault SHA256 Digest File to File Comparisons\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    $ hsh firstfile.txt secondfile.txt\n\n    SHA256 (firstfile.txt) :\n    0dbe4bb7df0f6d271e8f1fc30ec586fdfb5218e5a615c9abd3843943b4779e9e\n    SHA256 (secondfile.txt) :\n    0dbe4bb7df0f6d271e8f1fc30ec586fdfb5218e5a615c9abd3843943b4779e9e\n\n    The hash digests are identical.\n\n\nAutomated File to File Hash Digest Comparisons for Supported Hash Types\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    $ hsh firstfile.txt 0e1fb609e951c85e01f4048f01f0b51256bb3917\n\n    SHA1 (firstfile.txt) :\n    0e1fb609e951c85e01f4048f01f0b51256bb3917\n    SHA1 (test) :\n    0e1fb609e951c85e01f4048f01f0b51256bb3917\n\n    The hash digests are identical.\n\n\nFile Hash Digest to File Hash Digest Comparisons\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\n.. code-block:: bash\n\n    $ hsh da24f4932321286ac849f9145707f0e8 da24f4932321286ac849f9145707f0e9\n\n    da24f4932321286ac849f9145707f0e8\n    da24f4932321286ac849f9145707f0e9\n    ===============================^\n\n    The hash digests are NOT identical.\n\nA diff string is displayed below the hash digests when they differ as shown in the example above.\n\n\nUsage\n-----\n\nCommand line syntax and available commands & options are available in `the documentation <https://chrissimpkins.github.io/hsh/usage.html>`_ or by entering the command:\n\n.. code-block:: bash\n\n    $ hsh --help\n\n\nLicense\n-------\n\n`MIT License <https://github.com/chrissimpkins/hsh/blob/master/docs/LICENSE>`_",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "Simple file hash digests and file integrity checks",
    "version": "1.1.0",
    "project_urls": {
        "Download": "UNKNOWN",
        "Homepage": "https://github.com/chrissimpkins/hsh"
    },
    "split_keywords": [
        "file",
        "hash",
        "hash digest",
        "checksum",
        "file comparison",
        "file integrity",
        "file checksum",
        "file check",
        "sha",
        "md5",
        "sha1",
        "sha224",
        "sha256",
        "sha384",
        "sha512"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ad1336bc05affc776b3b34ac1cddcf8f7e1fd081cef9b4034d778b5833c6c20",
                "md5": "d7e31a3da5e6d4a0187ca1205659a883",
                "sha256": "d40ba1e29cdcf1f8492738a6fd2c123cfcff007860bf70de19b25f5c6ec1e991"
            },
            "downloads": -1,
            "filename": "hsh-1.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d7e31a3da5e6d4a0187ca1205659a883",
            "packagetype": "bdist_wheel",
            "python_version": "2.7",
            "requires_python": null,
            "size": 8971,
            "upload_time": "2016-02-16T03:30:22",
            "upload_time_iso_8601": "2016-02-16T03:30:22.537479Z",
            "url": "https://files.pythonhosted.org/packages/0a/d1/336bc05affc776b3b34ac1cddcf8f7e1fd081cef9b4034d778b5833c6c20/hsh-1.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "88ddc04f9a56e374e7fe5a0ac5032d0a059ef7338485bcd2ae1a05115081c4e1",
                "md5": "ee173763121f264fa97427efb3f49f77",
                "sha256": "c04e43ac538feafb029dba3c4972207a704f5fcdf0ee271ebdddd03d96b5df85"
            },
            "downloads": -1,
            "filename": "hsh-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ee173763121f264fa97427efb3f49f77",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7116,
            "upload_time": "2016-02-16T03:30:13",
            "upload_time_iso_8601": "2016-02-16T03:30:13.680473Z",
            "url": "https://files.pythonhosted.org/packages/88/dd/c04f9a56e374e7fe5a0ac5032d0a059ef7338485bcd2ae1a05115081c4e1/hsh-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2016-02-16 03:30:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "chrissimpkins",
    "github_project": "hsh",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "appveyor": true,
    "tox": true,
    "lcname": "hsh"
}
        
Elapsed time: 0.20320s