Skip to content

Commit 1e5662a

Browse files
committed
update
1 parent 1304fd2 commit 1e5662a

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
# pyxorfilter
1+
# pyfusefilter
22

33
Python bindings for [C](https://github.com/FastFilter/xor_singleheader) implementation of [Xor Filters: Faster and Smaller Than Bloom and Cuckoo Filters](https://arxiv.org/abs/1912.08258)
44
and of [Binary Fuse Filters: Fast and Smaller Than Xor Filters](https://arxiv.org/abs/2201.01174).
55

66

77

88
## Installation
9-
`pip install pyxorfilter`
9+
`pip install pyfusefilter`
1010
### From Source
1111
```
12-
git clone --recurse-submodules https://github.com/glitzflitz/pyxorfilter
13-
cd pyxorfilter
12+
git clone --recurse-submodules https://github.com/glitzflitz/pyfusefilter
13+
cd pyfusefilter
1414
python setup.py build_ext
1515
python setup.py install
1616
```
1717
## Usage
1818
```py
19-
>>> from pyxorfilter import Xor8, Xor16, Fuse8, Fuse16
19+
>>> from pyfusefilter import Xor8, Xor16, Fuse8, Fuse16
2020
>>> filter = Xor8(5) #or Xor16(size)
2121
>>> #Supports unicode strings and heterogeneous types
2222
>>> test_str = ["","", 51, 0.0, 12.3]

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
2-
name = "pyxorfilter"
3-
version = "1.1.20"
2+
name = "pyfusefilter"
3+
version = "1.0.0"
44
description = "Python bindings for C implementation of xorfilter"
55
authors = [
66
{name = "Amey Narkhede", email = "[email protected]"},
@@ -11,7 +11,7 @@ license = {text = "Apache 2.0"}
1111
requires-python = ">=3.0"
1212

1313
[project.urls]
14-
Homepage = "https://github.com/glitzflitz/pyxorfilter"
14+
Homepage = "https://github.com/glitzflitz/pyfusefilter"
1515

1616
[build-system]
1717
requires = ["setuptools", "wheel", "cffi"]

pyxorfilter/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pyxorfilter.pyxorfilter import Xor8, Xor16, Fuse8, Fuse16
1+
from pyfusefilter.pyfusefilter import Xor8, Xor16, Fuse8, Fuse16
22

3-
VERSION = "1.1.20"
3+
VERSION = "1.0.0"
44
__all__ = ["Xor8", "Xor16", "Fuse8", "Fuse16"]

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
import os
33

44
setup(
5-
name="pyxorfilter",
6-
version="1.1.20",
5+
name="pyfusefilter",
6+
version="1.0.0",
77
description="Python bindings for C implementation of xorfilter",
88
long_description=open("README.md", "r", encoding='utf-8').read(),
99
long_description_content_type="text/markdown",
1010
author="Amey Narkhede",
1111
author_email="[email protected]",
12-
url="https://github.com/glitzflitz/pyxorfilter",
12+
url="https://github.com/glitzflitz/pyfusefilter",
1313
license="Apache 2.0",
1414
python_requires=">=3.0",
1515
packages=find_packages(),
16-
ext_package="pyxorfilter",
16+
ext_package="pyfusefilter",
1717
install_requires=["cffi","xxhash"],
18-
cffi_modules=["pyxorfilter/ffibuild.py:ffi"],
18+
cffi_modules=["pyfusefilter/ffibuild.py:ffi"],
1919
)
2020

tests/test_fuse16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pyxorfilter import Fuse16
1+
from pyfusefilter import Fuse16
22
from random import sample
33
import tempfile, os
44

tests/test_fuse8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pyxorfilter import Fuse8
1+
from pyfusefilter import Fuse8
22
from random import sample
33
import tempfile, os
44

tests/test_xor16.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pyxorfilter import Xor16
1+
from pyfusefilter import Xor16
22
import random
33
import tempfile, os
44

tests/test_xor8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pyxorfilter import Xor8
1+
from pyfusefilter import Xor8
22
from random import sample
33
import tempfile, os
44

0 commit comments

Comments
 (0)