Cerbernetix-toolbox

Latest version: v0.9.1

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

Scan your dependencies

Page 1 of 3

0.9.1

Fixed

- Correct the readme instructions for installing the package.

0.9.0

Changed

- Move the package to the `cerbernetix` namespace.
- Move the package to the `src` directory.
- `FileManager.read_file(iterator)` - Accepts to return an iterator from `read_file()` instead of immediately the content.

Added

- `get_combination_rank(combination, offset)`: Gets the rank of a combination.
- `get_combination_from_rank(rank, length, offset)`: Gets the combination corresponding to a particular rank.
- `get_cache_path(name, create)` - Gets the path to a cache folder.
- `ValueExtractor(entries, mapper)` - A tool for extracting values from a set of possible entries.
- `decimal(separator, thousands)` - Creates a mapper for casting decimal values to floats.
- `Weekday(day)` - Gets the date of a weekday given a particular date.
- `FileManager.create_path()` - Creates the parent path of the file.
- `FileManager.check(...)` - Tells if the file is valid with respect to the specified criteria.

0.8.1

Added

- Script for running the unit tests and presenting the coverage.
- Script for applying the linter.
- Script for applying the formatting.

Fixed

- Correct the dependencies declaration.

0.8.0

Changed

- Move the tests to a dedicated folder outside of the source code. This will avoid polluting the exports.

Fixed

- Better default value for the config option mapper (None instead of a default mapper function).

0.7.0

Changed

- `read_pickle_file(...)` and `PickleFile.read_file()` - Can either return a list (default) or an iterator (when the iterator parameter is True).
- `read_csv_file(...)` and `CSVFile.read_file()` - Can either return a list (default) or an iterator (when the iterator parameter is True).
- `read_zip_csv(buffer, ...)` - Can either return a list (default) or an iterator (when the iterator parameter is True).

0.6.0

Added

- `fetch_content(url, ...)` - Fetch content from a remote HTTP address.
- `read_zip_file(buffer, ...)` - Reads a file content from a Zip archive.
- `read_zip_csv(buffer, ...)` - Reads a CSV content from a Zip.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.