dicthash-0.0.2
توضیحات
Generate portable md5 hashes from (arbitrarily nested) dictionaries.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dicthash-0.0.2 |
| نام | dicthash |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jakob Jordan, Maximilian Schmidt |
| ایمیل نویسنده | j.jordan@fz-juelich.de |
| آدرس صفحه اصلی | https://github.com/INM-6/python-dicthash |
| آدرس اینترنتی | https://pypi.org/project/dicthash/ |
| مجوز | MIT |
dicthash
========
Generate 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.
It exposes a single function to the user `dicthash.generate_hash_from_dict`.
It exposes a single function to the user: `generate_hash_from_dict`.
The user can set two global parameters:
- `FLOAT_FACTOR`
To ensure consistency between different systems, the library
multiplies floats with the `FLOAT_FACTOR` and then converts them to
integers.
- `FLOOR_SMALL_FLOATS`
If the float is smaller than the inverse of the `FLOAT_FACTOR`, it
cannot be safely converted. If `FLOOR_SMALL_FLOATS` is set to True,
the library will round the float to zero. If set to False, it will
throw an error in this case.


[](https://pypi.org/project/dicthash/)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
Code status
===========
[](https://travis-ci.org/INM-6/python-dicthash)
[](https://coveralls.io/github/INM-6/python-dicthash?branch=master)
نیازمندی
| مقدار | نام |
|---|---|
| - | future |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*, !=3.4.*, <4 | Python |
نحوه نصب
نصب پکیج whl dicthash-0.0.2:
pip install dicthash-0.0.2.whl
نصب پکیج tar.gz dicthash-0.0.2:
pip install dicthash-0.0.2.tar.gz