Virtual Pi
The easiest way to use this package is to install using pip3 for python 3
$ sudo pip3 install VPi
To use the mock or virtual pi just type the following at the beginning of your script.
try:
from RPi.GPIO import GPIO
import board
import busio
import spidev
except:
from VPi.GPIO import GPIO
import VPi.board as board
import VPi.busio as busio
import VPi.spidev as spidev
Works with
Metadata
Release files for VPi 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| VPi-0.1.4.tar.gz | 10.0 kB | Without provenance | Details for VPi-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| VPi-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for VPi-0.1.4-py3-none-any.whl |
Total release size: 23.5 kB
Release files / VPi-0.1.4.tar.gz
| Download URL | VPi-0.1.4.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7b8964cfcae00b53d002c2e1a6de2a5dddf5273eac2090adcbd18e8ef8c8c30
|
|
BLAKE2b-256 checksum How to use checksums |
f6d2730bd28768cfc319b6e31680024234b4916528e3cee2000dc5934016be14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/58.3.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.9
|
Release files / VPi-0.1.4-py3-none-any.whl
| Download URL | VPi-0.1.4-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
859fc538b8a4e221e0055d99f67a0ba2f941c65e91889b59baf8175a3f5c5943
|
|
BLAKE2b-256 checksum How to use checksums |
cf2a7c7e282b8d585c06f03456acf49cdda0342d77b61a1cd217a362fd161b67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/58.3.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.9
|
Security for VPi 0.1.4
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.