{ "info": { "author": "Luca Cappelletti", "author_email": "cappelletti.luca94@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "dict_hash\n=========================================================================================\n|travis| |sonar_quality| |sonar_maintainability| |codacy| |code_climate_maintainability| |pip| |downloads|\n\nSimple python tool to hash dictionaries using both default hash and sha256.\n\nHow do I install this package?\n----------------------------------------------\nAs usual, just download it using pip:\n\n.. code:: shell\n\n pip install dict_hash\n\nTests Coverage\n----------------------------------------------\nSince some software handling coverages sometime get slightly different results, here's three of them:\n\n|coveralls| |sonar_coverage| |code_climate_coverage|\n\nUsage examples\n----------------------------------------------\nThe package offers two functions: `sha256` to generate constant sha256 hashes and `dict_hash`, to generate hashes using the native `hash` function.\n\ndict_hash\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n from dict_hash import dict_hash\n from random_dict import random_dict\n from random import randint\n\n d = random_dict(randint(1, 10), randint(1, 10))\n my_hash = dict_hash(d)\n\n\nsha256\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n from dict_hash import sha256\n from random_dict import random_dict\n from random import randint\n\n d = random_dict(randint(1, 10), randint(1, 10))\n my_hash = sha256(d)\n\n.. |travis| image:: https://travis-ci.org/LucaCappelletti94/dict_hash.png\n :target: https://travis-ci.org/LucaCappelletti94/dict_hash\n :alt: Travis CI build\n\n.. |sonar_quality| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_dict_hash&metric=alert_status\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_dict_hash\n :alt: SonarCloud Quality\n\n.. |sonar_maintainability| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_dict_hash&metric=sqale_rating\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_dict_hash\n :alt: SonarCloud Maintainability\n\n.. |sonar_coverage| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_dict_hash&metric=coverage\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_dict_hash\n :alt: SonarCloud Coverage\n\n.. |coveralls| image:: https://coveralls.io/repos/github/LucaCappelletti94/dict_hash/badge.svg?branch=master\n :target: https://coveralls.io/github/LucaCappelletti94/dict_hash?branch=master\n :alt: Coveralls Coverage\n\n.. |pip| image:: https://badge.fury.io/py/dict-hash.svg\n :target: https://badge.fury.io/py/dict-hash\n :alt: Pypi project\n\n.. |downloads| image:: https://pepy.tech/badge/dict-hash\n :target: https://pepy.tech/badge/dict-hash\n :alt: Pypi total project downloads \n\n.. |codacy| image:: https://api.codacy.com/project/badge/Grade/d2954938378a4e4087ebac09b0e50f9e\n :target: https://www.codacy.com/app/LucaCappelletti94/dict_hash?utm_source=github.com&utm_medium=referral&utm_content=LucaCappelletti94/dict_hash&utm_campaign=Badge_Grade\n :alt: Codacy Maintainability\n\n.. |code_climate_maintainability| image:: https://api.codeclimate.com/v1/badges/15f94bb26de6423d38f9/maintainability\n :target: https://codeclimate.com/github/LucaCappelletti94/dict_hash/maintainability\n :alt: Maintainability\n\n.. |code_climate_coverage| image:: https://api.codeclimate.com/v1/badges/15f94bb26de6423d38f9/test_coverage\n :target: https://codeclimate.com/github/LucaCappelletti94/dict_hash/test_coverage\n :alt: Code Climate Coverate", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LucaCappelletti94/dict_hash", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dict-hash", "package_url": "https://pypi.org/project/dict-hash/", "platform": "", "project_url": "https://pypi.org/project/dict-hash/", "project_urls": { "Homepage": "https://github.com/LucaCappelletti94/dict_hash" }, "release_url": "https://pypi.org/project/dict-hash/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "Simple python tool to hash dictionaries using both default hash and sha256.", "version": "1.0.4" }, "last_serial": 5476669, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "c01aa5912e96287d7dcf65199a563972", "sha256": "90c914ac07183f0f229365f413f02f0e33b9127b4fb24001cd43c7805bc7ab78" }, "downloads": -1, "filename": "dict_hash-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c01aa5912e96287d7dcf65199a563972", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2666, "upload_time": "2019-05-31T14:48:28", "url": "https://files.pythonhosted.org/packages/a0/17/14d994c170a3b81375209d267765a135608da535abd40a6315593a010489/dict_hash-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "fc9291548b185132ed9a9cec4c86833b", "sha256": "f24f9c0e968864c301bed8b9e4c2a3eb5f19c683d11cc23ca06ae90db940bd0e" }, "downloads": -1, "filename": "dict_hash-1.0.1.tar.gz", "has_sig": false, "md5_digest": "fc9291548b185132ed9a9cec4c86833b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3160, "upload_time": "2019-06-02T16:50:38", "url": "https://files.pythonhosted.org/packages/44/d0/11b8b39e50ba36548550037410be926f8653b267f81d97a93fe2bd091cee/dict_hash-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "a575d170a4b1f30e4aac222a1a236eec", "sha256": "09c12be3927e3f835b2149e528ef25ae38084cf8d92ff35941cda0551d1a7068" }, "downloads": -1, "filename": "dict_hash-1.0.2.tar.gz", "has_sig": false, "md5_digest": "a575d170a4b1f30e4aac222a1a236eec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3214, "upload_time": "2019-06-06T08:51:38", "url": "https://files.pythonhosted.org/packages/39/d7/6d82a0296dcb69324f4a61d0723d4b8478c136dde75e7acf69e5ce86ec4d/dict_hash-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "493e2a02e29c2185d9b31102e7e00b22", "sha256": "e37dd13727cecab31d3753919a7b5d12618ec09f1e0307e0d3dc7c2f457fa293" }, "downloads": -1, "filename": "dict_hash-1.0.3.tar.gz", "has_sig": false, "md5_digest": "493e2a02e29c2185d9b31102e7e00b22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3205, "upload_time": "2019-06-06T08:54:45", "url": "https://files.pythonhosted.org/packages/0a/24/43e534ea74b42b2f4d524c9d00ec6955c03af796588232d362ffb6b29faf/dict_hash-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "b389dbecc2f8a8cc38a2a24981257f2f", "sha256": "a480b38d32d773c2385fdb6b95e235b1bacb803f83c3205a42b25ebc388fbb5d" }, "downloads": -1, "filename": "dict_hash-1.0.4.tar.gz", "has_sig": false, "md5_digest": "b389dbecc2f8a8cc38a2a24981257f2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3218, "upload_time": "2019-07-02T12:37:49", "url": "https://files.pythonhosted.org/packages/8a/46/de12a912d95b4d4761885c8e8bd6253dbed68b77fadf6907aaa93ccff0be/dict_hash-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b389dbecc2f8a8cc38a2a24981257f2f", "sha256": "a480b38d32d773c2385fdb6b95e235b1bacb803f83c3205a42b25ebc388fbb5d" }, "downloads": -1, "filename": "dict_hash-1.0.4.tar.gz", "has_sig": false, "md5_digest": "b389dbecc2f8a8cc38a2a24981257f2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3218, "upload_time": "2019-07-02T12:37:49", "url": "https://files.pythonhosted.org/packages/8a/46/de12a912d95b4d4761885c8e8bd6253dbed68b77fadf6907aaa93ccff0be/dict_hash-1.0.4.tar.gz" } ] }