Sony Camera Remote APi PYthon, a python wrapper for communicating with Sony cameras.
The Sony API for cameras uses http and json for communication. scrappy provides a python wrapper around the Sony API, so Sony cameras can be seamlessly integrated into Python projects.
For hacking and cobbling together fun, DIY Python projects, Sony's API is awesome due to its relative simplicity and embrace of common protocols made ubiquitous by the internet. However, this requires having Sony hardware. Other leading camera manufacturers provide SDKs for their cameras, but the Python support is varied and often using the SDK directly requires signing up for their respective developers programs. The table below summarizes some of the popular camera makers and their Python support. For what it is worth, Sony seems to have the lowest barrier to entry.
Camera Manufacturer | Language or Protocol | Python Projects | Comments |
---|---|---|---|
Canon | DLL (Win) and DYLIB (Mac) | piggyphoto | Canon has support from external firmware projects like Magic Lantern or CHDK |
Nikon | C and C++, DLL (Win) and DYLIB (Mac) | Nikon does not appear to have a lot of Python support. | |
Sony | HTTP and JSON-RPC | here and pysony | The Sony API uses protocols that work on all platforms making it the most flexible. |