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

A Picture Transfer Protocol module supporting CHDK extensions

Project Description

A Python module that implements the Picture Transfer Protocol, including support for CHDK extensions.

Installation

  1. Make sure that
    • a C compiler is installed
    • the C header files of libusb and Python itself are installed. Under Ubuntu and Debian, these are the packages libusb-dev and python-dev.
    • Install libtool and automake.
    • To run tests, you need Python’s testtols package. (python-testtools in Ubuntu and Debian.)
  2. Install the right version of libptp

python-chdk-ptp requires yet another special libptp version: https://launchpad.net/python-ptp-chdk/trunk/0.1/+download/libptp-chdk-patches-0.1.tar.gz

Unpack the libptp source code into the subdirectory ‘libptp’ of the main python-chdsk-ptp source code directory and run

cd libptp autogen.sh configure –with-pic make
  1. Build and install python-ptp-chdk

Run (in the main source code directory)

setup.py build setup.py install

Usage

See examples and tests. (Note that some examples require the Python Imaging Library.)

Credits

This project would be completely pointless without the amazing work done by the CHDK developers anaylzing and extending the firmware of Canon compact cameras. Parts of the source code is borrowed from http://subversion.assembla.com/svn/chdkde/trunk/ and http://subversion.assembla.com/svn/chdkptp/

Release History

Release History

This version
History Node

0.2.1

History Node

0.2

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
pyptpchdk-0.2.1.tar.gz (84.6 kB) Copy SHA256 Checksum SHA256 Source Jun 29, 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