Pytensils

Latest version: v1.2.0

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

Scan your dependencies

1.2.0

Release notes
**Improvements:**
- **New** data-types supported by `pytensils.utils.as_type` for `datetime.datetime` formatted as `"%Y-%m-%d %H:%M:%S"` and `datetime.timedelta` represented as a float.

**Bugs:**
- Resolved formatting of all module doc-strings

1.1.0

Release notes
**Improvements:**
- **Improved** text-wrapping when writing `list` or `dict` objects to the user-log via the `pytensils.logging` module
- **Upgraded** Github action workflows

**Bugs:**
- Resolved error in `pytensils.logging` doc-string
- Resolved issue in `pytensils.logging` with debug mode, where a root logger was generated rather than a module-specific handler
- Fixed `pytensils.logging` on exception, which no longer reports `pytensils.config` errors multiple times in the user-log

1.0.0

Release notes
- **new** `pytensils.logging` module, which provides a logging tool-kit for creating 'pretty' user-logs.
- **updated** `pytensils.config` module,
- Supports native user-logging via the `pytensils.logging` module, reporting read, write and validation errors related to configuration within the user-log.
- Supports a **new** parameter, `create` which allows for disabling reading the configuration-file data upon initialization. The `create` parameter will allow for generating the configuration-file data within the Python process itself.
- Improves validation to ensure the resulting dictionary of the configuration-file data is the correct depth and that the configuration-file data objects are of the expected dictionary type instance.

0.4.0

Adds badges for unit-tests and coverage to the README.

0.3.0

Adds documentation & examples for using objects, functions and methods exposed within the `pytensils.*` namespace.

0.2.0

Beta-release containing the core functionality for managing configuration, directories and data-types as well as a basic run-time profiler.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.