MachineQ Python API Client
Installation
Recommended installation using uv add machineq (or via pip pip install machineq)
Example Usage
For more examples and API reference, check out the quickstart section and usage.
Here is a simple example of getting the list of devices on the subscriber using SyncClient:
from machineq import SyncClient
client_id = "your-client-id
client_secret = "your-client-secret"
client = SyncClient(client_id, client_secret)
devices = client.devices.get_all()
print(devices)
Features
- Synchronous Client
- Asynchronous Client
- Strong Typing
- Enhanced Tracing
- V2 API implementation
- Enhanced Logging
- CLI tool
Release files for machineq 1.1.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 | |
|---|---|---|---|
| machineq-1.1.0.tar.gz | 142.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| machineq-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 192.8 kB
Release files / machineq-1.1.0.tar.gz
| Download URL | machineq-1.1.0.tar.gz |
|---|---|
| Size | 142.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f5bf251d1447a719b43ffd134cb6c97de6e425002c20134822c7ffbf03eb1655
|
|
BLAKE2b-256 checksum How to use checksums |
f8c321cca7a49eb3a817189aff56fdfbddba47ea03af396d6d171822ea885f50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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 / machineq-1.1.0-py3-none-any.whl
| Download URL | machineq-1.1.0-py3-none-any.whl |
|---|---|
| Size | 50.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ce7ccb5cea01a9b07b52e95c02bc5c0626b6ebff3eb750703de0c9f00cdd24f
|
|
BLAKE2b-256 checksum How to use checksums |
b6f6061476b6f1b143c64f79c4bb2c86a1debdf4e1ac048e54b3a02550ed3c2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","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}
|