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!

LibMTP bindings in Python

Project Description
PyMTP is a Pythonic binding to LibMTP that allows Python programs to interact
over Media Transfer Protocol (MTP) with LibMTP-supported devices. These devices
include all recent Android devices, several popular MP3 players, including
Creative Zen, several iRiver devices, NormSoft Pocket Tunes and many others.

I decided to write pymtp after I got my Creative(R) Zen V Plus, and I noticed
there wasn't any libraries to use MTP in python. I grabbed ctypes and went to

pymtp 0.0.5 requires:
* python
* ctypes (or Python 2.5, as it includes Ctypes)
* libmtp 1.1 or above

To install pymtp on most systems, run

python build
python install

After running those commands (on *nix, you'll need to run the install command
as root), pymtp should be installed and ready to go

Generating documentation
While pymtp doesn't come with any documentation with it, you can generate
documentation using epydoc. Epydoc makes very pretty documentation:

epydoc -o <output directory>

This, of course, requires epydoc to be installed.

Getting help
If you find you need help getting pymtp working, or have any questions or
comments on pymtp, please send me a message. I'm usually available on as "nick125", or email me at

I would like to take this moment to thank everyone who has ever filed a bug
report or a patch. You guys have made me feel like my work is actually
important to someone and have given me the encouragement to keep working on it.
I'd like to give a special thanks to Dan O'Reilly for his patches and other
contributions to this project.
Release History

Release History

This version
History Node


History Node


History Node


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
PyMTP-0.0.6.tar.gz (22.4 kB) Copy SHA256 Checksum SHA256 Source Oct 11, 2013

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