PyUnitWizard

There are several Python libraries to work with physical quantities in the market. Pint, unyt or openmm.unit, are just some of them. Imagine that your project, or workflow, requires the interaction with more than one of these tools. Or that you are not sure if you will work with a different quantities library in the future. Are you looking for a unique API to work with different quantities libraries? Wouldn’t it be a relief? PyUnitWizard just do that. It is the wizard you need in your code to change the form of your quantities with few effort. With PyUnitWizard you can:

  • Convert physical quantities and units between the different native objects from a set of supported libraries.

  • Work with physical quantities with a simple syntaxis no matter the library you chose to do the hard work in the background.

  • Integrate a quantities wizard in your library defining the default library and the standard units in you project.

Have a look to the quick guide to see some examples of PyUnitWizard in action.

Libraries supported

Glossary, indices and tables