/python-superfasthash

Pure python, dependency-agnostic implementation of Paul Hsieh's SuperFastHash.

Primary LanguagePython

python-superfasthash

Pure python implementation of Paul Hsieh's SuperFastHash algorithm.

  • Stream-adapted: init the hash with any incremental seed
  • Dependency-agnostic: no python dependency whatsoever
  • As minimal as possible.

License

The license for this code is LGPL 2.1. It matches exactly the one chosen by Paul Hsieh, whose original statement is reproduced below.

IMPORTANT NOTE: Since there has been a lot of interest for the code below, I have decided to additionally provide it under the LGPL 2.1 license. This provision applies to the code below only and not to any other code including other source archives or listings from this site unless otherwise specified.

The LGPL 2.1 is not necessarily a more liberal license than my derivative license, but this additional licensing makes the code available to more developers. Note that this does not give you multi-licensing rights. You can only use the code under one of the licenses at a time.