Python Extensions for SMHasher
Project description
Google SMHasher Python 扩展
===========================
[![Build Status](https://travis-ci.org/airhuman/pysmhasher.svg?branch=master)](https://travis-ci.org/airhuman/pysmhasher)
[![PyPI](https://img.shields.io/pypi/v/pysmhasher.svg)](https://pypi.python.org/pypi/pysmhasher)
![](https://img.shields.io/pypi/pyversions/pysmhasher.svg)
![](https://img.shields.io/pypi/l/pysmhasher.svg)
pysmhasher封装SMHasher中,更多的方法
使用方法
--------
```
#从pip源安装
pip install pysmhasher
#调用方法
>>> import pysmhasher
>>> pysmhasher.murmurhash2('hello')
3848350155
>>> seed = 27
>>> pysmhasher.murmurhash2('hello', seed)
1143501851
#下载代码并安装
git clone --recurse-submodules https://github.com/airhuman/pysmhasher.git
cd pysmhasher
python setup.py install
```
===========================
[![Build Status](https://travis-ci.org/airhuman/pysmhasher.svg?branch=master)](https://travis-ci.org/airhuman/pysmhasher)
[![PyPI](https://img.shields.io/pypi/v/pysmhasher.svg)](https://pypi.python.org/pypi/pysmhasher)
![](https://img.shields.io/pypi/pyversions/pysmhasher.svg)
![](https://img.shields.io/pypi/l/pysmhasher.svg)
pysmhasher封装SMHasher中,更多的方法
使用方法
--------
```
#从pip源安装
pip install pysmhasher
#调用方法
>>> import pysmhasher
>>> pysmhasher.murmurhash2('hello')
3848350155
>>> seed = 27
>>> pysmhasher.murmurhash2('hello', seed)
1143501851
#下载代码并安装
git clone --recurse-submodules https://github.com/airhuman/pysmhasher.git
cd pysmhasher
python setup.py install
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysmhasher-0.1.8.tar.gz
(66.5 kB
view hashes)