WiggleCamera
The WiggleBin recording service for taking pictures.
Prepare Raspberry PI
Camera
Install picamera2 - https://github.com/raspberrypi/picamera2.
Set package venv to have access to system packages
python3 -m venv --system-site-packages .venv
Light
In /boot/firmware/config.txt add the following:
dtparam=spi=on
enable_uart=1
Reboot the Raspberry Pi via terminal
sudo reboot
Installation
pip3 install wiggle-camera
CLI
wiggle-camera -h
Prepare Raspberry PI
sudo apt-get install libcap-dev
Enable recording service
In the terminal run wiggle-camera-install. This will install and start a service which runs wiggle-camera --record to take pictures every couple of seconds.
wiggle-camera-install
Services
You can check the status with:
systemctl --user status wiggle-camera.service
To stop the service run:
systemctl --user stop wiggle-camera.service
To start the service run:
systemctl --user start wiggle-camera.service
Installation for development
Updating packages on Raspberry Pi
pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip
Installing package
pip3 install -e .
For installation without dev dependencies
pip install --no-dev -r requirements.txt
Publishing to PyPi
To build your package, you'll need to install the build module. You can do this with pip:
pip install --upgrade build
Then, you can build your package with the following command:
python -m build
To publish your package to PyPI, you'll need to install the twine module:
pip install --upgrade twine
Then, you can use twine to upload your distributions to PyPI:
twine upload -u __token__ -p your_token_here dist/*
Metadata
Release files for wiggle-camera 0.0.4
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 |
|---|---|---|---|---|
| wiggle_camera-0.0.4.tar.gz | 8.5 kB | Without provenance | Details for wiggle_camera-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wiggle_camera-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for wiggle_camera-0.0.4-py3-none-any.whl |
Total release size: 18.7 kB
Release files / wiggle_camera-0.0.4.tar.gz
| Download URL | wiggle_camera-0.0.4.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fb3cbb48917db0b4a0e0c40949b96793639d2b4ebe70a61928e5e6b5108b403
|
|
BLAKE2b-256 checksum How to use checksums |
50fa2a24d319626b39e1c8653a7c51406f5e5c10ca391e37d684803e27c86f7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Release files / wiggle_camera-0.0.4-py3-none-any.whl
| Download URL | wiggle_camera-0.0.4-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47741ed4cd927bf4d3cbc0a8aa149a874d8993406e5e78bc2e05c21010d51bb3
|
|
BLAKE2b-256 checksum How to use checksums |
184b1ef088a6e2dd7ffc3cb398ac6a28798a7d7a6ee8e6c95bc1c388cc611f9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.2
|
Security for wiggle-camera 0.0.4
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.