Skip to main content

Driver for the GP2Y0E02B distance sensor

Project description

Introduction

Documentation Status Build Status latest version on PyPI Total PyPI downloads Code Style: Black

Driver for the GP2Y0E02B distance sensor

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install circuitpython-gp2y0e02b

To install system-wide (this may be required in some cases):

sudo pip3 install circuitpython-gp2y0e02b

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install circuitpython-gp2y0e02b

Installing to a Connected CircuitPython Device with Circup

Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:

pip3 install circup

With circup installed and your CircuitPython device connected use the following command to install:

circup install gp2y0e02b

Or the following command to update an existing version:

circup update

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

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

circuitpython-gp2y0e02b-0.0.1.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

circuitpython_gp2y0e02b-0.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file circuitpython-gp2y0e02b-0.0.1.tar.gz.

File metadata

File hashes

Hashes for circuitpython-gp2y0e02b-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a88378d72ce0bc5f9afd7e447ef1edd14e960255f2a0d8d1bb4ef2fcb16fbce5
MD5 5bc1962bddfbb572a2507b823569d2ec
BLAKE2b-256 bcb7680cab154175db57257b23bbe7f4de8a4a0cebc1bd96c5d4cf0410680b42

See more details on using hashes here.

File details

Details for the file circuitpython_gp2y0e02b-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for circuitpython_gp2y0e02b-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 095b1251845cb4410f9901550f2b813e14c149a9551f8a4b0a4d30c084c5d249
MD5 216269b57aa6a199fd4c1b9e98918b7f
BLAKE2b-256 816e2775f6fb5ed851d7cc2792a3f839f31efa11963391dfac2abb0b4513af30

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