purrency

Simple currency parser with Python


License
MIT
Install
pip install purrency==0.3

Documentation

A small Python 3 module that parses currency

Code Health

>> pip install purrency
from purrency import Purrency

prcy = Purrency('$200')

prcy.parse()

>> {'amount': Decimal(200.0), 'currency': '$'}

Testing:


git clone https://github.com/Fuchida/purrency.git

virtualenv --distribute --no-site-packages purrency -p /path/to/your/python3

. bin/activate

pip install -r test-requirements.txt

nosetests -v src/test_parser.py