Skip to content

20240628 Python Module

Pre-release
Pre-release
Compare
Choose a tag to compare
@wcjohns wcjohns released this 28 Jun 16:06
· 78 commits to master since this release

This is SpecUtils compiled for use from 64-bit Python 3.12 on Windows, or 64-bit Python 3.9 on Raspberry Pi OS 11 (Debian bullseye).

After downloading the attached, you can install the module, and run the example Python script with something like the following:

python.exe -m pip install --user --force SpecUtils-0.0.2-cp312-cp312-win_amd64.whl

python.exe .\test_python.py

The test_python.py demonstrates basic use of the module.

You can see the full list of commands available using:

python.exe
>>> import SpecUtils
>>> help(SpecUtils.SpecUtils)

Or it may be a little easier to just directly reference SpecFile_py.cpp.

You can email [email protected] with comments, requests, or questions.

(updated 20240701 for slight improvement to addMeasurement(...) function)