pylibftdi / doc / index.rst

Welcome to pylibftdi's documentation!

pylibftdi is a simple library interacting with FTDI devices to provide serial and parallel IO from Python.

The two main use cases it serves are:

  • the need to control or monitor external equipment, for which a FTDI module may be a cheap and reliable starting point.
  • the need to interact with existing devices which are known to contain FTDI chipsets for their USB interface.

FTDI ( create devices (chipsets, modules, cables etc) to interface devices to the USB port of your computer.

libftdi ( is an open source driver to communicate with these devices, and runs on top of libusb. It works on Windows, Linux, and Mac OS X, and likely other systems too.

pylibftdi is a pure Python module which interfaces (via ctypes) to libftdi, exposing a simple file-like API to connected devices. It supports serial and parallel IO in a straight-forward way, and aims to be one of the simplest ways of interacting with the world outside your PC.


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.