Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/PH-Tools/PH_units
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-p-may committed Jan 12, 2023
2 parents 7ac446a + 9861c32 commit 29ca4d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ The package also has a parser which can take simple text in the format: `"{value
>>> val, unit = parse_input("0.17 BTU/HR-FT2-F")
>>> val # 0.17
>>> unit # 'BTU/HR-FT2-F'
>>>
```
The results of the parser can then be fed into the converter
```
>>> from ph_units.converter import convert
>>> convert(val, "W/MK", unit) -> 0.098 # BTU/HR-FT2-F
```
Expand All @@ -39,4 +41,4 @@ The package also has a parser which can take simple text in the format: `"{value
- - -
![Tests](https://github.com/PH-Tools/PHX/actions/workflows/ci.yaml/badge.svg )
![versions](https://img.shields.io/pypi/pyversions/pybadges.svg)
[![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
[![IronPython](https://img.shields.io/badge/ironpython-2.7-red.svg)](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)

0 comments on commit 29ca4d8

Please sign in to comment.