MightyZap 17Lf Python Library and CLI
A Python library to control the MightyZap 17Lf series of linear actuators.
Installation
As a CLI tool
uv tool install mightyzap-17lf
As a Python library
mkdir project & cd project
uv init
uv add mightyzap-17lf
uv run python
>>> from mightyzap_17lf import MightyZap17Lf
>>> mighty = MightyZap17Lf("COM4")
>>> mighty.speed = 500
>>> mighty.position = 10000
CLI usage
# Set position 8000
$ mz COM4 position 8000
# Set position 10000 with speed 500
$ mz COM4 position 10000 500
# Read current position
$ mz COM4 position
10000
# Set register 12 to 800 (long stroke limit)
$ mz COM4 register 12 800
# Read register 12
$ mz COM4 register 12
$ mz COM4 firmware_version
v1.2.3
$ mz COM4 serial_number
4752
Metadata
Release files for mightyzap-17lf 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mightyzap_17lf-0.2.0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mightyzap_17lf-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / mightyzap_17lf-0.2.0.tar.gz
| Download URL | mightyzap_17lf-0.2.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8e431c57d4b45e45ef120d7a3db057f84bbc2d57c4415cc3443f6cd26a1513e
|
|
BLAKE2b-256 checksum How to use checksums |
8e954227295e62d02095c022181eb047f99959dc8a43e6e4af88341262b7d974
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / mightyzap_17lf-0.2.0-py3-none-any.whl
| Download URL | mightyzap_17lf-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e4c10d80c522f640c539bcd6bb3fbfb89992c46101e1b7863a68495b2865c8a
|
|
BLAKE2b-256 checksum How to use checksums |
1fe5c04c2c5cf370d62656583056032a647697d8b3d65533c21b2a592c093b8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|