Skip to main content

plantsimpath

A Python helper class to make Siemens Tecnomatix Plant Simulation Path usage accessible.

Setup • Examples • Further documentation • Notice • License

Setup

Install via pip:

pip install plantsimpath

Find this package on Pypi.

Examples

from plantsimpath import PlantsimPath

station = PlantsimPath(".Models.Model.Station")
station_wo_dot = PlantsimPath("Models.Model.Station")

print(
    f'Do Plantsim path always begin with a "."? {"Yes" if station == station_wo_dot else "No"}'
)

attribute_div = station / "ProcTime"
attribute_add = station + "ProcTime"
attribute_init = PlantsimPath(station, "ProcTime")

print(
    f"Are all paths the same? {'Yes' if attribute_div == attribute_add == attribute_init else 'No'}"
)

model = station.parent()
is_child = station.is_child_of(model)
print(f"Is {station} a child of {model}? {'Yes' if is_child else 'No'}")

system_path = station.to_path()
print(f"{station} is located at {system_path}")

table_path = PlantsimPath('.Models.Model.Table["ColumnIndex",10]')
object_in_table = table_path / "ProcTime"

print(
    f"Is {object_in_table} a child of {table_path}? {'Yes' if object_in_table.is_child_of(table_path) else 'No'}"
)

There are further examples in the example folder.

Further documentation

Here is the documentation for plantsimpath

Notice

This package is not developed, endorsed, or maintained by Siemens AG. The names "SimTalk" and "Plant Simulation" are trademarks of Siemens AG.

License

This package is distributed under the MIT License.

Metadata

Release files for plantsimpath 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plantsimpath 0.0.6
File Size Uploaded Provenance Actions
plantsimpath-0.0.6.tar.gz 5.2 kB Without provenance Details for plantsimpath-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plantsimpath 0.0.6
File Interpreter ABI Platform Actions
plantsimpath-0.0.6-py3-none-any.whl Python 3 none any Details for plantsimpath-0.0.6-py3-none-any.whl

Total release size: 10.6 kB

Release files / plantsimpath-0.0.6.tar.gz

Download URL plantsimpath-0.0.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6b9ced0049d75a683f6ea7ac500dc7a701d007f07528eb82aa611dfb495a713e
BLAKE2b-256 checksum
How to use checksums
d3ed22ac34029eeb3e91bd78c5fcd3abf348d82f6f6cce50a2f4601eb7139e49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / plantsimpath-0.0.6-py3-none-any.whl

Download URL plantsimpath-0.0.6-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54e879443fdc57eed85cd28bad37659d8722769b1a52bded0ce7531f3bbd1619
BLAKE2b-256 checksum
How to use checksums
1f9512d517146fcd98c52034fed7557ec604d13e4bed7b552d794ebbf64faffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for plantsimpath 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page