Overpunch Parser/Formatter
Project description
Extract and generate overpunch (https://en.wikipedia.org/wiki/Signed_overpunch) formatted numbers.
Examples:
>>> import overpunch >>> overpunch.format(123.45) '1234E' >>> overpunch.extract("1234E") Decimal('123.45')
Requirements:
Python 2.7+ or Python 3
Tests:
Without coverage:
$ nosetests
With coverage:
$ nosetests --with-coverage --cover-package=overpunch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
overpunch-1.1.tar.gz
(2.6 kB
view hashes)