Skip to main content

No project description provided

Project description

datapipe-app

datapipe-app implements two aspects to make every datapipe pipeline to work as an application:

  1. REST API + debug UI based of FastAPI
  2. datapipe CLI tool

Common usage

Common pattern to use datapipe-app is to create app.py with the following code:

from datapipe_app import DatapipeApp

from pipeline import ds, catalog, pipeline

app = DatapipeApp(ds, catalog, pipeline)

Where pipeline is a module that defines common elements: ds, catalog and pipeline.

REST API + UI

DatapipeApp inherits from FastApi app and can be started with server like uvicorn.

uvicorn app:app

UI

Datapipe App UI

REST API

API documentation can be found at /api/v1alpha1/docs sub URL.

CLI

datapipe CLI tool implements useful operations.

run

datapipe run --pipeline app

Does full run of a specific pipeline.

table list

datapipe table list

Lists all tables in pipeline.

table reset-metadata

datapipe table reset-metadata TABLE

Resets metadata for a specific table: sets updated_ts, processed_ts, hash to 0.

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

datapipe-app-0.1.6.tar.gz (2.1 MB view hashes)

Uploaded Source

Built Distribution

datapipe_app-0.1.6-py3-none-any.whl (2.2 MB 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