BloomFilter-py 0.0.2__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/PKG-INFO +18 -5
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/README.md +15 -3
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter_py.egg-info/PKG-INFO +18 -5
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/setup.py +2 -1
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter/__init__.py +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter/bloomfilter.py +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter/bloomfilter_strategy.py +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter_py.egg-info/SOURCES.txt +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter_py.egg-info/dependency_links.txt +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter_py.egg-info/not-zip-safe +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter_py.egg-info/requires.txt +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/bloomfilter_py.egg-info/top_level.txt +0 -0
- {bloomfilter-py-0.0.2 → bloomfilter-py-0.0.4}/setup.cfg +0 -0
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
Metadata-Version: 1
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: bloomfilter-py
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Yet another bloomfilter implementation in Python
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
Author: OldPanda
|
|
7
7
|
Author-email: me@old-panda.com
|
|
8
8
|
License: MIT
|
|
9
9
|
Description: # bloomfilter-py
|
|
10
|
+

|
|
11
|
+

|
|
12
|
+
[](https://codecov.io/gh/OldPanda/bloomfilter-py)
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
10
15
|
Yet another Bloomfilter implementation in Python, compatible with Java's Guava library.
|
|
11
16
|
|
|
12
|
-
I was looking for a Python library which is capable of reading what Bloomfilter of Java's Guava library serializes and is also able to output byte array which is recognizable by Java. But unfortunately failed. Hence I developed this library by borrowing
|
|
17
|
+
I was looking for a Python library which is capable of reading what Bloomfilter of Java's Guava library serializes and is also able to output byte array which is recognizable by Java. But unfortunately failed. Hence I developed this library by borrowing Guava implements Bloomfilter serialization/deserialization steps a lot to deal with Bloomfilters on both Python and Java sides.
|
|
18
|
+
|
|
19
|
+
As for Bloomfilter usage in Java world, please refer to [this post](https://www.baeldung.com/guava-bloom-filter).
|
|
20
|
+
|
|
21
|
+
Here's a brief [introduction](https://en.wikipedia.org/wiki/Bloom_filter) to Bloomfilter.
|
|
22
|
+
|
|
23
|
+
## Requirements
|
|
24
|
+
* Python 3.7+
|
|
13
25
|
|
|
14
|
-
|
|
26
|
+
This library is not tested under Python 3.6 and lower versions.
|
|
15
27
|
|
|
16
28
|
## Install
|
|
17
29
|
```
|
|
@@ -23,7 +35,7 @@ Description: # bloomfilter-py
|
|
|
23
35
|
### Basic Usage
|
|
24
36
|
```Python
|
|
25
37
|
>>> from bloomfilter import BloomFilter
|
|
26
|
-
>>> bloom_filter = BloomFilter(500, 0.01)
|
|
38
|
+
>>> bloom_filter = BloomFilter(expected_insertions=500, err_rate=0.01)
|
|
27
39
|
>>> for i in range(100):
|
|
28
40
|
... bloom_filter.put(i)
|
|
29
41
|
...
|
|
@@ -67,3 +79,4 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
67
79
|
Classifier: Operating System :: OS Independent
|
|
68
80
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
69
81
|
Requires-Python: >=3.7
|
|
82
|
+
Description-Content-Type: text/markdown
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
# bloomfilter-py
|
|
2
|
+

|
|
3
|
+

|
|
4
|
+
[](https://codecov.io/gh/OldPanda/bloomfilter-py)
|
|
5
|
+
|
|
6
|
+
## Overview
|
|
2
7
|
Yet another Bloomfilter implementation in Python, compatible with Java's Guava library.
|
|
3
8
|
|
|
4
|
-
I was looking for a Python library which is capable of reading what Bloomfilter of Java's Guava library serializes and is also able to output byte array which is recognizable by Java. But unfortunately failed. Hence I developed this library by borrowing
|
|
9
|
+
I was looking for a Python library which is capable of reading what Bloomfilter of Java's Guava library serializes and is also able to output byte array which is recognizable by Java. But unfortunately failed. Hence I developed this library by borrowing Guava implements Bloomfilter serialization/deserialization steps a lot to deal with Bloomfilters on both Python and Java sides.
|
|
10
|
+
|
|
11
|
+
As for Bloomfilter usage in Java world, please refer to [this post](https://www.baeldung.com/guava-bloom-filter).
|
|
12
|
+
|
|
13
|
+
Here's a brief [introduction](https://en.wikipedia.org/wiki/Bloom_filter) to Bloomfilter.
|
|
14
|
+
|
|
15
|
+
## Requirements
|
|
16
|
+
* Python 3.7+
|
|
5
17
|
|
|
6
|
-
|
|
18
|
+
This library is not tested under Python 3.6 and lower versions.
|
|
7
19
|
|
|
8
20
|
## Install
|
|
9
21
|
```
|
|
@@ -15,7 +27,7 @@ pip install bloomfilter-py
|
|
|
15
27
|
### Basic Usage
|
|
16
28
|
```Python
|
|
17
29
|
>>> from bloomfilter import BloomFilter
|
|
18
|
-
>>> bloom_filter = BloomFilter(500, 0.01)
|
|
30
|
+
>>> bloom_filter = BloomFilter(expected_insertions=500, err_rate=0.01)
|
|
19
31
|
>>> for i in range(100):
|
|
20
32
|
... bloom_filter.put(i)
|
|
21
33
|
...
|
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
Metadata-Version: 1
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
2
|
Name: bloomfilter-py
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Summary: Yet another bloomfilter implementation in Python
|
|
5
5
|
Home-page: UNKNOWN
|
|
6
6
|
Author: OldPanda
|
|
7
7
|
Author-email: me@old-panda.com
|
|
8
8
|
License: MIT
|
|
9
9
|
Description: # bloomfilter-py
|
|
10
|
+

|
|
11
|
+

|
|
12
|
+
[](https://codecov.io/gh/OldPanda/bloomfilter-py)
|
|
13
|
+
|
|
14
|
+
## Overview
|
|
10
15
|
Yet another Bloomfilter implementation in Python, compatible with Java's Guava library.
|
|
11
16
|
|
|
12
|
-
I was looking for a Python library which is capable of reading what Bloomfilter of Java's Guava library serializes and is also able to output byte array which is recognizable by Java. But unfortunately failed. Hence I developed this library by borrowing
|
|
17
|
+
I was looking for a Python library which is capable of reading what Bloomfilter of Java's Guava library serializes and is also able to output byte array which is recognizable by Java. But unfortunately failed. Hence I developed this library by borrowing Guava implements Bloomfilter serialization/deserialization steps a lot to deal with Bloomfilters on both Python and Java sides.
|
|
18
|
+
|
|
19
|
+
As for Bloomfilter usage in Java world, please refer to [this post](https://www.baeldung.com/guava-bloom-filter).
|
|
20
|
+
|
|
21
|
+
Here's a brief [introduction](https://en.wikipedia.org/wiki/Bloom_filter) to Bloomfilter.
|
|
22
|
+
|
|
23
|
+
## Requirements
|
|
24
|
+
* Python 3.7+
|
|
13
25
|
|
|
14
|
-
|
|
26
|
+
This library is not tested under Python 3.6 and lower versions.
|
|
15
27
|
|
|
16
28
|
## Install
|
|
17
29
|
```
|
|
@@ -23,7 +35,7 @@ Description: # bloomfilter-py
|
|
|
23
35
|
### Basic Usage
|
|
24
36
|
```Python
|
|
25
37
|
>>> from bloomfilter import BloomFilter
|
|
26
|
-
>>> bloom_filter = BloomFilter(500, 0.01)
|
|
38
|
+
>>> bloom_filter = BloomFilter(expected_insertions=500, err_rate=0.01)
|
|
27
39
|
>>> for i in range(100):
|
|
28
40
|
... bloom_filter.put(i)
|
|
29
41
|
...
|
|
@@ -67,3 +79,4 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
67
79
|
Classifier: Operating System :: OS Independent
|
|
68
80
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
69
81
|
Requires-Python: >=3.7
|
|
82
|
+
Description-Content-Type: text/markdown
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.4"
|
|
4
4
|
install_requires = ["bitarray==1.6.1", "murmurhash3==2.3.5"]
|
|
5
5
|
extras_require = {}
|
|
6
6
|
|
|
@@ -9,6 +9,7 @@ setup(
|
|
|
9
9
|
version=version,
|
|
10
10
|
description="Yet another bloomfilter implementation in Python",
|
|
11
11
|
long_description=open("README.md").read(),
|
|
12
|
+
long_description_content_type="text/markdown",
|
|
12
13
|
author="OldPanda",
|
|
13
14
|
author_email="me@old-panda.com",
|
|
14
15
|
license="MIT",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|