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.3.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.3.0
File Actions
mavsdk-4.3.0-cp38-abi3-win_arm64.whl CPython 3.8 abi3 Windows ARM64 Details for mavsdk-4.3.0-cp38-abi3-win_arm64.whl
mavsdk-4.3.0-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details for mavsdk-4.3.0-cp38-abi3-win_amd64.whl
mavsdk-4.3.0-cp38-abi3-win32.whl CPython 3.8 abi3 Windows x86-32 Details for mavsdk-4.3.0-cp38-abi3-win32.whl
mavsdk-4.3.0-cp38-abi3-manylinux_2_28_x86_64.whl CPython 3.8 abi3 Linux glibc 2.28+ x86-64 Details for mavsdk-4.3.0-cp38-abi3-manylinux_2_28_x86_64.whl
mavsdk-4.3.0-cp38-abi3-manylinux_2_28_aarch64.whl CPython 3.8 abi3 Linux glibc 2.28+ ARM64 Details for mavsdk-4.3.0-cp38-abi3-manylinux_2_28_aarch64.whl
mavsdk-4.3.0-cp38-abi3-macosx_15_0_x86_64.whl CPython 3.8 abi3 macOS 15.0+ x86-64 Details for mavsdk-4.3.0-cp38-abi3-macosx_15_0_x86_64.whl
mavsdk-4.3.0-cp38-abi3-macosx_15_0_arm64.whl CPython 3.8 abi3 macOS 15.0+ ARM64 Details for mavsdk-4.3.0-cp38-abi3-macosx_15_0_arm64.whl

Total release size: 44.0 MB

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

Download URL mavsdk-4.3.0-cp38-abi3-win_arm64.whl
Size 6.9 MB
Tags CPython 3.8 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
24a954402e492684aa299bb9642a0aab9a14af0bab82cdc20ca52958bb1c1d0e
BLAKE2b-256 checksum
How to use checksums
28c5b61a8c5f1644383a624a11547a16790c55a30b0d896ea33a36e7dbe5175a
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 Nov 27, 2026.

Transparency log

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

Download URL mavsdk-4.3.0-cp38-abi3-win_amd64.whl
Size 6.8 MB
Tags CPython 3.8 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ee26a5538cba52e3eb08245219f63384d7614beb8e71db9f141cbfda7539f0ab
BLAKE2b-256 checksum
How to use checksums
8b8ad5dcfc6b38c52c701db7938755d201318a8c7ba3d58bd4b5a4996d13f0ce
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 Nov 27, 2026.

Transparency log

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

Download URL mavsdk-4.3.0-cp38-abi3-win32.whl
Size 5.9 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
0c242908c9823b89f4546f8da6e02856e25bcbf6556e9ce9f462050cb002fdaf
BLAKE2b-256 checksum
How to use checksums
4d707d8432d04c319ca0706850a76815fdf9164b441b27791d2a8de074df8865
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 Nov 27, 2026.

Transparency log

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

Download URL mavsdk-4.3.0-cp38-abi3-manylinux_2_28_x86_64.whl
Size 6.6 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
7e30270ab773e17ac33380d12168973a276b6049a93ac11e6702fc9ae267de21
BLAKE2b-256 checksum
How to use checksums
17f424b05379e55af2fb7c899a58d10936a28caef0ffe2f7da6190a21fc6daab
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 Nov 27, 2026.

Transparency log

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

Download URL mavsdk-4.3.0-cp38-abi3-manylinux_2_28_aarch64.whl
Size 6.6 MB
Tags CPython 3.8 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
52a4bc6068c91103d064dd51aeb503d1bd6e586afe3040ca943713619711262e
BLAKE2b-256 checksum
How to use checksums
7e7979e6d1c156c2fe7fbf0e9fbeee945514a9a4d6b125c3a03c22751e12c341
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 Nov 27, 2026.

Transparency log

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

Download URL mavsdk-4.3.0-cp38-abi3-macosx_15_0_x86_64.whl
Size 5.5 MB
Tags CPython 3.8 abi3 macOS 15.0+ x86-64
SHA-256 checksum
How to use checksums
14a133cb3bd8b6ef969ad299402d193195ef0f26c3c7c650b194b11dba3c4ce1
BLAKE2b-256 checksum
How to use checksums
4c2ee8489a54a0283de20ee6ab229c9458f588018775a0799b880154d822608e
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 Nov 27, 2026.

Transparency log

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

Download URL mavsdk-4.3.0-cp38-abi3-macosx_15_0_arm64.whl
Size 5.7 MB
Tags CPython 3.8 abi3 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
d82177e642155ef0f34d6870f9f3bf4a274810057b3a5dde1c55b8ef54e550ec
BLAKE2b-256 checksum
How to use checksums
9f8aab5e6bec770a998e31f4123f06f383cb66575e309bc227f05b5b20b49af7
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 Nov 27, 2026.

Transparency log

Security for mavsdk 4.3.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.3.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 Nov 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.3.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