Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

spqr logo

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

Praise the gods.

You can import the unicode caracters 1-12,50

In[5]: from SPQR.literals import *

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

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

Packaging

Proudly packaged with flit

Release history Release notifications | RSS feed

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

This release

0.0.4-dev0 This release

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