Skip to main content

Python-bindings for CityHash, a fast non-cryptographic hash algorithm

Project description

A fork of Python wrapper around CityHash with downgraded version of algorithm. This fork used as 3-rd party library for hashing data in ClickHouse protocol. Unfortunately ClickHouse server comes with built-in old version of this algorithm.

Please use original python-cityhash package for other purposes.

Getting Started

To use this package in your program, simply type

pip install clickhouse-cityhash

Development

If you want to contribute to original package by developing, the included Makefile provides some useful commands to help you with that task:

git clone https://github.com/escherba/python-cityhash.git
cd python-cityhash
make env           # creates a Python virtualenv
make test          # runs both Python and C++ tests

See Also

For other fast non-cryptographic hashing implementations available as Python extensions, see MetroHash and xxh.

Authors

The Python bindings were originally written by Alexander [Amper] Marshalov and were subsequently edited for more speed/versatility and packaged for PyPI by Eugene Scherba. The original CityHash algorithm is by Google.

License

This software is licensed under the MIT License. See the included LICENSE file for more information.

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

clickhouse-cityhash-1.0.2.2.tar.gz (35.3 kB view details)

Uploaded Source

File details

Details for the file clickhouse-cityhash-1.0.2.2.tar.gz.

File metadata

  • Download URL: clickhouse-cityhash-1.0.2.2.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/36.5.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/2.7.12

File hashes

Hashes for clickhouse-cityhash-1.0.2.2.tar.gz
Algorithm Hash digest
SHA256 6ec5e3ce721edafc2f606097d246091a9b5f863ee4df83cb180314b928d67baa
MD5 f01af2b556a68b30d86b6a31191ed8c4
BLAKE2b-256 71c6c89fbccd39186833a6867275a3679d28b1a1d374c28f34b2af2a6a2a3732

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