Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

AS1170 Python Library

Description

This library allows control of the AS1170 driver via I2C on Raspberry Pi, enabling LED management with simple commands like led1.on() and led1.off().

Installation

Since Raspberry Pi OS has stricter package management, it is recommended to install the library in a virtual environment to avoid conflicts.

1 Install Python Virtual Environment

If venv is not installed, run:

sudo apt install python3-venv

2 Create a Virtual Environment

Inside your project folder:

python3 -m venv venv

3 Activate the Virtual Environment

source venv/bin/activate

4 Install the Library

pip install as1170

5 Using the Library

from as1170.driver import led

led.on()
time.sleep(1)
led.off()

6 Deactivate the Virtual Environment

deactivate

Uninstallation

To remove the library from your virtual environment:

pip uninstall as1170

If you want to completely remove the virtual environment:

rm -rf venv

Metadata

Release files for as1170 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for as1170 0.1.1
File Size Uploaded Provenance
as1170-0.1.1.tar.gz 2.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for as1170 0.1.1
File Interpreter ABI Platform
as1170-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / as1170-0.1.1.tar.gz

Download URL as1170-0.1.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b49ad7e28cb276fd34fae131a90414a79b9e1071e750687e3b4b07b5b392131b
BLAKE2b-256 checksum
How to use checksums
0038142585f262d13a18e2ba747b794d32b9e7f71b97afd12f6fc493e6cd1132
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / as1170-0.1.1-py3-none-any.whl

Download URL as1170-0.1.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8acf68a4e3be392c681e553be66244260749dbeb617536eaf06a6c8eea1db61a
BLAKE2b-256 checksum
How to use checksums
759196c940062e89966948c9ef7f405a0213d4c297050bba875fce5375348831
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Security for as1170 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page