Extract and generate overpunch formatted numbers.
>>> import overpunch
>>> overpunch.format(123.45)
'1234E'
>>> overpunch.extract("1234E")
Decimal('123.45')
- Python 2.7+ or Python 3
Without coverage:
$ nosetests
With coverage:
$ nosetests --with-coverage --cover-package=overpunch