Skip to main content

Core ETL pipeline framework for mkpipe.

Project description

MkPipe

MkPipe is a modular, open-source ETL (Extract, Transform, Load) tool that allows you to integrate various data sources and sinks easily. It is designed to be extensible with a plugin-based architecture that supports extractors, transformers, and loaders.

Features

  • Extract data from multiple sources (e.g., PostgreSQL, MongoDB).
  • Transform data using custom Python logic and Apache Spark.
  • Load data into various sinks (e.g., ClickHouse, PostgreSQL, Parquet).
  • Plugin-based architecture that supports future extensions.
  • Cloud-native architecture, can be deployed on Kubernetes and other environments.

Installation

You can install the core package and extractors using pip:

Install the core package:

pip install mkpipe

Install the Postgres extractor:

pip install mkpipe-extractor-postgres

Install additional extractors or loaders as needed:

You can find or contribute new extractors and loaders in the future.

Usage

To run the ETL process, use the following command:

from mkpipe_core.plugins.registry import EXTRACTORS

def test_postgres_extractor():
    postgres_extractor = EXTRACTORS.get("postgres")
    if not postgres_extractor:
        print("Postgres extractor not found!")
        return
    instance = postgres_extractor()
    instance.extract()

if __name__ == "__main__":
    test_postgres_extractor()

Where elt.yaml is your configuration file that specifies the extractors, transformers, and loaders.

Documentation

For more detailed documentation, please visit the GitHub repository.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

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

mkpipe-0.1.11.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkpipe-0.1.11-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file mkpipe-0.1.11.tar.gz.

File metadata

  • Download URL: mkpipe-0.1.11.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for mkpipe-0.1.11.tar.gz
Algorithm Hash digest
SHA256 ad3fbe3c48d90e9256d25a3d441f6269895d65e987075a7c09393d3f2e335717
MD5 0d250da646ae23c2de47304fdaaae0a2
BLAKE2b-256 47fe79c334bd6eebacb43e20456026e9a9089ee9b068982c3447fbb223da216b

See more details on using hashes here.

File details

Details for the file mkpipe-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: mkpipe-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for mkpipe-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 8b345b01b5aa97da35baa0118bf04152d9690187d23417ac18e0ca21c694599e
MD5 ca7545db887343fff45c4432f1c658c4
BLAKE2b-256 184ee00d5f6281964762f68a8776f106e5495556ae30e9dbd07ab034c75427a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page