Metadata-Version: 2.0
Name: unit-converter
Version: 1.0.0
Summary: Package for converting quantities in different unit.
Home-page: https://bitbucket.org/jocelynlopez/unit_converter
Author: Jocelyn LOPEZ
Author-email: jocelyn.lopez.pro@gmail.com
License: MIT
Description-Content-Type: UNKNOWN
Keywords: converter units sciences
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: End Users/Desktop
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6


**************
Unit Converter
**************

Description
===========

Package for parsing as string quantities with or without units.


Basic usages
============

>>> from unit_converter import convert, converts
>>>
>>> convert('2.78 daN*mm^2', 'mN*µm^2')
>>> Decimal('2.78E+10')
>>>
>>> converts('2.78 daN*mm^2', 'mN*µm^2')
>>> '2.78E+10'
>>>
>>> convert('2.78', 'mN*µm^2', 'daN*mm^2')
>>> Decimal('2.78E+10')

Note: It is necessary to provide the value as a string. Indeed, the high precision of conversion (1E-27) is possible only with string, by using Decimal object in replacement of float object.

Contributing
============
Please submit and comment on bug reports and feature requests.

To submit a patch:

1. Fork it (https://bitbucket.org/negetem/unit_converter/fork).
2. Create your feature branch (*git checkout -b my-new-feature*).
3. Make changes.
4. Commit your changes (*git commit -am 'Add some feature'*).
5. Push to the branch (*git push origin my-new-feature*).
6. Create a new Pull Request.

License
=======
This app is licensed under the MIT license.

Warranty
========
This software is provided "as is" and without any express or
implied warranties, including, without limitation, the implied
warranties of merchantibility and fitness for a particular
purpose.


***************
Release History
***************

0.0.1 (2016-09-21)
==================
- Initial release

0.1.1 (2016-09-27)
==================

**Improvements**

- Added support for combined units like '**kg*m*s^-2**'

1.0.0 (2018-01-16)
==================

**Improvements**
- Big code refactoring

- Added handy functions convert and converts (return a string)

