Skip to main content

Hash all sorts of things in Python

Project description

#️⃣ 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_.

We use `Python Requests`_ for talking HTTP.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hash-things, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size hash_things-0.2.0-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size hash_things-0.2.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page