Skip to main content

Roman numeral encoder and decoder

Project description

python-serpente

Roman numeral conversion. Supports Python 3.8 to 3.12.

main branch CI badge

Usage

>>> import serpente
>>> serpente.encode(1234)
'MCCXXXIV'
>>> serpente.decode("MCCXXXIV")
1234

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

python_serpente-2.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

python_serpente-2.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file python_serpente-2.0.tar.gz.

File metadata

  • Download URL: python_serpente-2.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

File hashes

Hashes for python_serpente-2.0.tar.gz
Algorithm Hash digest
SHA256 bce27088530218ffa26204eac1a9527459d2a1b22d34708709e38da95fa7a837
MD5 57874da293793192cac94ca574bb10c5
BLAKE2b-256 df6ae5b424f54e320d09aa8163bca93b9bab015cdce9a8dff36493e9c07387a0

See more details on using hashes here.

File details

Details for the file python_serpente-2.0-py3-none-any.whl.

File metadata

  • Download URL: python_serpente-2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

File hashes

Hashes for python_serpente-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e35d81717e98591111d3078e008c8b18469f0c1e76fb644956acc521c6dd097e
MD5 83ccc10ed28181d8109ab1bd03db4819
BLAKE2b-256 8b0d5bc06534b0bf7bfb0b94e81c5e35706f283bd840f6c3fb4897a4a96c7cff

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