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 --help
usage: talend_task [-h] [--debug] [--wait] [--job NAME] [--timeout SECS] [--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
  --timeout SECS        timeout (requires --wait) (default: no timeout)
  --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.3.tar.gz (11.3 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.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: talend_task-0.1.3.tar.gz
  • Upload date:
  • Size: 11.3 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.3.tar.gz
Algorithm Hash digest
SHA256 73f828be5d6603e3bb91825aea2eb03a854d37b2a41aa6bea847a75c5e913dee
MD5 ce6c53de3dc9bd9be0ae5fd34b686329
BLAKE2b-256 a4bc00916ca9c40261e06aa417262d7d8b40e73ed58a5a7ec345a4a82a07de00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: talend_task-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46ea8bf122ae0f976bd64dae1ba24777f9626882890a542182a69d475f88b2a3
MD5 db7c7da5442816ff9aa2a8d36015f9b3
BLAKE2b-256 91c2e71048afa7148407bb95a157e90c13b49ccb1a8afbb1f12ca3af702cf264

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