Skip to content

Software

Crazyflie Python library (cflib)

By Bitcraze, Sweden (checked on github.com/bitcraze (opens in a new tab)), from github.com/bitcraze/crazyflie-lib-python (opens in a new tab)

  • Drones and boats
  • Driver or SDK
  • GPL-2.0-only

A Python library for communicating with and controlling Crazyflie quadcopters through Python scripts. It also serves as the communication backend for the cfclient application.

Facts

GitHub stars
351read on 27 Nov 2026
Last update
23 Nov 2026Newest commit on master
Maintenance
Activea commit in the last 90 days
Difficulty
Beginner

Checked on GitHub on 28 Nov 2026.

Licenses

Code
GPL-2.0-only (opens in a new tab)

Read by Robotheca from LICENSE.txt (opens in a new tab) (GPL-2.0-only) at commit 80842af (opens in a new tab), on 28 Nov 2026.

Commercial use
Yes

Copyleft: Modified source must be published.

At a glance

What it is
  • Provides a Python API for direct programmatic control of Crazyflie drones from scripts.
  • Supports the Crazyflie 2.1(+), Crazyflie 2.1 Brushless and Crazyflie Bolt.
  • Acts as the backend communication layer for the cfclient application.
  • Includes platform-specific notes and installation instructions in the project's docs folder.
  • Contains an automated build that can be run locally with a tools/build/build script to test code changes.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
GPL-2.0-only. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Active, last commit on 23 Nov 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 80842af

Robotheca read the repository at two versions: the summary at 3c1cb0d and the facts and the README at 80842af (read on 28 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by Bitcraze, at commit 80842af, under GPL-2.0-only (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

cflib: Crazyflie Python library (opens in a new tab)

cflib is a Python library for communicating with and controlling Crazyflie quadcopters, including the Crazyflie 2.1(+), Crazyflie 2.1 Brushless, and Crazyflie Bolt. This library provides a Python API for direct programmatic control through Python scripts, and is also used as the backend communication layer for applications like cfclient (opens in a new tab).

See below for platform specific instruction. For more info see our documentation (opens in a new tab).

Installation

See the installation instructions (opens in a new tab) in the github docs folder.

Official Documentation

Check out the Bitcraze crazyflie-lib-python documentation (opens in a new tab) on our website.

Contribute

Before you open a pull request, please read our General guidelines for code contributions (opens in a new tab).

For other ways to contribute, see the contribute page (opens in a new tab).

Test code for contribution

Run the automated build locally to test your code

python3 tools/build/build

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.