Py-application-framework

Latest version: v1.0.0a5

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

Scan your dependencies

1.0.0alpha.5

- **New Host Builder Class:** Introduced the Host Builder class for improved host configuration and management.
- **Restart Strategies:** Introduced restart strategies to handle application crashes, enhancing reliability and stability.
- **Execution Modes:** Introduced execution modes allowing the application to run in separate thread, process or the event loop. Both asynchronous and synchronous support.
- **Cancellation Token Pattern:** Implemented the cancellation token pattern to enable graceful stopping of applications.
- **Documentation Updates:** Added more documentation on the basic concepts of the framework. Introduced a comprehensive "Getting Started" guide to help new users quickly onboard.
- **Refactored Internals Architecture:** Introduced several significant changes, including a clearer expression of the actor model. Refactored actors into coroutines and utilized the event loop in a more idiomatic manner. Simplified code design, including removal of the **`Executor`** classes.

1.0.0alpha.4

- **Internals Documentation:** Added comprehensive documentation detailing the internal architecture of the framework, including basic concepts, the executor model, and the use of processes, threads, and coroutines.

1.0.0alpha.3

- **New ApplicationBuilder Class:** Introduced the ApplicationBuilder class for a more streamlined and structured application setup.
- **Dependency Injection Support:** Now using a dependency container for improved dependency injection throughout the application.
- **Bug Fix:** Fixed an issue with the default initialization of dataclass fields in Python 3.11 and above.

1.0.0alpha.2

- **New ConfigBuilder Class:** Introduced the ConfigBuilder class to handle application configuration flexibly and extensibly, supporting multiple sources such as YAML, JSON, INI, and environment variables, with type conversion and binding capabilities.
- **Basic Documentation:** Provided an initial set of documentation to give users an introduction to the library.
- **License:** Released under the GPL 3 license.
- **Initial Alpha Release:** Marked the initial alpha release of the framework.

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.