Educational client library to use Adafruit Circuit Playground via SCPI protocol in Python3
Project description
cpg_scpi
Educational client library to use Adafruit Circuit Playground via SCPI protocol in Python3.
Description
The corresponding Arduino Sketch for the Circuit Playground can be found here.
... more docu to come ...
Development
Build pypi package
Tools needed to build and publish to PyPi under Windows:
python -m pip install --upgrade build
python -m pip install --upgrade twine
Tools needed to build and publish to PyPi Linux/MacOS:
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
Build package:
python -m build
Upload package to pypi:
Before uploading, delete outdated build artifacts in the dist folder, such that only the latest build files are uploaded.
twine upload dist/*
Test pypi package
- Create a test folder (e.g.
tests) and cd into it. - Create virtual environment:
- Windows:
python -m venv .venv - Linux/MacOS:
python3 -m venv .venv
- Windows:
- Activate virtual environment:
- Windows CMD:
.venv\Scripts\activate.bat - Linux/MacOS:
source .venv/bin/activate
- Windows CMD:
- Install package
- Windows CMD:
pip3 install cpg-scpi - Linux/MacOS:
pip3 install cpg-scpi
- Windows CMD:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cpg_scpi-0.3.0.tar.gz.
File metadata
- Download URL: cpg_scpi-0.3.0.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
329fd9a25caa17cbd353abdef22e9ea9d0df09bcf6d72772b2795807cb626ebf
|
|
| MD5 |
0ca47a7410bd26cb96df666a72cf1217
|
|
| BLAKE2b-256 |
b18a3b14e66a6ce0c83f291d21f01b6317a2101df39ca7589bc2f7b06582c26f
|
File details
Details for the file cpg_scpi-0.3.0-py3-none-any.whl.
File metadata
- Download URL: cpg_scpi-0.3.0-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
169dcacd9b791d8a89e61a8eab1dc814d6fef3dff409f3feaf822e33f82250c8
|
|
| MD5 |
bdbbb2758c11e2190efb579715edb987
|
|
| BLAKE2b-256 |
b7a32a29892eca064ed7c4e88c2f3c389f66a2ad0f35ed8bf2bc59bac8ccbe0c
|