Skip to main content

Python Instrument Control for Load tuner and PA testing integration

Project description

Instrument Control Library

Used to interact with RF instrument controls for lo tuning and PA testing through SCPI commands

Version History

0.1.0 : Initial Build. 0.1.1 : Remove Unneeded libraries

Additional Editing and Build instructions

You need to have the project packaged to be able to run it in a test mode. the commands are:

python3 -m pip install build python3 -m build --wheel pip3 install dist/focustuner-0.1.0-py3-none-any.whl

python -m pip install build python -m build --wheel pip install dist/focustuner-0.1.0-py3-none-any.whl

and using:

python3 -m unittest discover
python -m unittest discover

python -m unittest discover

to test the code

Library Creation

This library was created using instructions form https://medium.com/analytics-vidhya/how-to-create-a-python-library-7d5aea80cc3f Frankly it was started more than once so there is a high probability there are unnecessary components. It was a valiant effort though.

try number 2 https://medium.com/@tushar_datascience/creating-a-python-library-a-step-by-step-guide-with-a-simple-example-c87b653b9a4e

You need to set up pypi API token. This is done by creating a API token on pypi and then creating a file in Users/[username]/ called .pypirc with the following:

[pypi] username = token password = [password from pypi]

If you have done it correctly you will get these instructions (again) from pypi.

Also you have to delete old dist files when uploading.

python -m build
twine upload dist/* --repository pypi --verbose

Ensure you update the version number and delete previous tar.gz and whl files for the previous version. This seems to do it.

Start virtual environment

python -m venv venv

Activate for windows:

. venv\Scripts\activate

Activate for Mac:

. venv/bin/activate

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

instrumentcontrol-0.1.21.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

instrumentcontrol-0.1.21-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file instrumentcontrol-0.1.21.tar.gz.

File metadata

  • Download URL: instrumentcontrol-0.1.21.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for instrumentcontrol-0.1.21.tar.gz
Algorithm Hash digest
SHA256 46fab9dcff15a528b944c18c10b270032e7f3801d510bf2977d7b1ee80757c32
MD5 7429eb3f9e65d3d54e5bb93f0c105e86
BLAKE2b-256 4fdf4c4c02887c12607f055e4a6fac267884eaf69d128d448fbb2c5131deb0d3

See more details on using hashes here.

File details

Details for the file instrumentcontrol-0.1.21-py3-none-any.whl.

File metadata

File hashes

Hashes for instrumentcontrol-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 4ccaa8abefe3cd6408af695854f3887b4c24f03e8ef7a8f3db63f295c4d72e07
MD5 d12a49930b22b5660741300eb337b98f
BLAKE2b-256 91792f8add437e0ee121fc012159c23724431d1dd4a1da42afc84b3139c24807

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