This release is a pre-release and may not be stable for production use.
CounterFit Shims - Picamera
Shims for the Picamera to read from a virtual camera
See the Picamera Docs for the API documentation.
Getting started
To use these shims, you will need to install CounterFit and have it running, with the appropriate camera hardware created. Create the camera with a name of Picamera.
-
Install this package from pip:
pip install telegen-shims-picamera
-
Import Picamera using the
counterfit_shims_picamerapackage instead of thepicamerapackage, as well as importing theTeleGenConnectionfrom thecounterfit_connectionmodule:from counterfit_connection import TeleGenConnection import counterfit_shims_picamera
-
Configure the connection to the CounterFit app. Change the hostname and port to where you are running it:
TeleGenConnection.init('127.0.0.1', 5000)
-
Write your Picamera code as usual.
For example, to capture an image as a JPEG:
camera = PiCamera() image = io.BytesIO() camera.capture(image, 'jpeg')
Metadata
Release files for telegen-shims-picamera 0.1.0.dev6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| telegen_shims_picamera-0.1.0.dev6.tar.gz | 3.7 kB | Without provenance | Details for telegen_shims_picamera-0.1.0.dev6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telegen_shims_picamera-0.1.0.dev6-py3-none-any.whl | Python 3 | none | any | Details for telegen_shims_picamera-0.1.0.dev6-py3-none-any.whl |
Total release size: 7.3 kB
Release files / telegen_shims_picamera-0.1.0.dev6.tar.gz
| Download URL | telegen_shims_picamera-0.1.0.dev6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcc5da3b1bfdc9900401b098d969e0df6f909fe41283f60acbe33265df9a67ea
|
|
BLAKE2b-256 checksum How to use checksums |
758ecc92ab7ef90cb8891e5df7aec96e85fd16d6c6da4c5c676c6299c2a06c40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / telegen_shims_picamera-0.1.0.dev6-py3-none-any.whl
| Download URL | telegen_shims_picamera-0.1.0.dev6-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1bd32786143c7312a5e05a78847fdf9ceda3eff7f21289369e90a3d626eac2ac
|
|
BLAKE2b-256 checksum How to use checksums |
ff2b49e1a333fb71a171deaa48cc8c115a894a0b67739e096edba9930f87a77b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for telegen-shims-picamera 0.1.0.dev6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.