Skip to main content

Oplut CLI

V0.1 CLI for authenticating a board, running verified setup paths, and leaving behind useful robot-build outputs like camera streams and JSON endpoints.

Local development:

pip install -e ./cli
OPLUT_API_BASE_URL=http://YOUR_MAC_IP:3000 oplut auth
oplut setup --goal network-stream

Production target:

pip install oplut
oplut auth
oplut setup

oplut auth starts a browser device-code flow by default. It opens the approval URL, polls until the account approves the device, and stores the returned API key in ~/.oplut/credentials.json.

oplut setup detects the board and connected peripherals, asks what the user wants to build when no goal is provided, calls the Oplut API, executes the verified config, installs any persistent service, verifies it, and prints the useful output URL.

The default API is https://www.oplut.com. Only local development should use OPLUT_API_BASE_URL or --api-base-url.

Dashboard control:

oplut agent-install
systemctl status oplut-agent

This installs the dashboard job listener as a systemd service so the user does not need to keep oplut agent open manually.

Code-facing V0.1 helpers:

from oplut import CameraStream

camera = CameraStream.connect("192.168.7.2")
cap = camera.open_cv2()

while True:
    ok, frame = cap.read()
    if not ok:
        break
    # Build color filtering / OpenCV robot logic here.
from oplut import ArduinoSerial

serial = ArduinoSerial.connect("192.168.7.2")
print(serial.read())
from oplut import ServoControl

servo = ServoControl.connect("192.168.7.2")
servo.set_angle(90)

Metadata

Release files for oplut 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oplut 0.1.0
File Size Uploaded Provenance Actions
oplut-0.1.0.tar.gz 13.8 kB Without provenance Details for oplut-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oplut 0.1.0
File Interpreter ABI Platform Actions
oplut-0.1.0-py3-none-any.whl Python 3 none any Details for oplut-0.1.0-py3-none-any.whl

Total release size: 30.8 kB

Release files / oplut-0.1.0.tar.gz

Download URL oplut-0.1.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e4b2ebdcdb140ac90c294ff414317ba9b810f7f65e9f19d1ff72bcf88820b19b
BLAKE2b-256 checksum
How to use checksums
a3c0c7d5443fee9978cb7f16c21144e5f004cc44b1fbff39e750680f2c6387b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / oplut-0.1.0-py3-none-any.whl

Download URL oplut-0.1.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1531c8d4f72de0574972679012220f5070b9a1bbc2da5da9b0033c4d92bf8114
BLAKE2b-256 checksum
How to use checksums
5b4fd3d1f75d506bd3129af3e2c6506a86dbb656c8c5ef77079efb05e06e742c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Security for oplut 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page