Skip to main content

A Python/REST interface for GPIO circuits running on the Raspberry Pi

Project description

PyPI version

Please see the project website for more information.

Python Interface for GPIO Circuits

This package provides two related capabilities. First, it provides a high-level, event-driven Python interface for GPIO circuits running on the Raspberry Pi. Sensors, motors, LEDs, switches, and many other components are covered. An example is shown below (click to watch; Python code here):

Buzzing LED bar with push button

Remote Control of GPIO Circuits via REST/HTML/JavaScript

Second, this package enables remote control of GPIO circuits via REST APIs invoked from HTML/JavaScript front-ends. Want to control your circuit remotely from your phone? Look no further. This package auto-generates HTML/JavaScript for GPIO circuits based on Material Design for Bootstrap. These HTML/JavaScript elements can be embedded in full web pages for remote control of the circuit. The remote control screen for the Freenove Smart Car is shown below:

freenove-smart-car

The smart car is built from the same components (sensors, motors, LEDs, etc.) listed above, making development quite straightforward. As another example, consider the 3D-printed robotic arm that I designed for the car.

Please see the project website for more information.

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

raspberry_py-0.6.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

raspberry_py-0.6.0-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file raspberry_py-0.6.0.tar.gz.

File metadata

  • Download URL: raspberry_py-0.6.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.8 Linux/6.5.0-1022-azure

File hashes

Hashes for raspberry_py-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7688e9dccfb67109219e1e583cadb972bbb195895363208f5a99fe9a53ff5fce
MD5 2208a356ada431ee51f89785f957e038
BLAKE2b-256 185f18088aacdd1a4fb90b88fed7f8024389a7782434ea37f8f9356888e42dbe

See more details on using hashes here.

File details

Details for the file raspberry_py-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: raspberry_py-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.8 Linux/6.5.0-1022-azure

File hashes

Hashes for raspberry_py-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fba3f771143d00822aa99e6be0b31b361c3537ab6051fca2fcfbe4b15e817cc
MD5 5cc5c05e2d3baf18cbb28868e9d590ef
BLAKE2b-256 1f770d210e560e05356fbebdb90a30f3820fe378062ac09be5e26aa1a2fa1046

See more details on using hashes here.

Supported by

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