https://github.com/zoni/err-converter
Errbot plugin to convert various measurements and metrics
https://github.com/zoni/err-converter
Last synced: 15 days ago
JSON representation
Errbot plugin to convert various measurements and metrics
- Host: GitHub
- URL: https://github.com/zoni/err-converter
- Owner: zoni
- License: mit
- Created: 2014-07-18T07:23:21.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-11-03T21:45:38.000Z (over 10 years ago)
- Last Synced: 2025-02-22T13:59:50.245Z (over 1 year ago)
- Language: Python
- Size: 207 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
err-converter
=============
.. image:: https://coveralls.io/repos/zoni/err-converter/badge.png?branch=master
:target: https://coveralls.io/r/zoni/err-converter?branch=master
.. image:: https://travis-ci.org/zoni/err-converter.svg?branch=master
:target: https://travis-ci.org/zoni/err-converter
Plugin for `Err `_ to convert various measurements and metrics.
Requirements
------------
This plugin supports both Python 2 and 3. See `requirements.txt` for
further requirements.
Installation
------------
Give your bot the command `!repos install https://github.com/zoni/err-converter.git`.
Usage
-----
This plugin provides the `!convert` command to run conversions::
>> !convert 20 celsius to fahrenheit
20 degC = 68 degF
>> !convert 1 meter to feet
1 meter = 3.28084 foot
>> !convert 75 miles/hour to kilometers/hour
75 mile / hour = 120.701 kilometer / hour
>> !convert 180 degrees to radians
180 degree = 3.14159 radian
(Refer to the documentation for `Pint `_ to
see all the values that are understood.)
Addiontally, it automatically listens to certain keywords/phrases spoken during
conversation to run conversions automatically. At the moment, this only works
for temperature conversions::
>> It's 30 degrees Celsius today.
30 degC = 86 degF
>> It's 30 degrees C today.
30 degC = 86 degF
>> It's 30 Celsius today.
30 degC = 86 degF
License
-------
The MIT License. See the file *LICENSE* for more details.