Skip to main content

Ignition Scripting API

Project description

ignition-api 8.1

PyPI - Python Version PyPI - Version PyPI - Downloads ci Join us on GitHub discussions

ignition-api is a Python package that allows developers to get code completion for Ignition Scripting API functions in their IDE of choice.

Table of contents

Prerequisites

Before you begin, ensure you have met the following requirements:

Installation

Requires Python 2.7.18.

python2 -m pip install ignition-api

This installs the package to your Python 2 installation, allowing you to call Ignition Scripting functions from Python's REPL and get code completion in IDEs such as PyCharm and Visual Studio Code.

$ python2
Python 2.7.18 (default, Nov  9 2020, 16:23:15)
[GCC Apple LLVM 12.0.0 (clang-1200.0.32.21)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import print_function
>>> import system.util
>>> print(system.util.__doc__)
Utility Functions.

The following functions give you access to view various Gateway and
Client data, as well as interact with other various systems.

>>> system.util.beep()
>>> quit()

To uninstall:

python2 -m pip uninstall ignition-api

Stubs

ignition-api-stubs is a companion package that provides Python type stubs (.pyi files) for the Ignition Scripting API. Type stubs enable static type checking and enhanced IDE support for code that depends on ignition-api.

Project structure

Packages

This project consists of the following packages:

com.google

This package includes supporting classes and interfaces from Guava: Google Core Libraries for Java 32.0.1-jre API. For more information, see documentation here: https://javadoc.io/doc/com.google.guava/guava/32.0.1-jre/index.html

com.inductiveautomation

This package includes supporting Inductive Automation's classes and interfaces. For more information, see documentation here: https://sdk.inductiveautomation.com/javadoc/ignition81/8.1.54/index.html.

org.apache

org.apache.commons.lang3

This package includes supporting classes and interfaces from Apache Commons Lang 3.11 API. For more information, see documentation here: https://javadoc.io/doc/org.apache.commons/commons-lang3/3.11/index.html

org.apache.commons.math3

This package includes supporting classes and interfaces from Apache Commons Math 3.6.1 API. For more information, see documentation here: https://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/index.html

org.apache.commons.poi

This package includes supporting classes and interfaces from Apache POI 4.1.2 API. For more information, see documentation here: https://www.javadoc.io/doc/org.apache.poi/poi/4.1.2/index.html

org.bson

This package includes supporting classes and interfaces from Mongo Java driver 4.8.1, see documentation here: https://javadoc.io/doc/org.mongodb/bson/4.8.1/index.html

org.json

This package includes supporting classes and interfaces from the Inductive Automation's org.json package, see documentation here: https://sdk.inductiveautomation.com/javadoc/ignition81/8.1.54/org/json/package-summary.html

org.python

This package includes supporting Jython classes and interfaces. For more information, see documentation here: https://www.javadoc.io/doc/org.python/jython-standalone/2.7.3/index.html.

org.slf4j

This package includes supporting classes and interfaces from SLF4J API Module. For more information, see documentation here: https://www.javadoc.io/doc/org.slf4j/slf4j-api/2.0.12/index.html.

system

This package includes all Ignition Scripting Functions. For more information, see documentation here: https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions.

Contributing

See CONTRIBUTING.md.

Discussions

Feel free to post your questions and/or ideas at Discussions.

Contributors

Thanks to everyone who has contributed to this project.

Up-to-date list of contributors can be found here: CONTRIBUTORS.

License

See the LICENSE.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Disclaimer

This project is not an official product of Inductive Automation. Ignition is a trademark of Inductive Automation. This package is community-maintained and provided as-is for development assistance purposes.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ignition_api-8.1.54.tar.gz (163.0 kB view details)

Uploaded Source

Built Distribution

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

ignition_api-8.1.54-py2-none-any.whl (226.4 kB view details)

Uploaded Python 2

File details

Details for the file ignition_api-8.1.54.tar.gz.

File metadata

  • Download URL: ignition_api-8.1.54.tar.gz
  • Upload date:
  • Size: 163.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for ignition_api-8.1.54.tar.gz
Algorithm Hash digest
SHA256 c7211b0f9b4a4cf425a9d2709303a8a2d9e3b4724ea4bdb4ef4020ffb5c69f39
MD5 aced063373ddb8665f4cfdbbdcf53466
BLAKE2b-256 b7458a1a2da207126bc78b5eee53fcfe0112a497e1fe3d1919702aba2c8c7aad

See more details on using hashes here.

File details

Details for the file ignition_api-8.1.54-py2-none-any.whl.

File metadata

  • Download URL: ignition_api-8.1.54-py2-none-any.whl
  • Upload date:
  • Size: 226.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for ignition_api-8.1.54-py2-none-any.whl
Algorithm Hash digest
SHA256 a2f8aa8c67ea06797678c0520ddcffae0abb77e92f6aac17ea1c16fc48c55e21
MD5 3393f9bbad2f06e4d0fc63f9857c2c58
BLAKE2b-256 d71c06cc68622c19e10c94c768a09960c6c52bf8224c9586ccd8b3720e405a8e

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