Package that extends and wraps some functions from Ignition's Scripting API.
For more information, please refer to the Wiki.
Before you begin, ensure you have met the following requirements:
- You are familiar with Ignition 8.1 System Functions
- You have installed Python 2.7.18
- You have installed Java 17 and Jython 2.7.3
To use incendium
, you may install it with pip
. It requires
Python 2.7.18 or Jython 2.7.3.
python2 -m pip install incendium
Or
jython -m pip install incendium
This will install it as package to your Python installation, which will allow
you to call incendium
's Scripting functions from Python's REPL, and get code
completion using an IDE (PyCharm or Visual Studio Code).
And to uninstall:
python2 -m pip uninstall incendium
Or
jython -m pip uninstall incendium
To include incendium
as a dependency in PyCharm, you will need to attach
it to your project.
- Clone the repo or download from releases
- With your project open where you want to include
incendium
, navigate toFile > Open
and select theincendium
project folder - Choose
Attach
when prompted - Under the
incendium
project folder, right-click on thesrc/
folder and chooseMark Directory as > Sources Root
Tip
You may use the Python in Ignition guide as reference.
To install incendium
as a Jython package on your Gateway, follow
these steps:
- Install Java 17
- Install Jython 2.7.3
- Run
jython -m pip install incendium
- Copy the
incendium
directory andtyping.py
from$JYTHON_HOME/Lib/site-packages
to$IGNITION_DIR/user-lib/pylib/site-packages
- Done
To install incendium
as a Python package on your Gateway, follow these steps:
- Install Python 2.7.18
- Run
python -m pip install incendium
- Copy the
incendium
directory andtyping.py
from$PYTHON2_HOME/Lib/site-packages
to$IGNITION_DIR/user-lib/pylib/site-packages
- Done
See CONTRIBUTING.md.
Feel free to post your questions and/or ideas at Discussions.
Thanks to everyone who has contributed to this project.
Up-to-date list of contributors.
See LICENSE.
See CODE_OF_CONDUCT.md.