Fileformats

Latest version: v0.11.3

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

Scan your dependencies

Page 6 of 9

0.7.1

0.7.0

Removes dependencies on code in main fileformats package (even optional ones) by placing code in *-extras packages.

0.6.6

* fixes fileset Python hashing for sub-classes (i.e. makes them hashable)
* adds hash() methods for all field classes

0.6.5

More robust handling of decomposition of filenames into stem and extensions by using knowledge of file extensions in nested file-set types (e.g. headers)

0.6.4

Added "collation" feature to the FileSet.copy() method to allow users to control how file-system paths in a fileset are named when they copied into the destination directory. There are three options:

* `any` - relative directory structure and file names are preserved
* `siblings` - top-level file-system paths (i.e. those explicitly in FileSet.fspaths not nested paths) are copied into the destination directory root (requires that file/dir names are unique)
* `adjacent` - files/directories are renamed to have the same stem but different extensions (requires extensions are unique)

0.6.3

Reworks the "mode" functionality of `FileSet.copy()` so that you can specify the supported copy modes of for an operation via the `supported_modes` kwarg, which masks the requested `mode` kwarg to enable you to disable symlinks on CIFS for example

Page 6 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.