Skip to main content

Lightweight DataPipeline Documentation

Project description

dbpipe

A lightweight and easy way to manage data pipelines.

Getting Started

pip install dbpipe

Creating a Pipe

from dbpipe import Pipe

pipe = Pipe(
        name='DW',
        sources=["AdSpend","SocialStats"],
        destination="DW",
        processfile="Test.py"
    )

pipe

Saving a Pipe

pipe.save()

Creating a Schedule

from dbpipe import Schedule

schedule = Schedule(frequency="Daily", start_time="8:00AM")

schedule

Creating a Job

from dbpipe import Job

job = Job('My Job',schedule=schedule,jobs=[pipe])
job

Saving a Job

job.save()

Reading a Pipe

from dbpipe import read_pipe

pipe = read_pipe('pipes/DW.json')
pipe

Reading a Job

from dbpipe import read_job

job = read_job('jobs/My Job.json')
job

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

dbpipe-0.1.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

dbpipe-0.1.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

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