semvec/pypi-packages huggingface dataset:
StreamSampler 0.1.1
Data sampler from streaming data
License: MIT License
Keywords: Reservior sampling,

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.

.. _`Vitter85`: Random Sampling with a Reservoir http://www.cs.umd.edu/~samir/498/vitter.pdf



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.

.. _`sample-cli`: https://pypi.python.org/pypi/sample-cli/


.. This is your project NEWS file which will contain the release notes.
.. Example: http://www.python.org/download/releases/2.6/NEWS.txt
.. The content of this file, along with README.rst, will appear in your
.. project's PyPI page.

News
====

0.1.1
-----
* Tests in Python 2.6, 2.7, 3.1, 3.2, 3.3

0.1.0
-----

First public version