pytuflow.TuflowBinaries#
- class TuflowBinaries#
Bases:
objectClass for managing TUFLOW binary versions and paths. A single instance of this class is created and used globally. This instance should be used rather than manually initialising this class. To access the instance, import the
tuflow_binariesvariable:Examples
>>> from pytuflow.util import tuflow_binaries >>> tuflow_binaries.get('2023-03-AE') 'C:/TUFLOW/releases/2023-03-AE/TUFLOW_iSP_w64.exe'
- __init__()#
Methods
Generator that yields the TUFLOW binary versions and paths as tuples.
Load the TuflowVersions object from the JSON file.
Saves the tuflow versions to the cache (JSON file).
Returns the path to the JSON file containing stored TUFLOW version info.
Only tested post 2026.
Attributes
User registered TUFLOW binary locations
Registered TUFLOW binary folders