Giter VIP home page Giter VIP logo

py-meowhash's Introduction

py-meowhash

py-meowhash is a simple python binding for cmuratori/meow_hash, an extremely fast non-cryptographic hash function. Meant to act as a drop in replacement for any hashlib hashing algorithm.

NOTE: meow_hash, and by proxy py-meowhash are considered experimental or alpha quality software and should be used as such.

Usage

Can be used as a drop in replacement for hashlib algorithms:

hash = meowhash.new()
hash.update(b'hello world')
d = hash.digest()
h = hash.hexdigest()
hash2 = hash.copy()

# Available attributes
hash.name
hash.digest_size
hash.hash_size

Caveats and Known Issues

This library currently is not portable and requires AVX instruction support on the local machine to run properly. The library does not check for this support as of right now and may segfault on calling

Please check the meow_hash issue tracker for for other issues that one may encounter.

py-meowhash's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

py-meowhash's Issues

Issues building

I'm trying to build py-meowhash on Fedora 28, but I get a lot of errors related to meowhash. I've pastebinned the output of python setup.py build here because it's pretty long.

The weird part is, I can build meowhash itself just fine. Am I missing any additional steps?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.