PfeifferHiCube
A Python library for basic control of the Pfeiffer Vacuum HiCube Neo vacuum pump system via OPC-UA.
Usage
Connect to the HiCube Neo by providing its IP address or hostname. The recommended way is to use a with statement, which ensures the connection is cleanly closed after use:
from pfeifferhicube import HiCubeNeo
with HiCubeNeo("192.168.1.100") as cube:
cube.evacuate()
# Now both pumps of the system should be turned on
print(cube.turbopump) # True
print(cube.backingpump) # True
The object can also be instantiated directly, in which case the connection is closed when the object is garbage collected:
cube = HiCubeNeo("192.168.1.100")
cube.evacuate()
Constructor Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
host |
str |
— | IP address or hostname of the HiCube Neo |
port |
int |
4840 |
TCP port of the OPC-UA server |
timeout |
float |
4 |
Timeout in seconds for server responses |
Pump control
| Method | Description |
|---|---|
evacuate() |
Enable backing pump and turbopump |
vent() |
Disable turbopump and backing pump |
enable_turbopump() |
Enable turbopump only |
disable_turbopump() |
Disable turbopump only |
enable_backingpump() |
Enable backing pump only |
disable_backingpump() |
Disable backing pump only |
The pump states can also be read and set directly via properties:
cube.turbopump = True # enable turbopump
cube.turbopump = False # disable turbopump
print(cube.turbopump) # read turbopump state
cube.backingpump = True # enable backing pump
cube.backingpump = False # disable backing pump
print(cube.backingpump) # read backing pump state
Relay control
| Method | Description |
|---|---|
enable_relay1() |
Switch relay 1 |
disable_relay1() |
Return relay 1 to normal position |
enable_relay2() |
Switch relay 2 |
disable_relay2() |
Return relay 2 to normal position |
Relay states can also be read and set via properties:
cube.relay1 = True
print(cube.relay1)
cube.relay2 = True
print(cube.relay2)
License
MIT License - Copyright (c) 2026 Jonas Grage
Metadata
Release files for pfeifferhicube 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pfeifferhicube-0.1.1.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pfeifferhicube-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.2 kB
Release files / pfeifferhicube-0.1.1.tar.gz
| Download URL | pfeifferhicube-0.1.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d014f241b3bd28d61180b8d28886b6e033544bbabc2e74a9383948fd6e4eb942
|
|
BLAKE2b-256 checksum How to use checksums |
925ffa697c0b50d1a2085714979c2e490615516b11349123fba198ffcc7aee9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pfeifferhicube-0.1.1-py3-none-any.whl
| Download URL | pfeifferhicube-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bf8fc98fbc7ff8444a96859e030945bc0f9c22fd1c65df33e01d8f9609980fb
|
|
BLAKE2b-256 checksum How to use checksums |
9685102dac1fbce6af69a9e177362d2bc9253fe72533dd076ca97c8aea12d529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|