{ "info": { "author": "Jakob Jordan, Maximilian Schmidt", "author_email": "j.jordan@fz-juelich.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Utilities" ], "description": "dicthash\n========\n\nGenerate portable md5 hashes from (arbitrarily nested) dictionaries. These dictionaries can contain arbitrary Python and NumPy data types. The goal of the module is to provide a hash function that can be safely used across different platforms. Its main use is to generate unique identifiers for parameter dictionaries used in parameter scans of neural network simulations.\n\nIt exposes a single function to the user `dicthash.generate_hash_from_dict`.\n\n\nIt exposes a single function to the user: `generate_hash_from_dict`.\nThe user can set two global parameters:\n\n- `FLOAT_FACTOR`\n\n To ensure consistency between different systems, the library\n multiplies floats with the `FLOAT_FACTOR` and then converts them to\n integers.\n\n- `FLOOR_SMALL_FLOATS`\n\n If the float is smaller than the inverse of the `FLOAT_FACTOR`, it\n cannot be safely converted. If `FLOOR_SMALL_FLOATS` is set to True,\n the library will round the float to zero. If set to False, it will\n throw an error in this case.\n\n\n![Python2.7](https://img.shields.io/badge/python-2.7-blue.svg)\n![Python3.6](https://img.shields.io/badge/python-3.6-blue.svg)\n[![PyPI version fury.io](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=0.0.2&x2=0)](https://pypi.org/project/dicthash/)\n[![GPL license](https://img.shields.io/badge/License-GPLv2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)\n\nCode status\n===========\n\n[![Build Status](https://travis-ci.org/INM-6/python-dicthash.svg?branch=master)](https://travis-ci.org/INM-6/python-dicthash)\n[![Coverage Status](https://coveralls.io/repos/github/INM-6/python-dicthash/badge.svg?branch=master)](https://coveralls.io/github/INM-6/python-dicthash?branch=master)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/INM-6/python-dicthash", "keywords": "hashing hash", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dicthash", "package_url": "https://pypi.org/project/dicthash/", "platform": "", "project_url": "https://pypi.org/project/dicthash/", "project_urls": { "Homepage": "https://github.com/INM-6/python-dicthash" }, "release_url": "https://pypi.org/project/dicthash/0.0.2/", "requires_dist": [ "future" ], "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4", "summary": "Generate portable md5 hashes from (arbitrarily nested) dictionaries.", "version": "0.0.2" }, "last_serial": 3955888, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "2a1207571f984c8e27a0e8f1f12fb401", "sha256": "908f278e0119e62e7357194f2c3073118895415f769580930f4624adffeda15c" }, "downloads": -1, "filename": "dicthash-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2a1207571f984c8e27a0e8f1f12fb401", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4", "size": 5175, "upload_time": "2018-04-19T11:41:21", "url": "https://files.pythonhosted.org/packages/f2/4a/0737e22669b0abc66b409ffeff08af950af4848c462fd5ef5ac9a827b6dd/dicthash-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d69914de4d5b0cdc725ce68be72da2bf", "sha256": "eb2bdde7a24c848fc2d66ec31b76b7103ab4e14bf04ff6a4386ec99b6298dabc" }, "downloads": -1, "filename": "dicthash-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d69914de4d5b0cdc725ce68be72da2bf", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4", "size": 4530, "upload_time": "2018-04-19T11:41:22", "url": "https://files.pythonhosted.org/packages/be/a5/3c8ad233f699179b1bc47a04683e0a6875c840d13ad96213a1489d484c1e/dicthash-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "eae592fc9fa11e542c03dc0ef71835b2", "sha256": "84f9f6bd521d5c0a8a1b4eda4688634958d80a7e8d34c2a6c9a7f37ef0084281" }, "downloads": -1, "filename": "dicthash-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "eae592fc9fa11e542c03dc0ef71835b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4", "size": 5321, "upload_time": "2018-06-13T00:26:52", "url": "https://files.pythonhosted.org/packages/98/74/6a2fa58978384bd188ecca481079aa2bdd8d56f9f0facf8a8ebf9add162c/dicthash-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ae9ada6ea243e23637e6084883c2dc", "sha256": "30b71bd64101295053b082b3244870e6ca7dca561bdb8f3776c42c8c40cb4af4" }, "downloads": -1, "filename": "dicthash-0.0.2.tar.gz", "has_sig": false, "md5_digest": "91ae9ada6ea243e23637e6084883c2dc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4", "size": 4702, "upload_time": "2018-06-13T00:26:53", "url": "https://files.pythonhosted.org/packages/99/41/4e8b11ac5c13cbb6f7f0f7a2792ffe24d0571b091ebc2eb94c68cdd76c5c/dicthash-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eae592fc9fa11e542c03dc0ef71835b2", "sha256": "84f9f6bd521d5c0a8a1b4eda4688634958d80a7e8d34c2a6c9a7f37ef0084281" }, "downloads": -1, "filename": "dicthash-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "eae592fc9fa11e542c03dc0ef71835b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4", "size": 5321, "upload_time": "2018-06-13T00:26:52", "url": "https://files.pythonhosted.org/packages/98/74/6a2fa58978384bd188ecca481079aa2bdd8d56f9f0facf8a8ebf9add162c/dicthash-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ae9ada6ea243e23637e6084883c2dc", "sha256": "30b71bd64101295053b082b3244870e6ca7dca561bdb8f3776c42c8c40cb4af4" }, "downloads": -1, "filename": "dicthash-0.0.2.tar.gz", "has_sig": false, "md5_digest": "91ae9ada6ea243e23637e6084883c2dc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4", "size": 4702, "upload_time": "2018-06-13T00:26:53", "url": "https://files.pythonhosted.org/packages/99/41/4e8b11ac5c13cbb6f7f0f7a2792ffe24d0571b091ebc2eb94c68cdd76c5c/dicthash-0.0.2.tar.gz" } ] }