Filehandles

Latest version: v0.3.1.post1

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

Scan your dependencies

0.3.1

~~~~~~~~~~~~~~~~~~

**Bugfixes**

- Added `NotADirectoryError` exception to directory opener to
prevent eating up regular files.
- Fixed bz2 opener not supporting seek() operation.

0.3.0

~~~~~~~~~~~~~~~~~~

**Improvements**

- Rewrote `filehandles` module using (EAFP style) and removed path.test()
methods (LBYL style).
- Removed path checking based on `mimetypes`.

0.2.0

~~~~~~~~~~~~~~~~~~

**New features**

- Added 'pattern' argument - regular expression pattern to include files
only with specified pattern.

0.1.2

~~~~~~~~~~~~~~~~~~

**Bugfixes**

- Fixed `Opener` initializer to properly add non-standard extension and type
to `mimetypes` module.

0.1.1

~~~~~~~~~~~~~~~~~~

**Improvements**

- Added `logging` and `verboselogs` logging.
- Replaced all `if verbose: print('...')` with `logger.verbose('...')` calls.

0.1.0

~~~~~~~~~~~~~~~~~~

- Initial public release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.