Skip to main content

Python wrapper and utilities for the E3.series COM interface.

Project description

Python wrapper for the E3.series API

python e3series is a wrapper library for the E3.series API. The library enhances the automatic code completion and static program verification for python programs that automate E3.series.

This library requires a working instance of the software Zuken E3.series.

Getting Started

Which version to install

The first two sections of the E3.series python libraries version are equal to the version of E3.series version they are meant to be used with. Which means, it is best to use a library version 26.21.XX with a E3.series version 26.21. It is possible to a library version that does not match your E3.series version.

If the version of the library is higher than the version of your E3.series version the library may contain functions your E3.series does not support. In this case you will get an exception whn using such a function. This can be avoided by checking the minimum version required by the function, which is given at the bottom of tooltip of each function.

If the version of your E3.series is higher than the version of your library there might be some functions the library does not support. In this case you cannot use those functions via the library. It is also important to note that, in addition to COM functions, newer versions of the library provide further independent functionality. In addition there might be some bugfixes available only in newer versions.

Some examples:

E3.series version Python library version
23.20 26.10.0 The library works for every function supported in E3.series 23.20. It will raise an excption for unsupported functioality. For example dbe.CreateDbeJobObject()
26.10 26.10.0 Everything in the library is supported by E3.series 26.10, and all functios in E3.series 26.10 are supported by the library. But e3series.tools.Translation is not contained and there might be unfixed bugs.
26.21 26.10.0 All function in the E3.series version are available in the library. There might be functions in the library that are unsupported by your E3.series version. Using them leads to an exception.

Installing the library

If neccessary activate your virtual environment first. To do so open your powershell and run "activate":

.\.venv\Scripts\activate

Afterwards your powershell should look like this (note the .venv on the left side):

(.venv) C:\your\active\path\>

Pip will install the package to the currently active virtual enironment. If none was activated the package will be installed to the global environment of your active python installation. If you have installed multiple python installations you can find the active one by executing

Get-Command python

or

(Get-Command python).path

to get only the path.

From Pypi

pip install e3series

From local file

pip install --force-reinstall "C:\Users\<user>\Downloads\e3series-26.0.0.tar.gz"

The option "--force-reinstall" ensures the package is reinstalled, even if it already is up to date

Install a specific version

pip install --force-reinstall "e3series==26.10.0"

In the given example the --force-reinstall ensures to install the specified package even if there is a newer version already installed. By adding "=26.10.0" the version to install in specified.

Using the library

Use the library:

import e3series as e3

app = e3.Application()
app.PutInfo(0, "hello, world!")

The documentation is currently optimised for use with VSCode and may appear poorly formatted in other IDEs.

For more samples you can visit the git repository https://github.com/Zuken-E3-GmbH/E3SeriesPythonExamples.

The Changelog can also be found on github: Link

Project details


Download files

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

Source Distribution

e3series-27.0.1.tar.gz (592.3 kB view details)

Uploaded Source

Built Distribution

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

e3series-27.0.1-py3-none-any.whl (920.3 kB view details)

Uploaded Python 3

File details

Details for the file e3series-27.0.1.tar.gz.

File metadata

  • Download URL: e3series-27.0.1.tar.gz
  • Upload date:
  • Size: 592.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for e3series-27.0.1.tar.gz
Algorithm Hash digest
SHA256 b6163b4b135e94fdc5e5609f2d1f9c70fd39bed001676e7e3b55e8d5667e431b
MD5 ca87252e8a0dd617fd0257e5f53db527
BLAKE2b-256 5ed1d12506a8ae841abd73f2335cdc0c6a40ec1e8a3bf699a7650e7494bc48b2

See more details on using hashes here.

File details

Details for the file e3series-27.0.1-py3-none-any.whl.

File metadata

  • Download URL: e3series-27.0.1-py3-none-any.whl
  • Upload date:
  • Size: 920.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for e3series-27.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2753644a5321c2910991dd3fc015090581f9f43a032146a8f87470bb4f1bfe9a
MD5 43d056539a224eb3022e30dcce8a7302
BLAKE2b-256 102cb5bfc88506ae2d216941064192338c88f096592ffa5d6618569465143a6e

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