Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wiggle-camera

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiggle-camera

WiggleCamera - Control the camera on your WiggleBin

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc