Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python control of stepper motors.

Project Description

This package provides Python control of stepper motors. See Jones’ Control of Stepping Motors for an excellent stepper overview. Supports full and half stepping of motors with one or two power lines and 4 drains, or one or two drains and 4 power lines. Basically any motor with 4 variable lines, and it would be easy to extend it to other cases.




I’ve packaged stepper for Gentoo. You need layman and my wtk overlay. Install with:

# emerge -av app-portage/layman
# layman --add wtk
# emerge -av sci-libs/stepper


Stepper has no explicit dependencies outside of the core Python modules, but for real-world results you will need a way to drive the stepper’s digital control lines. A general way to do this is with the pycomedi wrapper around the Comedilib library, as shown in the Stepper doctest.

You will also need nose for testing.

Package Debian Gentoo
Nose python-nose dev-python/nose
Pycomedi   dev-python/pycomedi

Installing by hand

Stepper is available as a Git repository:

$ git clone git://

See the homepage for details. To install the checkout, run the standard:

$ python install


See the module docstrings for simple examples.


Run internal unit tests with:

$ nosetests --with-doctest --doctest-tests


This project is distributed under the GNU General Public License Version 3 or greater.


W. Trevor King Copyright 2008-2012

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
stepper-0.4.tar.gz (16.3 kB) Copy SHA256 Checksum SHA256 Source Jul 22, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting