Skip to main content

Python Instrument Control for Focus Mechanical Load tuner CCMT 1808

Project description

Load Tuner Library

This is a locally installable verion of the python Focus Load Tuner Library

Version History

0.1.1: Updated README and Authors

0.1.0 : Initial Build.

Acknowledgements

A special thanks to Devon Donahue and Scott Schafer for the initial version of this code written in socket commands.

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

focustuner-0.2.3.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

focustuner-0.2.3-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file focustuner-0.2.3.tar.gz.

File metadata

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

File hashes

Hashes for focustuner-0.2.3.tar.gz
Algorithm Hash digest
SHA256 50d6d7f5be82064b16ffa25e3caa9c541dbb36bbdd88126873daad82eee02348
MD5 1481222df7702dc154b5495ee25a5c37
BLAKE2b-256 322c8f3621efb8d828fe6a394235ce760d80d71a1420ee5688e9f03ad794722c

See more details on using hashes here.

File details

Details for the file focustuner-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: focustuner-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for focustuner-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53d6e7a0ba00644213d391e86cf4e85d7c9a00027bea7363984789ae1280944e
MD5 45dfc8a0125b3619067c0a17827bb144
BLAKE2b-256 8e1d981a491fdde09f67c83cea5eef24096607f651d284cbd67dc28ba5fb4dc4

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