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.
0.2.8 : Adding move_Z() and load cal functions. Unit tests not included.
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.
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
Release history Release notifications | RSS feed
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 focustuner-0.2.10.tar.gz.
File metadata
- Download URL: focustuner-0.2.10.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caddb76de42203c5a9f43763e9387646b8768c1364cc1103650c5e2546d2fbfc
|
|
| MD5 |
d14ffc5661b6a7d3ca33a18d34133def
|
|
| BLAKE2b-256 |
34aa53dcf45fe8f7f2b5342b726b6bde1e088fbcc107292b3d23ddd1af586b7e
|
File details
Details for the file focustuner-0.2.10-py3-none-any.whl.
File metadata
- Download URL: focustuner-0.2.10-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57ac3724c9ae6a7c6678f5396076d91d6050165baa237b1e7a3d02d985dcecc6
|
|
| MD5 |
af44197a8003bdbbde2bc75efe717f82
|
|
| BLAKE2b-256 |
9c29e96daaa5d482918200897ff8830739959874d7d8afb74047e5d8234acdd9
|