Skip to content

Commit b71c0fc

Browse files
authored
Merge pull request #6 from escherba/es/readme
update readme
2 parents 5b2b36b + 293cf23 commit b71c0fc

5 files changed

Lines changed: 27 additions & 31 deletions

File tree

README.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ To use this package in your program, simply type
2828
After that, you should be able to import the module and do things with it (see
2929
Example Usage below).
3030

31-
Example Usage
32-
-------------
31+
Usage Examples
32+
--------------
33+
34+
Simple Hashing
35+
~~~~~~~~~~~~~~
3336

3437
This package provides Python interfaces to 64- and 128-bit implementations of
3538
MetroHash algorithm. For stateless hashing, it exports ``metrohash64`` and
@@ -46,6 +49,9 @@ unicode) and an optional ``seed`` parameter:
4649
182995299641628952910564950850867298725
4750
4851
52+
Incremental Hashing
53+
~~~~~~~~~~~~~~~~~~~
54+
4955
For incremental hashing, use ``MetroHash64`` and ``MetroHash128`` classes.
5056
Incremental hashing is associative and guarantees that any combination of input
5157
slices will result in the same final hash value. This is useful for processing
@@ -69,7 +75,7 @@ Note that the resulting hash value above is the same as in:
6975
7851180100622203313
7076
7177
Buffer Protocol Support
72-
-----------------------
78+
~~~~~~~~~~~~~~~~~~~~~~~
7379

7480
The methods in this module support Python `Buffer Protocol
7581
<https://docs.python.org/3/c-api/buffer.html>`__, which allows them to be used

pip-freeze.txt

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,19 @@
11
attrs==21.3.0
2-
backcall==0.2.0
32
Cython==0.29.26
4-
decorator==5.1.0
53
distlib==0.3.4
64
filelock==3.4.2
5+
importlib-metadata==4.10.0
76
iniconfig==1.1.1
8-
ipython==7.30.1
9-
jedi==0.18.1
10-
matplotlib-inline==0.1.3
11-
-e git+https://github.com/escherba/python-metrohash@d3f96245c18e7e3724b8e8c8c211ff5c524beed0#egg=metrohash
7+
-e git+https://github.com/escherba/python-metrohash@5b2b36b09262853950816ff3852ebda5a8c2779c#egg=metrohash
128
numpy==1.21.5
139
packaging==21.3
14-
parso==0.8.3
15-
pexpect==4.8.0
16-
pickleshare==0.7.5
1710
platformdirs==2.4.1
1811
pluggy==1.0.0
19-
prompt-toolkit==3.0.24
20-
ptyprocess==0.7.0
2112
py==1.11.0
22-
Pygments==2.10.0
2313
pyparsing==3.0.6
2414
pytest==6.2.5
2515
six==1.16.0
2616
toml==0.10.2
27-
traitlets==5.1.1
28-
virtualenv==20.11.0
29-
wcwidth==0.2.5
17+
typing_extensions==4.0.1
18+
virtualenv==20.11.1
19+
zipp==3.6.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def is_pure(self):
7878
)
7979

8080

81-
VERSION = '0.1.0.post0'
81+
VERSION = '0.1.0.post1'
8282
URL = "https://github.com/escherba/python-metrohash"
8383

8484

src/metrohash.cpp

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/metrohash.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Python wrapper for MetroHash, a fast non-cryptographic hashing algorithm
88

99
__author__ = "Eugene Scherba"
1010
__email__ = "escherba+metrohash@gmail.com"
11-
__version__ = "0.1.0.post0"
11+
__version__ = "0.1.0.post1"
1212
__all__ = [
1313
"metrohash64",
1414
"metrohash128",

0 commit comments

Comments
 (0)