Skip to main content

Developer Tools for Drones.

Project description

# DroneKit Python

![dronekit_python_logo](https://cloud.githubusercontent.com/assets/5368500/10805537/90dd4b14-7e22-11e5-9592-5925348a7df9.png)

[![PyPi published version](https://img.shields.io/pypi/v/dronekit.svg)](https://pypi.org/project/dronekit/)
[![Windows Build status](https://img.shields.io/appveyor/ci/3drobotics/dronekit-python/master.svg?label=windows)](https://ci.appveyor.com/project/3drobotics/dronekit-python/branch/master)
[![OS X Build Status](https://img.shields.io/travis/dronekit/dronekit-python/master.svg?label=os%20x)](https://travis-ci.org/dronekit/dronekit-python)
[![Linux Build Status](https://img.shields.io/circleci/project/dronekit/dronekit-python/master.svg?label=linux)](https://circleci.com/gh/dronekit/dronekit-python) <a href="https://gitter.im/dronekit/dronekit-python?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img align="right" src="https://badges.gitter.im/Join%20Chat.svg"></img></a>

DroneKit-Python helps you create powerful apps for UAVs.


## Overview

DroneKit-Python (formerly DroneAPI-Python) contains the python language implementation of DroneKit.

The API allows developers to create Python apps that communicate with vehicles over MAVLink. It provides programmatic access to a connected vehicle's telemetry, state and parameter information, and enables both mission management and direct control over vehicle movement and operations.

The API is primarily intended for use in onboard companion computers (to support advanced use cases including computer vision, path planning, 3D modelling etc). It can also be used for ground station apps, communicating with vehicles over a higher latency RF-link.

## Getting Started

The [Quick Start](http://python.dronekit.io/guide/quick_start.html) guide explains how to set up DroneKit on each of the supported platforms (Linux, Mac OSX, Windows) and how to write a script to connect to a vehicle (real or simulated).

A basic script looks like this:

```python
from dronekit import connect

# Connect to UDP endpoint.
vehicle = connect('127.0.0.1:14550', wait_ready=True)
# Use returned Vehicle object to query device state - e.g. to get the mode:
print("Mode: %s" % vehicle.mode.name)
```

Once you've got DroneKit set up, the [guide](http://python.dronekit.io/guide/index.html) explains how to perform operations like taking off and flying the vehicle. You can also try out most of the tasks by running the [examples](http://python.dronekit.io/examples/index.html).

## Resources

The project documentation is available at [python.dronekit.io](http://python.dronekit.io/). This includes [guide](http://python.dronekit.io/guide/index.html), [example](http://python.dronekit.io/examples/index.html) and [API Reference](http://python.dronekit.io/automodule.html) material.

The example source code is hosted here on Github as sub-folders of [/dronekit-python/examples](https://github.com/dronekit/dronekit-python/tree/master/examples).

The [DroneKit Forums](http://discuss.dronekit.io) are the best place to ask for technical support on how to use the library. You can also check out our [Gitter channel](https://gitter.im/dronekit/dronekit-python?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) though we prefer posts on the forums where possible.

* **Documentation:** [http://python.dronekit.io/](http://python.dronekit.io/)
* **Guides:** [http://python.dronekit.io/guide/index.html](http://python.dronekit.io/guide/index.html)
* **API Reference:** [http://python.dronekit.io/automodule.html](http://python.dronekit.io/automodule.html)
* **Examples:** [/dronekit-python/examples](https://github.com/dronekit/dronekit-python/tree/master/examples)
* **Forums:** [http://discuss.dronekit.io/](http://discuss.dronekit.io)
* **Gitter:** [https://gitter.im/dronekit/dronekit-python](https://gitter.im/dronekit/dronekit-python?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) though we prefer posts on the forums where possible.


## Users and contributors wanted!

We'd love your [feedback and suggestions](https://github.com/dronekit/dronekit-python/issues) about this API and are eager to evolve it to meet your needs, please feel free to create an issue to report bugs or feature requests.

If you've created some awesome software that uses this project, [let us know on the forums here](https://discuss.dronekit.io/t/notable-projects-using-dronekit/230)!

If you want to contribute, see our [Contributing](http://python.dronekit.io/contributing/index.html) guidelines, we welcome all types of contributions but mostly contributions that would help us shrink our [issues list](https://github.com/dronekit/dronekit-python/issues).


## Licence

DroneKit-Python is made available under the permissive open source [Apache 2.0 License](http://python.dronekit.io/about/license.html).


***

Copyright 2015 3D Robotics, Inc.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dronekit-2.9.2.tar.gz (44.4 kB view details)

Uploaded Source

Built Distributions

dronekit-2.9.2-py3.6.egg (116.0 kB view details)

Uploaded Source

dronekit-2.9.2-py3-none-any.whl (56.9 kB view details)

Uploaded Python 3

dronekit-2.9.2-py2.7.egg (118.1 kB view details)

Uploaded Source

dronekit-2.9.2-py2-none-any.whl (57.8 kB view details)

Uploaded Python 2

File details

Details for the file dronekit-2.9.2.tar.gz.

File metadata

  • Download URL: dronekit-2.9.2.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for dronekit-2.9.2.tar.gz
Algorithm Hash digest
SHA256 53d037241a86bf366a385c5bad7949536a4715e49111204d78d936c11fac4b51
MD5 e667f26c7e8bac7574d67d5a77421d02
BLAKE2b-256 976293ac7ff4144b801f436a9233b7bb3166d0a14c0a80846e4a51091acece12

See more details on using hashes here.

File details

Details for the file dronekit-2.9.2-py3.6.egg.

File metadata

  • Download URL: dronekit-2.9.2-py3.6.egg
  • Upload date:
  • Size: 116.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for dronekit-2.9.2-py3.6.egg
Algorithm Hash digest
SHA256 adc5a006e0f59b030ca32e3353a80d9aaf181352bf108ee57947ae50d9a5a39f
MD5 a0aa5c433565dc0922012e4764cd61a5
BLAKE2b-256 93ce8cb6edeff022f11a3ce713511ecb241d6354e2b0b130a25bc2c64e690c53

See more details on using hashes here.

File details

Details for the file dronekit-2.9.2-py3-none-any.whl.

File metadata

  • Download URL: dronekit-2.9.2-py3-none-any.whl
  • Upload date:
  • Size: 56.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for dronekit-2.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97542ad03a7584287d878f2082f8533e41b2ba77881b06bfbd5594bfbd75434f
MD5 f3aabad6cd571fe21e55482c9ddbf3cb
BLAKE2b-256 a64a74ef556f76d38c149e4ca38ff3bf25be5723c63835f51eec42c7c5f1c466

See more details on using hashes here.

File details

Details for the file dronekit-2.9.2-py2.7.egg.

File metadata

  • Download URL: dronekit-2.9.2-py2.7.egg
  • Upload date:
  • Size: 118.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for dronekit-2.9.2-py2.7.egg
Algorithm Hash digest
SHA256 9fce037c1c597b48ab068bb8a6aa2f2332df6ab9175dc0a2c0a6fd880585c81d
MD5 3a19e191677c5c4789f41f33ebc24971
BLAKE2b-256 9b3c023d504a06c95ca581a2182eaddd57c270262ad40c16f2f2368f1d1f2162

See more details on using hashes here.

File details

Details for the file dronekit-2.9.2-py2-none-any.whl.

File metadata

  • Download URL: dronekit-2.9.2-py2-none-any.whl
  • Upload date:
  • Size: 57.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for dronekit-2.9.2-py2-none-any.whl
Algorithm Hash digest
SHA256 2952badfea7d9d6f2092ad35e87443f3f72f6b0804f04580e0c39eef917f9eec
MD5 5783143e7d200207f2e388b321757d47
BLAKE2b-256 e931ce0e9c722aa5bcec52bcd09026b7a79d7a49932e73aa481a38b6724efaf8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page