Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.5%) to scientific vocabulary
Repository
A Python Bloomfilter
Basic Info
- Host: GitHub
- Owner: crankycoder
- License: mit
- Language: Python
- Default Branch: master
- Size: 448 KB
Statistics
- Stars: 21
- Watchers: 2
- Forks: 6
- Open Issues: 6
- Releases: 0
Metadata Files
README.md
Hydra: The Python Bloom Filter.
Compile with Cython 0.24 or higher.
Hydra is a high performance bloom filter. It's basically a port of the Cassandra bloom filter with some fun Cython hackery.
1) It's persistent using memory mapped io. On Linux, the mmap uses the MAP_POPULATE flag so the entire file is loaded into kernel space virtual memory. In other words - fast.
2) The hash function uses the MurmurHash3 algorithm, so it should be fast and have excellent key distribution and avalanche properties.
3) The filter exports a set-like interface. Use .add(..), .contains() or use the "in" operator.
4) Tests. OMG what is wrong with people with no tests?
The filter supports periodic forced synchronization to disk using fdatasync(), or you can just let the deallocator flush everything to disk when your filter goes out of scope, or your process terminates.
Hydras are snakes with multiple heads. They're also bad dudes with snake logos on their chest who regularly try to beat on Nick Fury. Now it's a bloom filter.
Mostly, I couldn't bear to make this yet another PySomeLibraryName library.
Build, install a dev build and test:
$ pip install -r requirements.txt
$ cythonize src/_hydra.pyx
$ python setup.py develop
$ python setup.py test
Owner
- Name: Victor Ng
- Login: crankycoder
- Kind: user
- Location: Newmarket, Ontario, Canada
- Company: @wealthsimple
- Website: http://crankycoder.com
- Repositories: 98
- Profile: https://github.com/crankycoder
I make software things.
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: almost 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Henry Stern | s****n@f****o | 34 |
| Hanno Schlichting | h****o@h****u | 12 |
| Victor Ng | v****r@c****m | 8 |
| André Laszlo | a****o@m****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 6
- Total pull requests: 17
- Average time to close issues: 6 months
- Average time to close pull requests: 5 days
- Total issue authors: 6
- Total pull request authors: 5
- Average comments per issue: 1.5
- Average comments per pull request: 0.29
- Merged pull requests: 15
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- AlanKK (1)
- mlaferrera (1)
- jonathf (1)
- ewestern (1)
- elenavolkova93 (1)
- xloem (1)
Pull Request Authors
- hstern (11)
- hannosch (3)
- andrelaszlo (1)
- xloem (1)
- arzeth (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 9,433 last-month
-
Total dependent packages: 4
(may contain duplicates) -
Total dependent repositories: 77
(may contain duplicates) - Total versions: 9
- Total maintainers: 3
pypi.org: hydra
A high performance persistent bloom filter
- Homepage: http://github.com/crankycoder/Hydra
- Documentation: https://hydra.readthedocs.io/
- License: MIT License
-
Latest release: 2.5
published almost 10 years ago
Rankings
conda-forge.org: hydra
- Homepage: http://github.com/crankycoder/Hydra
- License: MIT
-
Latest release: 2.5
published over 6 years ago
Rankings
Dependencies
- Cython *
- flake8 *
- nose *