Python packages
Overview of Python packages
The python packages below aim to take your Python projects to the next level.
BloomLib: Bloom filters made easy
BloomFilters are a memory-friendly way to store a lot of information. You can store 100 million items using just 77MB. This is a very efficient and superfast way to test whether a value exists in a collection.
The downside is that the data structure is probabilistic: A Bloom filter can either tell you with certainty that an item is not a member of a set, or that it probably is
For more information, check out the article below.
Buffr: userfriendly buffering
You can let add items to the buffer. When the buffer is full or a certain time has passed, all items will be process by a provided function.
CythonBuilder: automated compiling and packaging of Cython code
CythonBuilder makes it easy to use Cython in your Python project by automating the building process. You can use CythonBuilder from the commandline or import it as a package in Python. Generated files can be imported in Python directly
Cachr: Easy caching
Just add a simple decorator to your function and it's cached. Available caches include LRU, LFU, TTL (cached item expires after x seconds), random replace and sliding window.
FastInject
Dependency injection makes you code testable, readable and uncomplicated. FastInjects provides an easy-to-use interface to upgrade your code with dependency injection.
No more circular import errors, tangled dependencies and complications. Make your code simple and testable.