Dakarabase

Latest version: v2.0.1

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

Scan your dependencies

Page 1 of 2

2.0.1

Fixed

- Incorrect parameter passed to `pathlib.Path.mkdir`.

2.0.0

Added

- Support Python 3.12 and 3.13.

Changed

- Paths are now `pathlib.Path` objects.
- `directory.directories` is now a `platformdirs.PlatformDirs` object.

Removed

- Dropped Python 3.7 support.
- The `directory.AppDirsPath` class does not exist anymore.

1.4.2

Added

- Support Python 3.11.

1.4.1

Fixed

- Fixed custom decorators hiding functions docstrings.

1.4.0

Added

- `config.Config` object to store config.
Config can be loaded from a file (once).
When accessing a value, it is first searched in environment variables, then in stored values.
- Methods that add a message to a raised exception can be generated from `exceptions.generate_exception_handler`.
- All exceptions of the program can be caught in `__main__.py` with `exceptions.handle_all_exceptions`.
- Application directories are available with the object `directory.directories`.
- Mac OS support.

Changed

- `config.load_config` was integrated in `config.Config` as method `load_file`.
Its different actions were divided:
- Loading the config file: `config.Config.load_file`;
- Checking mandatory keys: `config.Config.check_mandatory_keys`; and
- Setting debug mode: `config.Config.set_debug`.
- Checking the validity of parameters of `HTTPClient` is now done in the `load` method.

Removed

- Dropped Python 3.5 and 3.6 support.

1.3.0

Changed

- Endpoint for HTTP client authenticated is stored in `dakara_base.http_client.HTTPClient.AUTHENTICATE_ENDPOINT` and can be edited.
Default value was updated to `accounts/login/`.

Removed

- Removed module `resources_manager`.
Use the standard `importlib.resources` instead.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.