pyunitwizard.configure package#
Submodules#
pyunitwizard.configure.configure module#
- pyunitwizard.configure.configure.add_constant(constant_name, value, unit)[source]#
- Return type:
None
- pyunitwizard.configure.configure.get_default_form()[source]#
Returns the default form of the quantities and units.
- Returns:
The default form.
- Return type:
str
- pyunitwizard.configure.configure.get_default_parser()[source]#
Returns the default parser.
- Returns:
The default form.
- Return type:
str
- pyunitwizard.configure.configure.get_libraries_loaded()[source]#
Returns loaded libraries.
- Returns:
A list with the loaded libraries.
- Return type:
list of str
- pyunitwizard.configure.configure.get_libraries_supported()[source]#
Returns supported libraries.
- Returns:
A list with the loaded libraries.
- Return type:
list of str
- pyunitwizard.configure.configure.get_parsers_loaded()[source]#
Returns loaded parsers.
- Returns:
A list with the loaded parsers.
- Return type:
list of str
- pyunitwizard.configure.configure.get_parsers_supported()[source]#
Returns supported parsers.
- Returns:
A list with the supported parsers.
- Return type:
list of str
- pyunitwizard.configure.configure.get_standard_units()[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)[source]#
Loads library or libraries.
- Parameters:
library (str, list of str) – Name of the library or list with the name of the libraries.
library_names (str | List[str])
- pyunitwizard.configure.configure.set_default_form(form)[source]#
Sets the default form of the quantities and units.
- Parameters:
form (str) – The new default form.
- Return type:
None