Registry / data / downstream

downstream

JSON →
library1.22.0pypypi✓ verified 85d ago

downstream provides efficient, constant-space algorithms for stream curation, including deduplication, filtering, and counting. Current version 1.22.0 supports Python >=3.10. Releases are regular, with breaking changes documented in changelog.

pip install downstream
INSTALL
IMPORT
SIG · DOWNSTREAM
D
downstream
datapythonv1.22.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dataframe
✓ from downstream import dataframe
✗ from downstream import BloomFilter
dstream
✓ from downstream import dstream
dsurf
✓ from downstream import dsurf

Create a Bloom filter, add an item, and test membership.

from downstream import BloomFilter bf = BloomFilter(capacity=1000, error_rate=0.01) bf.add('item1') print('item1' in bf) # True
Debug
Known issues
breakingIn v1.0, BloomFilter constructor changed from (size, num_hashes) to (capacity, error_rate). Old code using positional arguments will break.
fix
Use keyword arguments: BloomFilter(capacity=..., error_rate=...)
affects: >=1.0
gotchaBloomFilter does not support deletion. Attempting to remove items silently does nothing.
fix
Use CountingBloomFilter if deletion is needed.
affects: all
deprecatedThe `downstream.utils` module is deprecated since v1.15 and will be removed in v2.0.
fix
Import utilities directly from downstream: e.g. from downstream import hash_functions
affects: >=1.15, <2.0
Upgrade
Version history
1.22.0latest on PyPI · released Mar 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources
downstream — pip install downstream · libregistry