PY-EASYLink (easylink-mavlink)
Lightweight, zero-friction Python library for MAVLink drone control (supporting both ArduPilot and PX4).
Installation
pip install easylink-mavlink
Quickstart
from easylink import Drone
# Auto-discovers SITL simulator or hardware serial port
drone = Drone()
drone.connect()
drone.arm()
drone.takeoff(10.0)
pos = drone.position
print(f"Current Position: Lat={pos.lat}, Lon={pos.lon}, Alt={pos.alt}m")
drone.hover(5.0)
drone.home()
drone.disconnect()
Features
- Auto-Discovery: Probes local SITL ports (
udp:127.0.0.1:14550, etc.) and serial ports (/dev/ttyAMA0,COM3, etc.). - Dual Firmware Support: Auto-detects ArduPilot vs PX4 from heartbeats.
- Packet Dispatcher: Solves packet-stealing and threading collisions cleanly.
- Fluent Mission Builder:
drone.mission.clear().add_takeoff(15).add_waypoint(lat, lon, alt).add_land().upload()
License
MIT
Release files for easylink-mavlink 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easylink_mavlink-0.1.1-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
Release files / easylink_mavlink-0.1.1-cp313-cp313-win_amd64.whl
| Download URL | easylink_mavlink-0.1.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
51f4a9741cb39a1b33e9bed09684a898baa8d8b0442a5bfb2863d8a135312fda
|
|
BLAKE2b-256 checksum How to use checksums |
994125de4f368a600db696ef70ea87070864e70477e7d561bcd197e8d645563a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|