semvec/pypi-packages huggingface dataset:
corva-unit-converter 0.5.0
Unit converter for O&G(and other) units
License: MIT
Requires Python: <4.0,>=3.8
Keywords: corva, unit converter

# Units Converter

Library for converting between quantities in different units(including units specific to O&G).

This is a python version of the existing javascript app.
Credit goes to the creator and contributors of the original version https://github.com/corva-ai/corva-convert-units,
which is a fork of https://github.com/convert-units/convert-units.

# Installation

```shell
pip install corva-unit-converter
```

# Usage:

Imperial to metric:

    from corva_unit_converter.converter import Converter
    converter = Converter()
    length_meters = converter.convert(unit_from="ft", unit_to="m", value=1)

Metric to imperial:

    from corva_unit_converter.converter import Converter
    converter = Converter()
    torque_ft_lbf = converter.convert(unit_from="Nm", unit_to="ft-lbf", value=1)

Metric to metric:

    from corva_unit_converter.converter import Converter
    converter = Converter()
    mass_grams = converter.convert(unit_from="kg", unit_to="g", value=1)


# Contribution

1. Cover your changes with unit tests.
2. Bump version in src/version.py if you want your changes to be released.


# Testing

1. Create virtualenv via your favourite tool, for example 
```shell
python3 -m venv venv
source venv/bin/activate
```
2. Install all requirements:
```shell
pip install -r requirements.txt && pip install -r requirements-test.txt
```
3. Run tests with coverage:
```shell
make coverage
```
or tests without coverage:
```shell
make test
```
Linters are available through
```shell
make lint
```

# License
This project is licensed under the terms of the MIT license.

Copyright (c) 2013-2017 Ben Ng and Contributors, http://benng.me

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
pylj 1.5.2
Simple teaching tool for classical MD simulation
License: MIT

<a href="http://pythoninchemistry.org/pylj"><img src="https://github.com/arm61/pylj/blob/master/logo/logo.png?raw=true" width= "60%"/></a>

## Visit the [pylj](http://pythoninchemistry.org/pylj) webpage for more information about pylj.

To build from source:

```python

pip install -r requirements.txt

python setup.py build

python setup.py install

python setup.py test

```
Check out our publication in the [Journal of Open Source Education](http://jose.theoj.org/papers/58daa1a1a564dc8e0f99ffcdae20eb1d) to find out more about pylj.

Be aware! pylj runs within a [Jupyter notebook](http://jupyter.org/), and therefore requires this to run. We advise installing [anaconda python](https://anaconda.org/) as this includes many required libraries as well as the Jupyter notebooks framework.

If you need any help using pylj contact arm61 in the [pylj/HELP gitter chatroom](https://gitter.im/pylj/HELP).

Check out some [examples](https://github.com/arm61/pylj/tree/master/examples) of how pylj can be used in undergraduate teaching exercises.

## Badges

<table>
  <tr>
    <td>JOSE DOI</td>
    <td>
      <a href="http://jose.theoj.org/papers/58daa1a1a564dc8e0f99ffcdae20eb1d">
      <img src="http://jose.theoj.org/papers/58daa1a1a564dc8e0f99ffcdae20eb1d/status.svg" alt="status" />
      </a>
    </td>
  </tr>
  <tr>
    <td>Latest Release</td>
    <td>
      <a href="https://badge.fury.io/py/pylj">
      <img src="https://badge.fury.io/py/pylj.svg" alt="PyPi version" />
      </a>
    </td>
  </tr>
  <tr>
    <td></td>
    <td>
      <a href="https://zenodo.org/badge/latestdoi/119863480">
      <img src="https://zenodo.org/badge/119863480.svg" alt="DOI" />
      </a>
    </td>
  </tr>
  <tr>
    <td>Documentation</td>
    <td>
      <a href="http://pylj.readthedocs.io/en/latest/?badge=latest">
      <img src="https://readthedocs.org/projects/pylj/badge/?version=latest" alt="Documentation Status" />
      </a>
    </td>
  </tr>
  <tr>
    <td>License</td>
    <td>
      <a href="https://opensource.org/licenses/MIT">
      <img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License MIT" />
      </a>
    </td>
  </tr>
  <tr>
    <td>Build Status</td>
    <td>
      <a href="https://github.com/arm61/pylj/actions">
        <img src="https://github.com/arm61/pylj/actions/workflows/ci.yml/badge.svg" alt="Build Status" />
      </a>
  </tr>
  <tr>
    <td>Coverage Status</td>
    <td>
      <a href="https://codeclimate.com/github/arm61/pylj/test_coverage">
        <img src="https://api.codeclimate.com/v1/badges/770882d2010bb099b241/test_coverage" />
      </a>
    </td>
  </tr>
  <tr>
    <td>Gitter</td>
    <td>
      <a href="https://gitter.im/pylj/Lobby#">
      <img src="https://badges.gitter.im/gitterHQ/gitter.png" alt="Gitter chat" />
      </a>
    </td>
  </tr>
</table>