Skip to main content

PostgreSQL extractor 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


Download files

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

Source Distribution

mkpipe_extractor_postgres-0.1.30.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_extractor_postgres-0.1.30-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file mkpipe_extractor_postgres-0.1.30.tar.gz.

File metadata

File hashes

Hashes for mkpipe_extractor_postgres-0.1.30.tar.gz
Algorithm Hash digest
SHA256 28f419e5152edc32eef8fafd679d57c6260b27c99eeecc44f7612bcf12b5f980
MD5 c92700cece95526a5ccd597e87dd9ca2
BLAKE2b-256 b2ae5e13db90b8aa67955183860e451c5e1b8a1587af3342efa822c103cc7bd5

See more details on using hashes here.

File details

Details for the file mkpipe_extractor_postgres-0.1.30-py3-none-any.whl.

File metadata

File hashes

Hashes for mkpipe_extractor_postgres-0.1.30-py3-none-any.whl
Algorithm Hash digest
SHA256 cf2dd09ada011d5b8d9ad45b81cff4ad7566ea3f383a274cebacbda65fb37c32
MD5 034d2f675a7ff8cdd0bf8195eb94697c
BLAKE2b-256 4f84f4fef8ddf4399a4c2c73df6af3a02fbc1c7af7480517d553abce2f9ab10e

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