Skip to content

alphajin1/murmur2py3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Murmur2py3

How to install

If you want to install Murmur2, execute the following script.

python setup.py install

Requirements

  • Python >= 3.8
  • numpy >= 1.22

How to use

import

Before you use murmur2py3, all you have to do is to import murmur2py3.

import murmur2py3

use

I have inplamented one function, murmur64_a. The following script is a simple example of using murmu64_a

murmur2py3.murmur64a("test", 4, 100)

First argument, "test", is input.
Second argument, 4, is the length of first argument.
Third argument is a seed. If you set a different seed, murmur64_a returns different hash value.

About

This is Murmur2 hash wrapper for Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.9%
  • C 9.8%
  • Python 4.3%