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]

poetry install --extras github-app

Usage

Use dpetl --help to inspect the CLI.

dpetl extract    # download the data (modes: api, email, cli)
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.19.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.19.0
File Size Uploaded Provenance Actions
dpetl-0.19.0.tar.gz 19.6 kB Without provenance Details for dpetl-0.19.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.5 kB

Release files / dpetl-0.19.0.tar.gz

Download URL dpetl-0.19.0.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
173ac21d4303155ed0d07b78d1f2e4e995505e4ac20725cbaa0f5fa07f2f0780
BLAKE2b-256 checksum
How to use checksums
a601e66f90cc36578f8a32dc3c0a9087c966af79e875f4ca5b549f40b89769e3
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-1017-azure

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

Download URL dpetl-0.19.0-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97c7865715c4dc58b36e686b734acc123ab80c54c23051b6857a53df443f95a9
BLAKE2b-256 checksum
How to use checksums
83911406d91c0ce6c6870897bda80c9886d015c77a8272858cee27b6d17b118e
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-1017-azure

Security for dpetl 0.19.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