Iotoolz

Latest version: v0.1.0

Safety actively analyzes 638699 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.1.0rc12

- Change how the buffer is flushed and closed when the stream is GC or when the application exits.

0.1.0rc11

- 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.

0.1.0rc10

- Added `stats` and `unlink` abstract methods to `AbcStream`
- Added `rmdir`, `is_file`, `is_dir` methods to `AbcStream`
- Fix `glob` to correctly match both dir and filename
- `S3Stream.iter_dir()` will now yield streams with `StreamInfo`
- `AbcStream.iter_dir_()` now return `Iterable[StreamInfo]` instead of `Iterable[str]`
- Refractored the internals of AbcStream to be cleaner

0.1.0rc9

- Added `exists` to check if a stream points to an existing resource
- `glob` now takes in 1 argument only, which is the pattern
- `TempStream.open`, `iotoolz.streams.open_stream`, and `iotoolz.streams.Stream` now will always return an existing `TempStream` (i.e. same uri)

0.1.0rc8

- Fix rollover to disk error
- Fix doc

0.1.0rc7

- 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 directory
- `glob`: list streams in the directory with uri that matches the pattern

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.