Skip to main content

CLI tool for Ignition SCADA 8.3+ REST API

Project description

ignition-cli

CLI tool for the Ignition SCADA 8.3+ REST API. Built with Typer, httpx, and Pydantic.

Quick Start

# Install
pip install -e ".[dev]"

# Configure a gateway connection
ignition-cli config add dev --url https://gateway:8043 --token "keyId:secretKey"

# Test the connection
ignition-cli config test

# Check gateway status
ignition-cli gateway status

Commands

Command Group Description Key Commands
config Manage gateway profiles init, add, list, show, test, set-default, remove
gateway Gateway operations status, info, backup, restore, modules, logs, loggers, log-download, scan-projects, scan-config, entity-browse
project Manage Ignition projects list, show, create, delete, export, import, copy, rename, resources, diff, watch
tag Tag operations browse, read*, write*, export, import, providers
device Device connections list, show, restart (supports --module/--type for non-OPC-UA)
resource Generic resource CRUD list, show, create, update, delete, names, types, upload, download
mode Deployment modes list, show, create, update, delete
api Raw API access get, post, put, delete, discover, spec

* Tag read and write are non-standard endpoints requiring a WebDev module or custom gateway extension.

Output Formats

All list/show commands support --format / -f with: table (default), json, yaml, csv.

ignition-cli project list -f json | jq '.[].name'
ignition-cli gateway status -f yaml

Authentication

  • API Token (recommended): --token "keyId:secretKey" (sent as X-Ignition-API-Token header)
  • HTTP Basic Auth: --username admin --password secret
  • Environment variables: IGNITION_GATEWAY_URL, IGNITION_API_TOKEN

Documentation

Run ignition-cli --help for full usage information. See docs/usage.md for the complete reference.

License

MIT

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

ignition_cli-0.1.0.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

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

ignition_cli-0.1.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ignition_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9223d7aa8efdc2551ce5654abe5ae2b5956d91246d025f91947c6ede6aee9216
MD5 54b804623301aa9230619c392b96be07
BLAKE2b-256 f6f5861d7a7e9286a95cb1359e5eb7cd6bae547b20d1a597f387257bc41285dc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ignition_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bab3ba2b5db89d78b5cd2f84bbc86555705bd575043e3b8df7a8a6b7b0be834b
MD5 fcb3c8be3904bc9847937c1ad82b3c74
BLAKE2b-256 071154e849020201c10ff16081ee5383fbac5e47b09e9572b6e3a5b62d1f630e

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