Skip to main content

spqr logo

Roman empire backward compatibility

Still Partially Quompatible with Roman empire allow you to deals with numeral use a long time ago in the BF times (BF as Before Fortran). As you all know the necessity for quick iteration as for long been a goal in the scientific community, as well a reproducibility and backward compatibility. Now you can quickly achieve the efficiency you had to engrave number on you marble tablet calculator from the comfort of your QWERTY keyboard, and replicate studies made at the time of Neron, Ceasar, and all thoses guy you don't remember the name.

Tu quoque mi fili

In [1]: from SPQR import I,V,X,C,M

In [2]: NOW = M.M.X.V # this year

In [3]: AGE = X.X.I.X

In [4]: NOW - AGE
Out[4]: MCMLXXXVI

numpy display format

from SPQR import set_numpy_print_options
set_numpy_print_options()

Praise the gods.

You can import the unicode caracters 1-12,50 and a few others:

In[5]: from SPQR.literals import *

And it of course play nice with the gods. In Jupyter you can tab-completes the above characters with:

\roman numeral [one|two|three|...]<tab>

It is also usable inside NumPy arrays and other data structures:

example of adding two numpy arrays with SPQR data

Packaging

Proudly packaged with flit

logo

Logo from wikimedia commons

Release files for SPQR 0.0.7

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

Source distribution (sdist)

Source distribution for SPQR 0.0.7
File Size Uploaded
spqr-0.0.7.tar.gz 438.4 kB Details

Built distribution (wheel)

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

Total release size: 442.7 kB

Release files / spqr-0.0.7.tar.gz

Download URL spqr-0.0.7.tar.gz
Size 438.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8713ea89fb6e9c364ff5c6a387af9a7cb21a4e7cc27d1c969c606ec119672994
BLAKE2b-256 checksum
How to use checksums
23fe7829956380ce31ccbd0f27bf0d0a96f41f3fc695f2d065e388ea55ea63e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / spqr-0.0.7-py3-none-any.whl

Download URL spqr-0.0.7-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a188b676fb610775c01d02b6bf6eca94143cfa461a8bb4a0411baad7d346457
BLAKE2b-256 checksum
How to use checksums
2b975d9039fa818e90c4d80e15da067e435b6e8e2da7b2809251fb4174ed078e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

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