pyunitwizard.configure package
Submodules
pyunitwizard.configure.configure module
- pyunitwizard.configure.configure.get_default_form() str [source]
Returns the default form of the quantities and units.
- Returns:
The default form.
- Return type:
str
- pyunitwizard.configure.configure.get_default_parser() str [source]
Returns the default parser.
- Returns:
The default form.
- Return type:
str
- pyunitwizard.configure.configure.get_libraries_loaded() List[str] [source]
Returns loaded libraries.
- Returns:
A list with the loaded libraries.
- Return type:
list of str
- pyunitwizard.configure.configure.get_libraries_supported() List[str] [source]
Returns supported libraries.
- Returns:
A list with the loaded libraries.
- Return type:
list of str
- pyunitwizard.configure.configure.get_parsers_loaded() List[str] [source]
Returns loaded parsers.
- Returns:
A list with the loaded parsers.
- Return type:
list of str
- pyunitwizard.configure.configure.get_parsers_supported() List[str] [source]
Returns supported parsers.
- Returns:
A list with the supported parsers.
- Return type:
list of str
- pyunitwizard.configure.configure.get_standard_units() Dict[str, Dict[str, int]] [source]
Returns a nested dictionary where each subdictionary corresponds to the dimensionality of the standard units set in the configuration.
- Returns:
Dictionary with standard units.
- Return type:
dict
- pyunitwizard.configure.configure.load_library(library_names: str | List[str])[source]
Loads library or libraries.
- Parameters:
library (str, list of str) – Name of the library or list with the name of the libraries.
- pyunitwizard.configure.configure.set_default_form(form: str) None [source]
Sets the default form of the quantities and units.
- Parameters:
form (str) – The new default form.