EasyCore
Core utilities for building small Python services with FastAPI and Celery.
Features
- FastAPI: Pre-configured app factory with router management and exception handlers
- Celery: Custom task class with correlation ID tracking for distributed tracing
- Logger: Correlation ID middleware and context management for request tracking
- HTTPX: Monkey patching for enhanced logging
- Settings: Pydantic-based settings for Redis, MongoDB, RabbitMQ, API, and more
- Abstractions: Singleton metaclass and common patterns
Installation
pip install easycore
Quick Start
from easycore import create_fastapi_api_app, create_celery_custom_task_class
# Create FastAPI app
app = create_fastapi_api_app(
service_name="my-service",
service_path="api/v1",
routers=[my_router],
custom_exc_handlers=None
)
# Create Celery custom task
CustomTask = create_celery_custom_task_class(logger)
Components
efastapi: FastAPI app factoriesecelery: Celery task utilities with correlation ID supportelogger: Logging with correlation ID trackingehttpx: HTTPX logging patchesenv_settings: Pydantic settings for common servicesconnectors: API connector utilitiesabstractions: Common patterns (Singleton, etc.)
Metadata
Release files for pyeasycore 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyeasycore-1.0.0.tar.gz | 22.8 kB | Without provenance | Details for pyeasycore-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyeasycore-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pyeasycore-1.0.0-py3-none-any.whl |
Total release size: 60.3 kB
Release files / pyeasycore-1.0.0.tar.gz
| Download URL | pyeasycore-1.0.0.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd7153ed30ffcf4ae3e9d27669a9243c1924e5ebf6030f0ec1f642cf25e85f89
|
|
BLAKE2b-256 checksum How to use checksums |
ca71086bcbd24a716b86d3831c79f1463aa2f269ba701dfb9326dccae75a86ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.7 Linux/6.17.0-1022-azure
|
Release files / pyeasycore-1.0.0-py3-none-any.whl
| Download URL | pyeasycore-1.0.0-py3-none-any.whl |
|---|---|
| Size | 37.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b015cc788c14b474369b6f0ae42e0755da3095a976373973566b22131ede381
|
|
BLAKE2b-256 checksum How to use checksums |
2159b6d1e320922ebd98543af67895ba14fb5230e0e68538b563a25b182dd95e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.7 Linux/6.17.0-1022-azure
|
Security for pyeasycore 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.