Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/messense/murmurhash2-py

murmurhash2 for Python
https://github.com/messense/murmurhash2-py

murmurhash2

Last synced: 2 days ago
JSON representation

murmurhash2 for Python

Awesome Lists containing this project

README

        

# murmurhash2-py

![CI](https://github.com/messense/murmurhash2-py/workflows/CI/badge.svg)
[![PyPI](https://img.shields.io/pypi/v/murmurhash2.svg)](https://pypi.org/project/murmurhash2)

32-bit murmurhash2 & 3 for Python

## Installation

```bash
pip install murmurhash2
```

## Usage

```python
from murmurhash2 import murmurhash2, murmurhash3

SEED = 3242157231
print(murmurhash2(b'key', SEED))
print(murmurhash3(b'key', SEED))
```

## License

This work is released under the MIT license. A copy of the license is provided in the [LICENSE](./LICENSE) file.