Skip to main content

WiggleCamera - Control the camera on your WiggleBin

Project description

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

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.4.tar.gz (8.5 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.4-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wiggle_camera-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2fb3cbb48917db0b4a0e0c40949b96793639d2b4ebe70a61928e5e6b5108b403
MD5 12c0fe94f145a0eb4da8bd5a3c56334d
BLAKE2b-256 50fa2a24d319626b39e1c8653a7c51406f5e5c10ca391e37d684803e27c86f7d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wiggle_camera-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 47741ed4cd927bf4d3cbc0a8aa149a874d8993406e5e78bc2e05c21010d51bb3
MD5 88ce6bd9c4dfbd0dd748a8ee6747b717
BLAKE2b-256 184b1ef088a6e2dd7ffc3cb398ac6a28798a7d7a6ee8e6c95bc1c388cc611f9b

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