# core-etl
This library provides essential components for ETL processes, offering reusable interfaces for seamless data extraction, transformation, and loading….
Installation
Install from PyPI using pip:
pip install core-etl
uv pip install core-etl # Or using UV...
Features
Base ETL Framework
Template method pattern for ETL workflow orchestration
Comprehensive lifecycle hooks (pre-processing, execution, post-processing, cleanup)
Built-in error handling with detailed exception logging
Task status tracking (CREATED, EXECUTING, SUCCESS, ERROR)
Timezone support for date/datetime processing (defaults to UTC)
Temporary folder management for local file operations
Extensible resource cleanup mechanisms
File-Based ETL (IBaseEtlFromFile)
Process files from various sources (SFTP, local filesystem, cloud storage)
Iterator-based file processing with error isolation per file
Individual file success/error callbacks for custom handling
Batch file operations with automatic error recovery
Extensible hooks: get_paths(), process_file(), on_success(), on_error()
Record-Based ETL (IBaseEtlFromRecord)
Process records from APIs, databases, files, message queues, and data streams
Memory-efficient batch processing with configurable batch sizes
Built-in transformation pipeline:
Field removal (attrs_to_remove)
Field renaming (name_mapper)
Data type casting (type_mapper)
Pre and post transformation hooks for custom business logic
Incremental processing support with last_processed markers
Extensible methods: retrieve_records(), process_records(), pre_transformations(), post_transformations()
Async ETL (IAsyncETL)
Concurrent record processing via asyncio producer/consumer pattern
Configurable worker pool size (max_workers) and queue capacity (max_queue_size)
Individual record failures are isolated, failed records are logged and skipped without aborting the pipeline
Extensible methods: produce_records(), _process_record()
Note: execute() uses asyncio.run() internally; call await asyncio.to_thread(task.execute) from async contexts
Quick Start
Installation
Install the package:
pip install core-etl
uv pip install core-etl # Or using UV...
pip install -e ".[dev]" # For development...
Setting Up Environment
Install required libraries:
pip install --upgrade pip
pip install virtualenv
Create Python virtual environment:
virtualenv --python=python3.12 .venv
Activate the virtual environment:
source .venv/bin/activate
Install packages
pip install .
pip install -e ".[dev]"
Check tests and coverage
python manager.py run-tests
python manager.py run-coverage
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Write tests for new functionality
Ensure all tests pass: pytest -n auto
Run linting: pylint core_etl
Run security checks: bandit -r core_etl
Submit a pull request
License
This project is licensed under the MIT License. See the LICENSE file for details.
Links
Support
For questions or support, please open an issue on GitLab or contact the maintainers.
Metadata
Release files for core-etl 3.2.3
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 |
|---|---|---|---|---|
| core_etl-3.2.3.tar.gz | 13.3 kB | With provenance | Details for core_etl-3.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| core_etl-3.2.3-py3-none-any.whl | Python 3 | none | any | Details for core_etl-3.2.3-py3-none-any.whl |
Total release size: 26.6 kB
Release files / core_etl-3.2.3.tar.gz
| Download URL | core_etl-3.2.3.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
355c051f844d97cca8b734e0568691d5bc77750ebbb5e1bd399d92c07f4601d1
|
|
BLAKE2b-256 checksum How to use checksums |
e6aae61bd53101684d05477e9471e404ead7f3c1946f10ad568313592cedc9ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitLab CI/CD, verified by PyPI on Nov 13, 2026.
Transparency logRelease files / core_etl-3.2.3-py3-none-any.whl
| Download URL | core_etl-3.2.3-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
187b2b2161c234c6644fbba34f3c72235fe5d41c596be5fa6a04c9fa82f27df7
|
|
BLAKE2b-256 checksum How to use checksums |
f5e67ecf1e18987befb8a478e7ee5418eb7466fbb0065cba7154ae329db7702b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitLab CI/CD, verified by PyPI on Nov 13, 2026.
Transparency logSecurity for core-etl 3.2.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for core_etl-3.2.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitLab CI/CD, verified by PyPI on Nov 13, 2026.
Transparency logA 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.