Skip to main content

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)

Source distribution for overpunch 1.1
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

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page