End-to-end algorithm library
Project description
osdental-library
osdental-library centralizes the core components and shared utilities of the ecosystem. Its goal is to ensure technical consistency, reduce code duplication, and accelerate delivery time for our digital products.
What's new in v3.15
Features
- Introduced public and private decorators to standardize request processing across services. These decorators provide centralized handling for request validation, responses, exception management, auditing, and authentication flows.
- Added helpers for working with signed and encrypted JWE tokens, simplifying secure token generation and validation.
- Added an RSA Key Normalizer Helper to standardize RSA key formats across different providers and environments.
- Implemented centralized status code handling for both GraphQL and gRPC, providing a consistent error model across transport layers.
- Added conditional logic to support dynamic client context resolution in the portal, based on the Super Admin’s selection. This enables multi-tenant data access without requiring re-authentication.
- Refactored the audit workflow to store audit data in Blob Storage. The storage reference is now published via Service Bus for asynchronous downstream processing.
- Updated the Redis cache implementation to utilize Azure Managed Identity for authentication, eliminating the need for static connection strings and improving security.
- Implemented automatic Database Token Renewal for SQL connections when using Azure Managed Identity, preventing authentication expiration during long-running processes.
- Added support for optional auditing, allowing services to selectively enable or disable audit processing depending on their business requirements.-
Breaking Changes (v3.15)
- Removed the database execution methods from the connection class.
- Removed internal gRPC connections. These must now be injected from the client microservice, providing greater flexibility and preventing circular dependencies.
- Removed classes that connected directly using
.envconfiguration. Azure integrations have been restructured to fully support Dependency Injection. - Temporarily removed the base project generation CLI commands while they are being adapted to the new library architecture.
- Refactored the audit queue by centralizing its processing into a single control point. Added support for decrypting final responses using AES and RSA algorithms.
- Removed the GraphQL
AuditExtension. Its responsibilities are now handled by the new public and private decorators, which provide a unified mechanism for request processing, authentication, exception handling, responses, and auditing across the application.
What's Next
- Migration plan for all base libraries to their most recent stable versions.
- Refinement of methods for hybrid environments that require switching between Managed Identity and Connection Strings depending on the environment.
- Continuous monitoring to resolve bugs and improve performance in the consumption of Azure resources.
We continue to work to deliver a superior development experience, ensuring our internal infrastructure is robust, secure and easy to deploy.
Installation
You can easily install osdental-library using pip:
pip install osdental-library
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osdental_library-3.15.tar.gz.
File metadata
- Download URL: osdental_library-3.15.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74830d9bc7e5e7e191a744e3a5fa295d2e880ac3b31ea79d50e5590d7a9275cb
|
|
| MD5 |
f812a6fde94cf098e9d5b17ecdf7c79e
|
|
| BLAKE2b-256 |
5538dbdce05b3fd3e43bd446f0b32e1c1634360e8d6053b87eb10a29448c4fd8
|
File details
Details for the file osdental_library-3.15-py3-none-any.whl.
File metadata
- Download URL: osdental_library-3.15-py3-none-any.whl
- Upload date:
- Size: 62.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b054fdcc67b1e88a8a25c178b2b669667355c18acb472c7ada3aa1bd2dc3611
|
|
| MD5 |
12da650392bd0cfc4b7b16701dbe77d8
|
|
| BLAKE2b-256 |
0df7d06d8bfab0fc47e7b0ed773f0c14d1b185e2e1236c650a95f361210fa212
|