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.

Source Distribution

hash_things-0.2.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

hash_things-0.2.0-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file hash_things-0.2.0.tar.gz.

File metadata

  • Download URL: hash_things-0.2.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for hash_things-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8ce14fab13c2142713a1fb25c8983010f8e1a6c59a6e94d90a5bd06c689874f7
MD5 ad39f1f7c7b1f9a51f5dd039e76bb6db
BLAKE2b-256 f6b6d030288cc3d30b9a7aa6e636f6414f77a0d6de1ab3bce02265a8ddb42143

See more details on using hashes here.

File details

Details for the file hash_things-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hash_things-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for hash_things-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 98540beaae719183bf747ee74802076ade5cdb9eacfa7da1fda5d74633cd7ff4
MD5 6b9441c6f152b13b4203302f8e3f124a
BLAKE2b-256 324d7f59b8e0be58fe1b59adecebb4f246bc65f0b3545da5f2376db72024e1b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page