1 """
2 This package provides an interface to the SONY Reader PRS-500 over USB.
3
4 The public interface of libprs500 is in L{libprs500.communicate}. To use it
5 >>> from libprs500.communicate import PRS500Device
6 >>> dev = PRS500Device()
7 >>> dev.open()
8 >>> dev.get_device_information()
9 ('Sony Reader', 'PRS-500/U', '1.0.00.21081', 'application/x-bbeb-book')
10 >>> dev.close()
11
12 There is also a script L{prs500} that provides a command-line interface to libprs500. See the script
13 for more usage examples.
14
15 The packet structure used by the SONY Reader USB protocol is defined in the module L{prstypes}. The communication logic
16 is defined in the module L{communicate}.
17
18 This package requires U{PyUSB<http://pyusb.berlios.de/>}. In order to use it as a non-root user on Linux, you should have
19 the following rule in C{/etc/udev/rules.d/90-local.rules} ::
20 BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"
21 You may have to adjust the GROUP and the location of the rules file to suit your distribution.
22 """
23 VERSION = "0.2"
24 __docformat__ = "epytext"
25 __author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
26