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   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.1.tar.gz (5.0 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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: talend_task-0.1.1.tar.gz
  • Upload date:
  • Size: 5.0 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.1.tar.gz
Algorithm Hash digest
SHA256 e1d8f918e2e53c9ce2c60da0791b04570bd257eef48afece58aee510b0657903
MD5 6932ac260786dbfcbd76dc1f1073fc6c
BLAKE2b-256 7f5002236263fcc4ae679c8b5315fff200e8f8c5d63506a26dc2f51d489913a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talend_task-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1d543b84673370f4d545dc1f4b781eec336c1ba4e8a45ac2681da8c0e498c744
MD5 3b1e430fa8bfebad63d0ae50dc080164
BLAKE2b-256 d5a6b8fd75ab1a9f691c5f041f3294642b680a805731b2be179445634306cbff

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