-
Notifications
You must be signed in to change notification settings - Fork 50
Quantity (RealwithUnit) unit converter using pint module #734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@mkundu1 tests are failing in both @hpohekar and @prmukherj 's PR. Running API codegen Laurence has posted new docker images. |
77a2447
to
bb324b2
Compare
bb324b2
to
aa6bbf1
Compare
… including dynamic viscosity
aa6bbf1
to
538f36c
Compare
…iption about restricted units
@hpohekar you can merge this now if you're ready |
The c++ side unit conversion testing is not completed yet. |
Source code - quantity.py
Test cases - test_quantity.py
Pint is added in install requirements in setup.py
RealWithUnits class is renamed to Quantity.
Description of unit names and symbol is available on following link -
https://github.com/hgrecco/pint/blob/master/pint/default_en.txt
Pint module documentation is available on following link -
https://pint.readthedocs.io/en/0.19/index.html