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.0.tar.gz (9.2 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.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for cpg_scpi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f661fc9a928a7a3378611236febd93968e670787f4d5e305c6c47c0b169355bc
MD5 886b56bf023d47a1f737307eb5c7fd78
BLAKE2b-256 abff1539b139a69b94b713d67a37da67de6ab6ffeb230c98d21caaeb86c5516c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpg_scpi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edac9edc7fe46ce052574d847123526c9d666b406bed83b001ac2507562565ee
MD5 17e350a40e6060fb9030e1e30f907fbb
BLAKE2b-256 6b86c865c64873b0d17a89894f9a398094cd91435dc27f6a772b7c6f90b49c52

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