Python package for programmatically controlling Progressive Automations desk lifters (e.g., LG-07 modular lifting column via FLTCON) with Prefect workflow orchestration.
Control your desk lifter remotely via Prefect Cloud deployments with asynchronous execution and position polling. Perfect for laboratory automation where the desk position needs to be coordinated with other equipment.
# 1. Install
pip install progressive-automations-python
# 2. Configure Prefect Cloud
prefect cloud login -k <your-api-key>
prefect work-pool create desk-lifter-pool --type process
# 3. Deploy flows
python -c "from progressive_automations_python.deployment import create_deployments; create_deployments()"
# 4. Start worker on Raspberry Pi
prefect worker start --pool desk-lifter-poolTrigger movements asynchronously from any Python environment:
from prefect.deployments import run_deployment
# Trigger movement (returns immediately)
flow_run = run_deployment(
name="simple-movement-flow/move-to-position",
parameters={"target_height": 35.5},
timeout=0 # Don't wait, return immediately
)
# Poll status later
# ... (see documentation for polling examples)- Installation and Usage Guide - Complete setup and API reference
- Raspberry Pi Setup - Hardware configuration
- Bill of Materials - Required components
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.