iotoolz¶
v0.1.0¶
- Force
requeststo be>=2.26.0,<3.0because ofchardetLGPL licensing (See https://github.com/psf/requests/pull/5797) - Make
chardetoptional because of LGPL licensing. Defaults tocharset_normalizerifchardetis not installed. - Added
readablemethod to AbcStream
v0.1.0-rc-17¶
- Fix bug in resolving bucket for
minio://schema
v0.1.0-rc-16¶
- Added
MinioStream(minio://) - Added
seekablemethod for AbcStream
v0.1.0-rc-15¶
- Fix system markers for windows so that python-magic is installed correctly on windows machine.
v0.1.0-rc-14¶
- Loosen the dependencies requirements so that it is more forgiving with older packages (e.g. using an older version of requests).
v0.1.0-rc-13¶
cytoolzis now an optional package.
v0.1.0-rc-12¶
- Change how the buffer is flushed and closed when the stream is GC or when the application exits.
v0.1.0-rc-11¶
- Fix error when running inside a thread (will not register signal handler if inside a thread). Dev need to ensure stream is flushed and closed properly.
v0.1.0-rc-10¶
- Added
statsandunlinkabstract methods toAbcStream - Added
rmdir,is_file,is_dirmethods toAbcStream - Fix
globto correctly match both dir and filename S3Stream.iter_dir()will now yield streams withStreamInfoAbcStream.iter_dir_()now returnIterable[StreamInfo]instead ofIterable[str]- Refractored the internals of AbcStream to be cleaner
v0.1.0-rc-9¶
- Added
existsto check if a stream points to an existing resource globnow takes in 1 argument only, which is the patternTempStream.open,iotoolz.streams.open_stream, andiotoolz.streams.Streamnow will always return an existingTempStream(i.e. same uri)
v0.1.0-rc-8¶
- Fix rollover to disk error
- Fix doc
v0.1.0-rc-7¶
-
Added path-like methods to AbcStream (i.e. similar to
pathlib.Path) -
mkdir: creates a directory if appropriate for the stream iter_dir: list streams in the directoryglob: list streams in the directory with uri that matches the pattern
v0.1.0-rc-6¶
- Fix typo for HttpStream: schemes -> schemas
- key for S3Stream should not have leading slash
v0.1.0-rc-5¶
- Fix bug where dynamic mock stream class is improperly created when the required dependencies are not available.
v0.1.0-rc-4¶
- Add extension
iotoolz.extensions.s3.S3Streamwhich is implemented withboto3.
v0.1.0-rc-3¶
- Converted sphinx docs to mkdocs for better look and feel.
- Removed the need for a context manager for the iterable.
- Renamed the 2 abstract methods.
v0.1.0-rc-2¶
-
Initial Release
-
Features:
iotoolz.AbcStreamis an abstract class to represent any IO. It follows theopenvery closely.
Last update: October 19, 2020