Skip to main content

# Pynumeral

![](https://img.shields.io/badge/python-3.6-brightgreen.svg) ![](https://img.shields.io/badge/python-3.7-brightgreen.svg) ![](https://img.shields.io/badge/code%20style-black-000000.svg) [![Build Status](https://travis-ci.org/optimdata/pynumeral.svg?branch=master)](https://travis-ci.org/optimdata/pynumeral)

pynumeral is a python implementation of number formatting using [numeraljs format](http://numeraljs.com/#format). This project was motivated when we had to render numbers backend-side (which is written in python) while keep using formats defined by users. It has been coded regardless of the javascript implementation. It has been tested on a fairly large amount of formats but there are not any guarantees that it covers all the cases. Since unit testing is pretty simple, contributions are more than welcome.

It only provides a simple api pynumeral.format(value, format).

## History

### 0.1.0 (2019-11-15)

  • First release on PyPI.

Metadata

Release files for pynumeral 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynumeral 0.1.2
File Size Uploaded
pynumeral-0.1.2.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pynumeral 0.1.2
File Interpreter ABI Platform
pynumeral-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / pynumeral-0.1.2.tar.gz

Download URL pynumeral-0.1.2.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7e620d7a761e8afee2a111768e511972dd9677a4c76ccae76a36dd91ff6a2de2
BLAKE2b-256 checksum
How to use checksums
66d482e216f27f0d0a5743d39ef97f2ad4a7878d9af04c64c72c940404d4782b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release files / pynumeral-0.1.2-py3-none-any.whl

Download URL pynumeral-0.1.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2748479841d7bcbfa8e605371a19a2706eb6e7bcefaed4a0fea4df4a2eb7f303
BLAKE2b-256 checksum
How to use checksums
eae356dac721be5be8af54c6ba8ad45cdc091f9cc37f6081be0c04945d835dcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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