Skip to main content

CLI for running Talend Cloud jobs

Project description

talend-task

CLI for running Talend Cloud jobs


Status

Latest Version
Build/Tests (CI)
Supported Python Versions

About

talend_task is a Python CLI for running Talend Cloud jobs, including ETL pipelines, workflows, and tasks.

Select a job interactively, or specify one directly with --job.


Installation

Install the package from PyPI:

pip install talend-task

CLI

After installation, the talend_task command is available in your shell.

CLI Options:
$ talend_task -h
usage: talend_task [-h] [--debug] [--wait] [--job NAME] [--poll-interval SECS]

Talend Cloud CLI

options:
  -h, --help            show this help message and exit
  --debug               enable debug logging
  --wait                wait for job to complete and return status
  --job NAME            job name
  --poll-interval SECS  polling interval (requires --wait) (default: 5)

Configuration

The CLI requires an Access Token and an API URL for your Talend region.

Configuration is provided via environment variables:

export API_URL=https://api.<region>.talend.com
export ACCESS_TOKEN=<access-token>

Alternatively, you can define these variables in a .env file in the current directory:

API_URL=https://api.<region>.talend.com
ACCESS_TOKEN=<access-token>

Usage Examples

Direct mode

Run a specific job immediately by providing --job <name>:

talend_task --job Job1

Interactive mode

Run the CLI without specifying a job to select and execute one from a menu:

talend_task

Optionally, add the --wait flag in either mode to wait for the job to complete and return its final status.

talend_task --wait --job Job1

Screenshots

Interactive mode

Screenshot

Direct mode

Screenshot


Development

  • Install as editable package with required development/testing dependencies:

    pip install --editable --group dev --group test .
    
  • Run all tests:

    pytest
    
  • Run linting and formatting:

    tox -e lint
    
  • Run validation, linting, formatting, and all tests across all supported/installed Python environments:

    tox
    

Project Structure

./
├── .github/
│   └── workflows/
│       └── test.yml
├── src/
│   └── talend_task/
│       ├── __init__.py
│       ├── cli.py
│       └── talend_client.py
├── tests/
│   ├── test_cli.py
│   └── test_talend_client.py
├── pyproject.toml
└── tox.ini

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.2.tar.gz (9.7 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.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for talend_task-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8ab35e76b0163bf09f5239b8b410c6f31af80f125b066707cd5648f6183247b1
MD5 58d336ee9c9995fc8f7dce72ee64a77b
BLAKE2b-256 33c2a1d2843f34abc843c8dd08f69686ecbbdbc7ba9f00fd746ba309493234c6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for talend_task-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 736eef28b7313e6ecf6a3dc01d7697c795fbbef60fb4d32f09ac52c68e01c258
MD5 3e91fd83924ea9f18aa99f9e5daf0444
BLAKE2b-256 007a6ce15e2b893a046c3110859ecde09e46e14c1c0934bf7ebc061294e2f970

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