Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add audb.stream() and audb.DatabaseIterator (#448)
* Add map argument to audb.load_table() * Improve docstring example * Add audb.stream() * Add more ideas * Create first working version of stream * Move to extra file * Use extra class for parquet * Add solution for csv files * Add shuffle support for CSV * Finish first implementation * Add string representation * Adjust docstring * Add to documentation * Fix raises section of docs * Use DatabaseIterator name, shuffle in example * Fix map * Simplify docstring example * Inherit DatabaseIterator from audformat.Database * Improve example * Fix type annotations of __next__ + __iter__ * Fix storing in flavor cache folder * Use __iter__ form audformat.Database * Revert "Use __iter__ form audformat.Database" This reverts commit 2bfc800. * Fix buffering * Add first tests * Add tests and fix bugs * Extend docstring of audb.stream() * Add section to usage documentation * DEBUG Windows * DEBUG Windows * Try chunks for CSV reader * Restructure Iterator classes * Try to fix doctest under Windows * Set default value of buffer_size to 100_000 * Update docs/load.rst Co-authored-by: ChristianGeng <christian.c.geng@gmail.com> * Use **kwargs to simplify code * Remove __init__ function in inherited Iterators * Make surfe persistent repository is cleaned * Make DatabaseIterator abstract class --------- Co-authored-by: ChristianGeng <christian.c.geng@gmail.com>
- Loading branch information