Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Pyzmq | 3,295 | 12,459 | 795 | 15 hours ago | 75 | June 20, 2022 | 116 | bsd-3-clause | Python | |
PyZMQ: Python bindings for zeromq | ||||||||||
Maturin | 1,873 | 3 | 6 | 4 days ago | 160 | July 05, 2022 | 39 | apache-2.0 | Rust | |
Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages | ||||||||||
Gopy | 1,495 | 13 | 2 months ago | 25 | July 11, 2022 | 41 | bsd-3-clause | Go | ||
gopy generates a CPython extension module from a go package. | ||||||||||
Pyspotify | 517 | 9 months ago | apache-2.0 | Python | ||||||
Python bindings for libspotify (no longer working as of May 2022) | ||||||||||
Pyvips | 484 | 11 | 29 | 21 days ago | 24 | June 12, 2022 | 130 | mit | Python | |
python binding for libvips using cffi | ||||||||||
Misaka | 413 | 443 | 23 | 6 months ago | 13 | December 02, 2018 | 9 | mit | C | |
A Python binding for Hoedown. | ||||||||||
Cl Opengl | 255 | 6 months ago | 50 | other | Common Lisp | |||||
cl-opengl is a set of CFFI bindings to the OpenGL, GLU and GLUT APIs. | ||||||||||
Gohttplib | 205 | 1 | 4 years ago | 6 | May 21, 2016 | 4 | mit | Go | ||
Go buildmodes prototype: Expose net/http.Server as a library with C bindings | ||||||||||
Myo Python | 202 | 2 | 1 | 2 years ago | 11 | September 04, 2021 | 8 | other | Python | |
Python bindings for the Myo SDK | ||||||||||
Cairocffi | 195 | 792 | 68 | 3 days ago | 29 | September 23, 2022 | 11 | bsd-3-clause | Python | |
CFFI-based cairo bindings for Python. |
Python bindings for libgphoto2 with an interface that strives to be idiomatic. In contrast to other bindings for Python, gphoto2-cffi hides most of the lower-level abstractions and reduces the API surface while still offering access to most of the library's features.
import gphoto2cffi as gp
# List all attached cameras that are supported
cams = gp.list_cameras()
# Get a camera instance by specifying a USB bus and device number
my_cam = gp.Camera(bus=4, device=1)
# Get an instance for the first supported camera
my_cam = gp.Camera()
# or
my_cam = next(gp.list_cameras())
# Capture an image to the camera's RAM and get its data
imgdata = my_cam.capture()
# Grab a preview from the camera
previewdata = my_cam.get_preview()
# Get a list of files on the camera
files = tuple(my_cam.list_all_files())
# Iterate over a file's content
with open("image.jpg", "wb") as fp:
for chunk in my_cam.files[0].iter_data():
fp.write(chunk)
# Get a configuration value
image_quality = my_cam.config['capturesettings']['imagequality'].value
# Set a configuration value
my_cam.config['capturesettings']['imagequality'].set("JPEG Fine")
Python 2.7 and 3.4 or newer (CPython and PyPy) are supported.
From Source:
$ pip install git+https://github.com/jbaiter/gphoto2-cffi.git