Skip to content

Commit f96b3a4

Browse files
authored
Merge pull request #5 from AccelerationConsortium/movements
Movements
2 parents 7dc674f + ad8d695 commit f96b3a4

14 files changed

Lines changed: 1803 additions & 6 deletions

File tree

README.md

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,50 @@
1414

1515
# progressive-automations-python
1616

17-
> Python package for programmatically controlling progressive automations tools (e.g., LG-07 modular lifting column via FLTCON).
17+
> Python package for programmatically controlling Progressive Automations desk lifters (e.g., LG-07 modular lifting column via FLTCON) with Prefect workflow orchestration.
1818
19-
A longer description of your project goes here...
19+
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.
2020

21-
## Setup
21+
## Quick Start
2222

23-
For Raspberry Pi 5 setup instructions, see [docs/raspberry-pi-setup.md](docs/raspberry-pi-setup.md).
23+
```bash
24+
# 1. Install
25+
pip install progressive-automations-python
2426

25-
For bill of materials, see [docs/bill_of_materials.md](docs/bill_of_materials.md).
27+
# 2. Configure Prefect Cloud
28+
prefect cloud login -k <your-api-key>
29+
prefect work-pool create desk-lifter-pool --type process
30+
31+
# 3. Deploy flows
32+
python -c "from progressive_automations_python.deployment import create_deployments; create_deployments()"
33+
34+
# 4. Start worker on Raspberry Pi
35+
prefect worker start --pool desk-lifter-pool
36+
```
37+
38+
## Usage
39+
40+
Trigger movements asynchronously from any Python environment:
41+
42+
```python
43+
from prefect.deployments import run_deployment
44+
45+
# Trigger movement (returns immediately)
46+
flow_run = run_deployment(
47+
name="simple-movement-flow/move-to-position",
48+
parameters={"target_height": 35.5},
49+
timeout=0 # Don't wait, return immediately
50+
)
51+
52+
# Poll status later
53+
# ... (see documentation for polling examples)
54+
```
55+
56+
## Documentation
57+
58+
- [Installation and Usage Guide](docs/installation-and-usage.md) - Complete setup and API reference
59+
- [Raspberry Pi Setup](docs/raspberry-pi-setup.md) - Hardware configuration
60+
- [Bill of Materials](docs/bill_of_materials.md) - Required components
2661

2762

2863
<!-- pyscaffold-notes -->

docs/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ Python package for programmatically controlling progressive automations tools (e
2020
:maxdepth: 2
2121
2222
Overview <readme>
23+
Installation and Usage <installation-and-usage>
24+
Raspberry Pi Setup <raspberry-pi-setup>
25+
Bill of Materials <bill_of_materials>
2326
Contributions & Help <contributing>
2427
License <license>
2528
Authors <authors>
2629
Changelog <changelog>
27-
Bill of Materials <bill_of_materials>
2830
Module Reference <api/modules>
2931
```
3032

0 commit comments

Comments
 (0)