Skip to main content

PostgreSQL loader 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-loader-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("postgresql")
    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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkpipe_loader_postgres-0.1.33.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

mkpipe_loader_postgres-0.1.33-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file mkpipe_loader_postgres-0.1.33.tar.gz.

File metadata

  • Download URL: mkpipe_loader_postgres-0.1.33.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.10

File hashes

Hashes for mkpipe_loader_postgres-0.1.33.tar.gz
Algorithm Hash digest
SHA256 60f2c6d027ce0d2ac9e92994fec81d2f3c4cfd52fba789eb2d45658ebd9cb4ca
MD5 4bdcb67c3a1c4abe5abfc244ea0f5d9a
BLAKE2b-256 cb9922c78422a96a764740f43a7212b76b1ae5cd3258273294cbf0af7ac6e288

See more details on using hashes here.

File details

Details for the file mkpipe_loader_postgres-0.1.33-py3-none-any.whl.

File metadata

File hashes

Hashes for mkpipe_loader_postgres-0.1.33-py3-none-any.whl
Algorithm Hash digest
SHA256 8877a66e31423939d06f68f5408bdf07f46d14b7e804b85d081aefb9729d67b4
MD5 2082c6a26ef0a836f7ec4292ae2f92fb
BLAKE2b-256 72c5d97bf50c40303e267415b60ea85509ec70d821005acbb8e7cc489a4ee6c9

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