Skip to main content

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

  1. Create a test folder (e.g. tests) and cd into it.
  2. Create virtual environment:
    • Windows: python -m venv .venv
    • Linux/MacOS: python3 -m venv .venv
  3. Activate virtual environment:
    • Windows CMD: .venv\Scripts\activate.bat
    • Linux/MacOS: source .venv/bin/activate
  4. Install package
    • Windows CMD: pip3 install cpg-scpi
    • Linux/MacOS: pip3 install cpg-scpi

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

cpg_scpi-0.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cpg_scpi-0.1.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file cpg_scpi-0.1.1.tar.gz.

File metadata

  • Download URL: cpg_scpi-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 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

Hashes for cpg_scpi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5d55b8590f22d43b2bf11c469c48bc327abbf428483645c1da692b5955e90514
MD5 4c3626f9b45dbd53b8eb0bb76fa3d0af
BLAKE2b-256 4ae6d13496a3b224999670e8575836bad69b4fd0c51fb3bffa1140eb0e49367d

See more details on using hashes here.

File details

Details for the file cpg_scpi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cpg_scpi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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

Hashes for cpg_scpi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c71358ba851e7e7d5ccd3aba769f35dc80e159acaee9c7b7fd77cec57f9a18
MD5 ec191a6f357043ce3128391ec0f48721
BLAKE2b-256 35d53cf3fdbac9eeb3eda5742314e37abd2d11b86dfeacbaa86fa40ffabd4713

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page