Add your description here
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mightyzap_17lf-0.2.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mightyzap_17lf-0.2.0.tar.gz.
File metadata
- Download URL: mightyzap_17lf-0.2.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8e431c57d4b45e45ef120d7a3db057f84bbc2d57c4415cc3443f6cd26a1513e
|
|
| MD5 |
4907384e2989865b666099267f61328b
|
|
| BLAKE2b-256 |
8e954227295e62d02095c022181eb047f99959dc8a43e6e4af88341262b7d974
|
File details
Details for the file mightyzap_17lf-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mightyzap_17lf-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e4c10d80c522f640c539bcd6bb3fbfb89992c46101e1b7863a68495b2865c8a
|
|
| MD5 |
8e5db982dd4c272d7846f852b76765b4
|
|
| BLAKE2b-256 |
1fe5c04c2c5cf370d62656583056032a647697d8b3d65533c21b2a592c093b8c
|