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
Release files for overpunch 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| overpunch-1.1.tar.gz | 2.6 kB | Details |
Release files / overpunch-1.1.tar.gz
| Download URL | overpunch-1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
748d262cf3e164bd817b5d459ab998c44a865d24a4a48dfc049fc99d42f98401
|
|
BLAKE2b-256 checksum How to use checksums |
903495950495823d9f2ca0e36e5a100caed1a2dbdcff338e7c53fc457a1769a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |