Skip to main content

StreamSampler

StreamSampler package allows you to sample a particular number of elements from a stream of data of which length is very large or unknown.

StreamSampler is provided in both forms of an executable command and library. It utilizes Reservoir sampling algorithm [Vitter85]

You can take a look at the README.txt of other projects, such as repoze.bfg (http://bfg.repoze.org/trac/browser/trunk/README.txt) for some ideas.

License

MIT License

See Also

  • sample-cli by Paul Butler is a command line tool providing almost the same feature. StreamSampler is intended to be a library, although it has a command line interface, so that it can be a part of other packages including my future projects.

News

0.1.1

  • Tests in Python 2.6, 2.7, 3.1, 3.2, 3.3

0.1.0

First public version

Metadata

Release files for StreamSampler 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for StreamSampler 0.1.1
File Size Uploaded Provenance Actions
StreamSampler-0.1.1.tar.gz 4.3 kB Without provenance Details for StreamSampler-0.1.1.tar.gz

Release files / StreamSampler-0.1.1.tar.gz

Download URL StreamSampler-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f4b3ace37a0d09cbbe7a36f40002551eedf12e451b349cdcd6640e1b96ece30f
BLAKE2b-256 checksum
How to use checksums
e9bed34681061c6b0e30edb3a27bfbfe7ca808e53227d8741d06a43a2ac98c39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for StreamSampler 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page