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, assign, unassign
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.3.0.tar.gz (62.9 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.3.0-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ignition_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 62.9 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.3.0.tar.gz
Algorithm Hash digest
SHA256 67a802b82515a80c72ec0b63dd7342c6d7b157dc2eca9bbf0894bc00f8fc7b6f
MD5 f9a12255581230bbf27322f4917d1728
BLAKE2b-256 0ef96762a41b309a79d3935e0231163fd468cc47bb4f2e379945303d84929687

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ignition_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 37.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4123cb298d4e827dae15f0d953cfe390a9b6e492ef7005b76b7df46230cfa7fd
MD5 305de7445f615e804576b4b3e3578ca5
BLAKE2b-256 9aa39b81ddcfc43dbe584e02e5ba30b1a686c588d207fc33d37aad9fb33d9478

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