Skip to content
This repository has been archived by the owner on Sep 21, 2019. It is now read-only.

Fuchida/purrency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small Python 3 module that parses currency

Code Health

>> pip install purrency
from purrency import Purrency

prcy = Purrency('$200')

prcy.parsed
>> {'amount': Decimal(200.0), 'symbol': '$'}

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

About

Basic currency parser with Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages