Skip to main content

Data pipeline

Data pipeline to ingest, conform, normalise, validate and export tabular data files (for now) given yml schema(s) as the only source of truth. It should be possible to easily plug it in modern orchestration tools such as Airflow and Dagster.

⚠️ This is a work in progress

Steps

  • Read - currently csv and xlsx
  • Conform - detect column headers, normalise (according to schema rules/accepted aliases) and ignore irrelevant ones
  • Normalise - normalise columns content according to schema data types
    • define accepted data formats (int, float, str, date, year-month, categorical)
    • allow schemas to extend said formats

TODO

  • Try this with airflow - use S3 operator to store data in between
  • Try this with dagster ?
  • Try this with pyodide ?
  • make it work for multiple datasets - many files and many tables within each file
  • allow other export formats - for now, data is transfered over csv, but we might want to use binary, like feather (which might require the usage of pandas)
  • try with external data sources (like S3 bucket) - one should able to read and write from theme easily
  • return data directly - it might be the case that there's no need to store the data between steps - in that case it should be returned directly.

Metadata

Release files for tabular-pipeline 0.2.3

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

Source distribution (sdist)

Source distribution for tabular-pipeline 0.2.3
File Size Uploaded
tabular_pipeline-0.2.3.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tabular-pipeline 0.2.3
File Interpreter ABI Platform
tabular_pipeline-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / tabular_pipeline-0.2.3.tar.gz

Download URL tabular_pipeline-0.2.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a1de545c68e8b29206bead7c532e61faf23457610a3a50b8237e16798b428caf
BLAKE2b-256 checksum
How to use checksums
4f82d6d7a1f0dac46ee1f7a822c3a805f81d51c55f62fdee241414331504846e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.3.0

Release files / tabular_pipeline-0.2.3-py3-none-any.whl

Download URL tabular_pipeline-0.2.3-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa8f829ac18b61b62b35f9abe192315a3bb0e869d40f145a205db8cc99309819
BLAKE2b-256 checksum
How to use checksums
cfaa5150a85110e4aa7a221921be2f17f9dd6b10aecaa3b50a338fe41a823581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.3.0

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

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