Virtual Pi Library for Raspberry Pi
Project description
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
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
VPi-0.1.4.tar.gz
(10.0 kB
view details)
Built Distribution
VPi-0.1.4-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file VPi-0.1.4.tar.gz
.
File metadata
- Download URL: VPi-0.1.4.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b8964cfcae00b53d002c2e1a6de2a5dddf5273eac2090adcbd18e8ef8c8c30 |
|
MD5 | 10b4268941c7f19c3dcd1514c402175d |
|
BLAKE2b-256 | f6d2730bd28768cfc319b6e31680024234b4916528e3cee2000dc5934016be14 |
File details
Details for the file VPi-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: VPi-0.1.4-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 859fc538b8a4e221e0055d99f67a0ba2f941c65e91889b59baf8175a3f5c5943 |
|
MD5 | 869fd95979934a3f674d72b88161ac79 |
|
BLAKE2b-256 | cf2a7c7e282b8d585c06f03456acf49cdda0342d77b61a1cd217a362fd161b67 |