Hello community,
We come to you with, what we consider, an important announcement regarding the future of the incendium
project (Ignition Exchange, GitHub).
Starting with version 2024.4.0 (if we manage to ship it before April 30, 2024) we will only distribute it as a [J/P]ython package, meaning you will be able to install it via python2 -m pip install
as a dependency to your scripting projects, and via jython -m pip install
if you'd like to install it under IGNITION_HOME/user-lib/pylib/site-packages
(Ref: Using pip from the Python In Ignition article)
We also intend to refactor the incendium.util
module and find a better place for most of the functions, except two which are getting the axe: get_timer
and get_timestamp
.
Pros:
- We will reduce maintainer burnout, so instead of maintaining three repos (incendium, project and stubs), we will only support and continue development on two.
incendium
will bepip
-installable on Jython and Python 2.7.- We will add the following modules:
gui
[1], andl10n
as a result from refactoring theutil
module. - We will add the following classes under
incendium.exceptions
:Error
,GatewayError
,JavaError
, andMSSQLError
[2].
Cons:
- You will lose code completion on the Designer and Script Console until Inductive Automation enables code analysis on third-party Python libraries[3].
- We're removing
incendium.util.get_timer
andincendium.util.get_timestamp
.
Stay tuned for more.
Why
incendium.gui
if we already haveincendium.vision.gui
? Because we intend to addincendium.perspective.gui
in the future. ↩︎If you'd like to do the same for MariaDB, MySQL, Oracle, PostgreSQL, and SQLite, you may create your own class and inherit from
JavaError
and create a PR while you're at it. ↩︎Learn more here: Coming in 8.1.18: Script editor improvements ↩︎