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.2.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.2.0-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ignition_cli-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 09ba1579d77b1c91f931f5cd45be444ccb808c6ab75c659cd3b16c5ddf328c5b
MD5 c919f152f966d1bfe5d912129d967a78
BLAKE2b-256 39908ec3e8f9fb37395dc01498cb1cd829b726426127059eebc32e5a6ab7f1de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ignition_cli-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 706499676caf8c06a5ee7bbe505a386515a1608cffe4aaec5520215373ceffe8
MD5 f392a37eb77d019d3238bdd95c5e630d
BLAKE2b-256 f413cdee94f4bd2a6d7b0dc3d37b4f56ca62294736c60859c9c66dfa9e86be77

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