Skip to main content

MAVSDK for Python

Python binding for MAVSDK, a library to communicate with MAVLink systems such as drones, cameras or ground stations.

It calls the MAVSDK C++ library directly (through its C wrapper), so there is no gRPC dependency and no mavsdk_server process to run.

The package exposes two interfaces:

  • mavsdk: a synchronous API using threads and callbacks.
  • mavsdk.asyncio: an asyncio API.

Both are generated from the same protos and ship in the same distribution.

pip install mavsdk

Coming from MAVSDK-Python (mavsdk 3.x and earlier)?

Up to 3.x, mavsdk was the gRPC-based MAVSDK-Python, which has a different API. It continues as mavsdk-grpc, imported as mavsdk_grpc. To keep using that API, install mavsdk-grpc, or pin mavsdk<4. To move to this package, see the migration guide.

Examples

Find examples for the synchronous API in examples/, and for the asyncio one in examples/asyncio/.

Development

Generate code

In order to generate the plugins from the proto submodule, run:

./tools/generate_from_protos.bash

This generates both interfaces: the synchronous plugins into mavsdk/plugins from templates/sync, and the asyncio ones into mavsdk/asyncio/plugins from templates/asyncio.

Running it from source

This project relies on the C MAVSDK library, which it wraps. The library must be built separately from the C wrapper and copied into mavsdk/lib/libcmavsdk.so.

Metadata

Release files for mavsdk 4.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for mavsdk 4.1.0
File Actions
mavsdk-4.1.0-cp38-abi3-win_arm64.whl CPython 3.8 abi3 Windows ARM64 Details for mavsdk-4.1.0-cp38-abi3-win_arm64.whl
mavsdk-4.1.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for mavsdk-4.1.0-cp38-abi3-win_amd64.whl
mavsdk-4.1.0-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details for mavsdk-4.1.0-cp38-abi3-win32.whl
mavsdk-4.1.0-cp38-abi3-manylinux_2_28_x86_64.whl CPython 3.8 abi3 Linux glibc 2.28+ x86-64 Details for mavsdk-4.1.0-cp38-abi3-manylinux_2_28_x86_64.whl
mavsdk-4.1.0-cp38-abi3-manylinux_2_28_aarch64.whl CPython 3.8 abi3 Linux glibc 2.28+ ARM64 Details for mavsdk-4.1.0-cp38-abi3-manylinux_2_28_aarch64.whl
mavsdk-4.1.0-cp38-abi3-macosx_15_0_x86_64.whl CPython 3.8 abi3 macOS 15.0+ x86-64 Details for mavsdk-4.1.0-cp38-abi3-macosx_15_0_x86_64.whl
mavsdk-4.1.0-cp38-abi3-macosx_15_0_arm64.whl CPython 3.8 abi3 macOS 15.0+ ARM64 Details for mavsdk-4.1.0-cp38-abi3-macosx_15_0_arm64.whl

Total release size: 43.0 MB

Release files / mavsdk-4.1.0-cp38-abi3-win_arm64.whl

Download URL mavsdk-4.1.0-cp38-abi3-win_arm64.whl
Size 6.7 MB
Tags CPython 3.8 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
0ac4de0fa8f26af6cc3946a56d3755453af232b18fee050c83c8c9ed284d736c
BLAKE2b-256 checksum
How to use checksums
efb8234e84b4f6ce1a15a97c92b6dd9e5592ef579853f7d15a6ea87e27ebd61f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / mavsdk-4.1.0-cp38-abi3-win_amd64.whl

Download URL mavsdk-4.1.0-cp38-abi3-win_amd64.whl
Size 6.7 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f8876bf591ed33212f2eac94106d44f5cd062b151eeb5363cc0cdb1d9659ba80
BLAKE2b-256 checksum
How to use checksums
bf9ee0d45a04060773b2ace89101e996f6d0d08113d12547c7783a146a41d749
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / mavsdk-4.1.0-cp38-abi3-win32.whl

Download URL mavsdk-4.1.0-cp38-abi3-win32.whl
Size 5.7 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
d7bf83d60107b54c43c8c918c15ff95bad615d8157b825b2c20db2acea134d90
BLAKE2b-256 checksum
How to use checksums
1778dde2b771e114d6cfd3a651ed2866faea2f52ae8a218f5f1d39fffb975917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / mavsdk-4.1.0-cp38-abi3-manylinux_2_28_x86_64.whl

Download URL mavsdk-4.1.0-cp38-abi3-manylinux_2_28_x86_64.whl
Size 6.5 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
478eb79b8d45975694cb055934594b3035d4b07b8e9a373daaad07a1c84fa6bc
BLAKE2b-256 checksum
How to use checksums
2962b4bb7bc7c9fe37cde3b6f1fda280f9598173965f7cd4a1fbc4b6749c89b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / mavsdk-4.1.0-cp38-abi3-manylinux_2_28_aarch64.whl

Download URL mavsdk-4.1.0-cp38-abi3-manylinux_2_28_aarch64.whl
Size 6.5 MB
Tags CPython 3.8 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
8a09ea4f0ee6d40e579b147633eef298a094b938b1baef9cf3005ee4e651f649
BLAKE2b-256 checksum
How to use checksums
021ea7006dfab8d9be9536c40f7b21d657e8c0066eb971e9465a4199ed0b0376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / mavsdk-4.1.0-cp38-abi3-macosx_15_0_x86_64.whl

Download URL mavsdk-4.1.0-cp38-abi3-macosx_15_0_x86_64.whl
Size 5.4 MB
Tags CPython 3.8 abi3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
7b007c30e17ab361b35d2eefd5108fd7d2e3f6d9767af251dff11cbe5bc1036a
BLAKE2b-256 checksum
How to use checksums
fc913b888922d58fd8fda2f37520ade3ad65821969c2f17edef0c694c9d085b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / mavsdk-4.1.0-cp38-abi3-macosx_15_0_arm64.whl

Download URL mavsdk-4.1.0-cp38-abi3-macosx_15_0_arm64.whl
Size 5.6 MB
Tags CPython 3.8 abi3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
70b61944ac161300837634f8fa68abe3508568db0f9a5d0283fd55190d05a01f
BLAKE2b-256 checksum
How to use checksums
fb6e44a5afc160fc28e04c914ebaf8c47e88b392924774b6d4261c2915f79650
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for mavsdk 4.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.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for mavsdk-4.1.0-cp38-abi3-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

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

4.1.0 This release

7 release files Full provenance

0.5.0

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