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.0.5

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.0.5
File
mavsdk-4.0.5-cp38-abi3-win_arm64.whl CPython 3.8 abi3 Windows ARM64 Details
mavsdk-4.0.5-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
mavsdk-4.0.5-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details
mavsdk-4.0.5-cp38-abi3-manylinux_2_28_x86_64.whl CPython 3.8 abi3 Linux glibc 2.28+ x86-64 Details
mavsdk-4.0.5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.8 abi3 Linux glibc 2.17+ ARM64 Details
mavsdk-4.0.5-cp38-abi3-macosx_15_0_x86_64.whl CPython 3.8 abi3 macOS 15.0+ x86-64 Details
mavsdk-4.0.5-cp38-abi3-macosx_15_0_arm64.whl CPython 3.8 abi3 macOS 15.0+ ARM64 Details

Total release size: 43.3 MB

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

Download URL mavsdk-4.0.5-cp38-abi3-win_arm64.whl
Size 6.6 MB
Tags CPython 3.8 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
2be194af6e5ef35b27766ce8ee9519f50c843cca5f193903c9a25c881986b57a
BLAKE2b-256 checksum
How to use checksums
0b3f6257321c8c5dbfe0457802a7b63298f15e21ff921ed68024539f6ea9acb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

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

Download URL mavsdk-4.0.5-cp38-abi3-win_amd64.whl
Size 6.6 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
dce8094681b5484f758042afe3d1f3850a32e4b4f2caa17855f1a9f7e51a79b6
BLAKE2b-256 checksum
How to use checksums
7d6196f8ae818e5209a19cc36b986f4efaf65dd44b6bd008c39e519d4aa2342f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

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

Download URL mavsdk-4.0.5-cp38-abi3-win32.whl
Size 5.6 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
cad39cfa32fcc5d0afd35c4aea8c498506c03651c36cd096c3b48e65190f5f61
BLAKE2b-256 checksum
How to use checksums
2eda1f65d4a7ae3c814792ae945548d795721ed41fb01faad2372657a4cfda2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

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

Download URL mavsdk-4.0.5-cp38-abi3-manylinux_2_28_x86_64.whl
Size 6.8 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
f5e4fb1a6e281bb24a745b4f638476ed6cefba2214a8b6f1e8a42fe13f4e6524
BLAKE2b-256 checksum
How to use checksums
530e4a41504d30308a75b2d5407414b8b84a56ac9203d36e99badc7a3c421828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

Release files / mavsdk-4.0.5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL mavsdk-4.0.5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 6.8 MB
Tags CPython 3.8 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
0afa97e5f23b558204e549fdfcc6080f4695b17e3ee9c9a654fc5b6b8d7e68a7
BLAKE2b-256 checksum
How to use checksums
af8e112aed394dbc80239e27448d38fa866593aa0d70546f26a340d6b0e79e0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

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

Download URL mavsdk-4.0.5-cp38-abi3-macosx_15_0_x86_64.whl
Size 5.3 MB
Tags CPython 3.8 abi3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
2b3065b1f1b94b0ecb028ecabd68f83c9f881c9268341886f3de389e81ace54d
BLAKE2b-256 checksum
How to use checksums
ea5679b29561c369c110b3284aa4d4570ea2cfddd2a573abdbc3d009308ebae7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

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

Download URL mavsdk-4.0.5-cp38-abi3-macosx_15_0_arm64.whl
Size 5.5 MB
Tags CPython 3.8 abi3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
b36471c64f97cfa5fe894b1447af630a9e2787462809a17fcdf08d72ce1217a5
BLAKE2b-256 checksum
How to use checksums
ea352d23a5627b2460163469d8cf9e3244a2100b605e2dfed18760a6c835f381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 7, 2026.

Transparency log

Release history Release notifications | RSS feed

4.0.6

7 release files

This release

4.0.5 This release

7 release files

4.0.3

7 release files

4.0.2

7 release files

4.0.1

7 release files

4.0.0

7 release files

3.17.4

9 release files

3.17.2

9 release files

3.15.3

9 release files

3.15.1

5 release files

3.15.0

5 release files

3.10.2

9 release files

3.10.0

9 release files

3.9.0

9 release files

3.8.0

9 release files

3.6.0

8 release files

3.5.0

8 release files

3.0.1

8 release files

3.0.0

8 release files

2.8.4

8 release files

2.8.3

8 release files

2.8.2

8 release files

2.8.1

8 release files

2.8.0

8 release files

2.7.0

8 release files

2.6.2

7 release files

2.6.1

7 release files

2.6.0

7 release files

2.5.1

7 release files

2.5.0

7 release files

2.4.1

7 release files

2.4.0

7 release files

2.3.0

7 release files

2.2.0

7 release files

2.1.0

7 release files

2.0.1

7 release files

2.0.0

3 release files

1.4.9

7 release files

1.4.8

7 release files

1.4.7

7 release files

1.4.6

7 release files

1.4.5

7 release files

1.4.4

7 release files

1.4.3

7 release files

1.4.2

7 release files

1.4.1

7 release files

1.4.0

7 release files

1.3.0

7 release files

1.2.0

7 release files

1.0.0

7 release files

0.23.0

7 release files

0.22.3

6 release files

0.22.2

4 release files

0.22.1

7 release files

0.22.0

7 release files

0.21.0

7 release files

0.20.0

7 release files

0.19.0

7 release files

0.18.0

7 release files

0.17.0

8 release files

0.16.1

8 release files

0.16.0

8 release files

0.13.4

8 release files

0.13.3

5 release files

0.13.2

1 release file

0.12.0

5 release files

0.10.0

5 release files

0.9.1

5 release files

0.9.0

5 release files

0.8.2

5 release files

0.8.1

5 release files

0.8.0

5 release files

0.7.0

5 release files

0.6.1

4 release files

0.6.0

2 release files

0.5.4

4 release files

0.5.3

4 release files

0.5.2

3 release files

0.5.1

3 release files

0.5.0

0.4.0

4 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

3 release files

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