Common utilities for ennVee organization
Project description
ennvee_commons
A collection of reusable Python utility modules designed to simplify common tasks across projects. This package includes utilities for email sending, SMS, captcha handling, logging, error handling, and middleware support.
Modules Overview
1. email_utils.py
Send emails through Microsoft Graph API with support for multiple recipients, attachments, HTML or plain text content, and optional saving to Sent Items.
Key features: Azure AD authentication, multiple recipients (To, CC, BCC), attachment handling.
2. sms_utils.py
Utility for sending SMS messages via external APIs (implementation details not shown). Designed for easy integration and reuse.
3. captcha_utils.py
Functions to generate and validate captchas for enhancing user verification flows. Supports image captchas and related security measures.
4. logging_framework.py
Custom logging framework for standardized log formatting, levels, and output destinations to support consistent application logging.
5. common_error_handler.py
Comprehensive function-based error handling utilities that provide consistent error response formatting across services, covering validation, authentication, API errors, resource issues, and more.
6. res_middleware_utils.py
Middleware helper utilities to streamline resource processing and response handling in web applications or API services.
Installation
Currently, this package is intended for internal use. Simply copy the ennvee_commons directory into your project and import the utilities as needed.
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 ennvee_commons-0.1.1.tar.gz.
File metadata
- Download URL: ennvee_commons-0.1.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6ef0592791f950e43e3c4b0e9b86823d66f1ac2d4b384fa0d6d6947388a30a4
|
|
| MD5 |
f804979312597398167f2e28851da29b
|
|
| BLAKE2b-256 |
2465a1921f664c92c4903d7f5fbd83a1f4b0d2842d876164bd85c3312a5bf867
|
File details
Details for the file ennvee_commons-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ennvee_commons-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78f6fec5e638385d2b3730d48c5409793c0d5c315ca7142634ddd4db3c43ff97
|
|
| MD5 |
61eff5e42eb05e445d51aab3cca81f5b
|
|
| BLAKE2b-256 |
12956299adad914eb8e915472ccbbc0a5a7833037954e15440f2ce5e4f80041c
|