Skip to main content

dpetl — Data package ETL

Release Coverage

The dpetl is a command-line interface (CLI) tool designed to run the three ETL phases (Extract, Transform, Load).

It is designed to work alongside the Data Package standard specification.

Installation

It requires Python 3.10 or more.

# Install:
pip install dpetl

poetry add dpetl

# Optional dependencies
pip install "dpetl[github-app,sql]"

poetry install --extras "github-app sql"

Usage

Use dpetl --help to inspect the CLI.

dpetl extract    # download the data (modes: api, email, cli, sql)
dpetl transform  # rename fields, anonymize values and export the files
dpetl load       # publish the data to a GitHub repository

How it works

The CLI reads the Data Package descriptor:

  • datapackage.yaml when running extract or transform

  • datapackage.json when running load

Then it runs each phase on its resources, following the dpetl_extract, dpetl_transform and dpetl_load properties declared in it.

If you have more than one data package, place each one in its own subdirectory of datapackages/.

Documentation

Full documentation, with a page for each phase, the descriptor details and the API reference, at https://splor-mg.github.io/dpetl/.

Metadata

Release files for dpetl 0.20.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dpetl 0.20.0
File Size Uploaded Provenance Actions
dpetl-0.20.0.tar.gz 20.3 kB Without provenance Details for dpetl-0.20.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dpetl 0.20.0
File Interpreter ABI Platform Actions
dpetl-0.20.0-py3-none-any.whl Python 3 none any Details for dpetl-0.20.0-py3-none-any.whl

Total release size: 48.4 kB

Release files / dpetl-0.20.0.tar.gz

Download URL dpetl-0.20.0.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ad56df47fd331d7e9e990f8540761a60d035a893b95daab4fe890bb62035ae8e
BLAKE2b-256 checksum
How to use checksums
7fd2a981f9fe63dc22a3aa8388663a656ac280046eb79434767f404cb71cbd2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.13.18 Linux/7.0.0-1019-azure

Release files / dpetl-0.20.0-py3-none-any.whl

Download URL dpetl-0.20.0-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
663012bb00314fbde0b052348c485b0059d32bb8d0ac4b4ace9130c3372f248a
BLAKE2b-256 checksum
How to use checksums
6363baa080ff592e9d1bf781b462822d15cd2901a80cdb6a758a1057356774e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.13.18 Linux/7.0.0-1019-azure

Security for dpetl 0.20.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page