https://github.com/phalt/hash_things
Utilities for hashing all sorts of things in Python
https://github.com/phalt/hash_things
dictionaries hashing
Last synced: about 1 year ago
JSON representation
Utilities for hashing all sorts of things in Python
- Host: GitHub
- URL: https://github.com/phalt/hash_things
- Owner: phalt
- License: mit
- Created: 2018-11-01T16:51:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:16:10.000Z (over 3 years ago)
- Last Synced: 2024-10-12T13:32:53.965Z (over 1 year ago)
- Topics: dictionaries, hashing
- Language: Python
- Size: 21.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
#️⃣ hash_things
-------
*Hash all sorts of things in Python*
Python has some basic tools for hashing stuff, but not all types are easily supported.
This package contains utility functions that make it easy to hash _things_. Including: `Dicts`.
.. image:: https://img.shields.io/pypi/v/hash_things.svg
:target: https://pypi.org/project/hash_things/
.. image:: https://img.shields.io/pypi/pyversions/hash_things.svg
:target: https://pypi.org/project/hash_things/
.. image:: https://img.shields.io/pypi/l/hash_things.svg
:target: https://pypi.org/project/hash_things/
.. image:: https://img.shields.io/pypi/status/hash_things.svg
:target: https://pypi.org/project/hash_things/
.. image:: https://circleci.com/gh/phalt/hash_things/tree/master.svg?style=svg
:target: https://circleci.com/gh/phalt/hash_things/tree/master
Installing the project is easy:
.. code-block:: bash
pip install hash_things
Full blown example:
.. code-block:: python
from hash_things import hash_dict
result = hash_dict({'hello': 'world'})
result
>>> 164302408563385743
📖 What can I hash?
--------
- Dictionaries with any value - Lists, Tuples, Sets, and even nested Dicts!
✨ Future goals
---------------
- Objects of any type
- *You favourite type here*
🏗 Status
----------
hash_things is currently stable.
🎥 Credits
-----------
This package was created with Cookiecutter_.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter