Skip to main content

WiggleCamera - Control the camera on your WiggleBin

Project description

WiggleCamera

The WiggleBIn recording service for taking pictures.

Prepare Raspberry PI

Install picamera2 - https://github.com/raspberrypi/picamera2.

Set package venv to have access to system packages

python3 -m venv --system-site-packages .venv

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/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiggle_camera-0.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiggle_camera-0.0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file wiggle_camera-0.0.2.tar.gz.

File metadata

  • Download URL: wiggle_camera-0.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.2

File hashes

Hashes for wiggle_camera-0.0.2.tar.gz
Algorithm Hash digest
SHA256 927faca215a040219aac534a235346e02d0dad2c98b9cb868cd171bff0d90f5a
MD5 081fb792f14c7cdbf3bcc7f572576a80
BLAKE2b-256 91bbe466a27ecc4efd36fe75d83f1dffc6a71c2d29f190af37faa2bfd4d1d809

See more details on using hashes here.

File details

Details for the file wiggle_camera-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: wiggle_camera-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.2

File hashes

Hashes for wiggle_camera-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe25d82b61ee71bf965ad316b6ea33294d8fcd296cbfad1bf84337c6860d3c77
MD5 4d93d58860c1b1651563cd7ead2b2f82
BLAKE2b-256 0aab299ea02fa657e31ee3962b4a0ad8a9fe3517692167c871b149f34b8a9870

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page