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

Total release size: 44.0 MB

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

Download URL mavsdk-4.2.0-cp38-abi3-win_arm64.whl
Size 6.9 MB
Tags CPython 3.8 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
3521abae0e19cf8a8ba16f671fdfb812cbffa4641e0df848ce4ba3dbc874cdb9
BLAKE2b-256 checksum
How to use checksums
c7813e93d3395e2471e3738f8cc52311a65464b5b4d72d179d44aa14eb9281e3
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 12, 2026.

Transparency log

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

Download URL mavsdk-4.2.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
d652ead4f2d4623e5c8f76e8d2e8233be353843ac527f47623db973d647b0900
BLAKE2b-256 checksum
How to use checksums
d2a26982d5325cb247a9b8ea16b95e45c0a023147c14bc5a134ceca6b29a6ec4
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 12, 2026.

Transparency log

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

Download URL mavsdk-4.2.0-cp38-abi3-win32.whl
Size 5.9 MB
Tags CPython 3.8 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
581f3c8761cb73667492639b9a9e3d9e8f881d9ccc4f048c53888dc159d59387
BLAKE2b-256 checksum
How to use checksums
67754a6d79b914a995a7f7401d38b6bb0c1e9956c248e75d9c1a085051ac3153
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 12, 2026.

Transparency log

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

Download URL mavsdk-4.2.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
183745aff78878a932d5b7e23fc04dd66b0d5332d33733edc23c0370709091a5
BLAKE2b-256 checksum
How to use checksums
054842b544be241f0a28396c085f6415c9e47caa2251a57f2e3d7e9c2dac131a
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 12, 2026.

Transparency log

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

Download URL mavsdk-4.2.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
eac628803ef5d987931f1cd370baa02ecc4a3651b9418861313d9adea97c283b
BLAKE2b-256 checksum
How to use checksums
c749f5e0f6bbe91901f7b07d84a799f08814c22eba517768d42faaf7c77d2451
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 12, 2026.

Transparency log

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

Download URL mavsdk-4.2.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
8d546d2dbeacf3c22c18aed96b79ff487a1214c54e4fd6753007e932a3d51d78
BLAKE2b-256 checksum
How to use checksums
2501673d90d6b4b0d457c6b12d04eb7483a29f9a48cd2df615a070430e26294e
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 12, 2026.

Transparency log

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

Download URL mavsdk-4.2.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
0a76a4333e66a4e9ac2f86bbc310327c4512a6ca00c37d2907f64e47d208d460
BLAKE2b-256 checksum
How to use checksums
db31a11d4f691df633673f2bcd5970ed91d327af3496f8d81b57db054a4f16a2
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 12, 2026.

Transparency log

Security for mavsdk 4.2.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.2.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 12, 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.2.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