Skip to main content

Python package e3sertools

Handy tools for working with Zuken E3.series API using e3series package.

Functionality

This package provides this functionality:

  1. Resolve PID of target E3 process in meaningful way: check corresponding environment variable (E3_SERIES_PID), if it is not set then check parent processes, if nothing from above works then just ask a user which e3series process to connect to. This functionality is available as Application.resolve_e3_pid() with Application from e3sertools.extensions module.
  2. Control COM-connection initialization and finalization by code. This functionality is available as ReleaseComObject() method implemented for classes in e3sertools.extensions module. They also implement ContextManager protocol and close connection on context exit.
  3. Have global context variables for Application and Job connections to reuse them between modules. Context variables for Application and Job classes are available as app and job from e3sertools.contextvars module.

Examples

import e3series as e3
import e3sertools.contextvars
import e3sertools.extensions

# Resolve target E3.series application
app = e3.Application(e3sertools.extensions.Application.resolve_e3_pid())

# Cnotrol COM-connection using context manager and context variables.
with e3sertools.contextvars.job.set(app.CreateJobObject()):
    ... # do things with job

Release files for e3sertools 0.3.0

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

Source distribution (sdist)

Source distribution for e3sertools 0.3.0
File Size Uploaded
e3sertools-0.3.0.tar.gz 10.2 kB Details

Built distribution (wheel)

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

Total release size: 22.9 kB

Release files / e3sertools-0.3.0.tar.gz

Download URL e3sertools-0.3.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b060f97c817d69b9fdb51e4f80f9dd9b0d84a66aa5e950da4ff0e99579a176d4
BLAKE2b-256 checksum
How to use checksums
83eaaa2e77678d6ca41e3bd98212863c9bbef6ccddafbca3b91548fdb2262589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / e3sertools-0.3.0-py3-none-any.whl

Download URL e3sertools-0.3.0-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
323b0c65f1d146661adb9a8c8f3e01d4f55eeb4e24e267fd0940d3f1e2227547
BLAKE2b-256 checksum
How to use checksums
888e8c8521dfb9b7caf261af99726f009a961a9b24bc26263b2981055fd28c96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.1

2 release files

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