Skip to main content

CLI for running ETL jobs (tasks) remotely via Talend Cloud API

Project description

talend-task

CLI for running ETL jobs (tasks) remotely via Talend Cloud API

Development GitHub
License MIT
Releases PyPI
Supported Python Versions 3.10+

About:

talend-task is a Python CLI tool for remotely running Talend ETL jobs (tasks).

You can specify a job to run by its name (using the --job argument) or it will list all available jobs and let you select which one to run.


Installation:

Install from PyPI:

pip install talend-task

Configuration:

You need to configure an Access Token (generated in Talend Management Console) and the API endpoint URL you will connect to (i.e. https://api.<region>.talend.com).

These are setup using the API_URL and ACCESS_TOKEN environment variables:

$ export API_URL=<endpoint URL>
$ export ACCESS_TOKEN=<access token>

You can also set this in an .env file in the current directory.

For example:

API_URL=https://api.us-west.cloud.talend.com
ACCESS_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

CLI Options:

$ talend_task --help
usage: talend_task [-h] [--wait] [--job JOB]

options:
  -h, --help  show this help message and exit
  --wait      wait for task to complete and show status
  --job JOB   Talend ETL task name

Usage Examples:

Launch the CLI to select a job to run:

talend_task

Run a job named "MyJob":

talend_task --job MyJob

Run a job named "MyJob" and wait (poll) until the job completes:

talend_task --wait --job MyJob

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

talend_task-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

talend_task-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file talend_task-0.1.0.tar.gz.

File metadata

  • Download URL: talend_task-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for talend_task-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9833497888725b0c5d636f6110bd9ff1ef3c2f42c65130d94301a07825ef5084
MD5 f03a04734e61884112a97bb409f3768a
BLAKE2b-256 ca1be38209e3ddf4848b0c61597af269c518f60a25ca326711dc105c9265dd2a

See more details on using hashes here.

File details

Details for the file talend_task-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: talend_task-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for talend_task-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 faa80b82ce912574b51e32929b6a1c75ef67094959cae300bf1e219853caac93
MD5 c66c893f9c6982033f4b502911b237c7
BLAKE2b-256 e128db15e5b0143225fe1daf0ff84ef42ef1c347f066bfd92d3b2808a12d6d10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page