forked from nathanbullock/pymtp-nkb
-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
README
52 lines (42 loc) · 1.69 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
About
------
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.
Why
----
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
work.
Requirements
------------
pymtp 0.1.0 requires:
* Python 2.4 or above
* Ctypes (or Python 2.5, as it includes Ctypes)
* LibMTP 0.3.3 or above
Installing
-----------
To install pymtp on most systems, run setup.py:
python setup.py build
python setup.py 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 -o <output directory> pymtp.py
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
irc.freenode.net as "nick125", or email me at [email protected]
Thanks
------
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.