Skip to main content

S.P.Q.R

Project description

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 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 of from wikimedia commons

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SPQR-0.0.6.tar.gz (438.3 kB view details)

Uploaded Source

Built Distribution

SPQR-0.0.6-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file SPQR-0.0.6.tar.gz.

File metadata

  • Download URL: SPQR-0.0.6.tar.gz
  • Upload date:
  • Size: 438.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for SPQR-0.0.6.tar.gz
Algorithm Hash digest
SHA256 48aaa192def70007ac53e1b87a3bf1adefe824af529be79b5fbaa6ebf6dc904e
MD5 9255204de6223130bad57257ba0f9c68
BLAKE2b-256 43528ed86b932dd678f3288bbf9dc44b3710a6504efe1a0ea7ea1f4a7e123c79

See more details on using hashes here.

File details

Details for the file SPQR-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: SPQR-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for SPQR-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 223afba9fd0dbec1327aa21851eedb77b68a2b24c68bf8dac7fc9514d9314c91
MD5 d1e86297335db20646475fbd9e020786
BLAKE2b-256 bd652516ea58f993edeb4996b35ca4fed5ed8a9012c5ab621abec046252e2054

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page