Skip to main content

Reiners ETL - RETL

CLI tool to get raw data from different remotes and store them locally in your project folder. The remotes and files which shall be downloaded, are read from a .retl.yaml configuration file, which must be present in your project folder.

Usage

Note: Requires rclone to be installed on your system.

Here are some options to use the tool:

  • with uv run: uv tool run reiners-etl
  • with pipx run: pipx run reiners-etl

Usage with as python script is not recommended as you would have to install it using pip, which installs dependencies you might not want in your system or project python.

This downloads all related files to your system. You might need to log in to a cloud provider first, this happens automatically.

Configuration

The configuration file in which remotes and files are defined must be stored as .retl.yaml in your project folder. A name defines each remote, and each remote holds information for rclone access point as well as file sources and targets, which are project-dependent. You can run rclone config (you can add --config <path-to-local-config-file> to store configuration locally) to define a new remote. After configuration, you must translate rclone configuration format (.conf) into YAML format used by retl. Additionally, you must define files which shall be downloaded from remote by defining a list of files with related sources and targets. To list possible files to download from remote, you can run rclone tree <name-of-remote>: (note: ":" is crucial here).

Example configuration file:

sharepoint:
  type: onedrive
  client_id:
  client_secret:
  drive_id: b!J5kKSe-f_E6loyOdRZSpoFA76THG7klMiQjFV3H8CDreOkX_58VVRI8LsCw0U5sg
  drive_type: documentLibrary
  files:
    - name: slider
      source: "400_General/02 Arbeitspakete/03 AP Simulation und StEmp-Tool/2025-04-28_Daten.xlsx"
      target: "data/"
    - name: scenarios
      source: "400_General/02 Arbeitspakete/03 AP Simulation und StEmp-Tool/Scenarios.xlsx"
      target: "data/"

Implementation

Config without tokens is stored in the project folder. At first usage, the config file is copied to the temp folder (including the project name in the path) and rclone is started pointing to temp config. This assures that the login token is stored in the temp config file and not in project config, which could lead to accidental pushing of secrets. Afterwards, remote authentification is done if necessary. Finally, files from all remotes are downloaded.

Metadata

Release files for reiners-etl 0.2.2

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

Source distribution (sdist)

Source distribution for reiners-etl 0.2.2
File Size Uploaded Provenance Actions
reiners_etl-0.2.2.tar.gz 4.0 kB Without provenance Details for reiners_etl-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reiners-etl 0.2.2
File Interpreter ABI Platform Actions
reiners_etl-0.2.2-py3-none-any.whl Python 3 none any Details for reiners_etl-0.2.2-py3-none-any.whl

Total release size: 8.6 kB

Release files / reiners_etl-0.2.2.tar.gz

Download URL reiners_etl-0.2.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2aa56b69bb2c0843e5b8ca9b9447e04a3f09c166b435432215ec793810ae1580
BLAKE2b-256 checksum
How to use checksums
5b5d78a84c136173259c41eb3ac4fcca5f17f801f319dae3fd86681ce544cd59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.2

Release files / reiners_etl-0.2.2-py3-none-any.whl

Download URL reiners_etl-0.2.2-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26d49d74931fddd3afcf7aceba460425883d0382c9e803d514b32fd8d11466e6
BLAKE2b-256 checksum
How to use checksums
9b03923654c24f290e7eb121bb421108fafeb25d14d6c29a02424e970855504f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.2

Security for reiners-etl 0.2.2

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.

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