BSD Ports

textproc/py-roman-numerals-py 3.0.0 DragonFly

Manipulate well-formed Roman numerals

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD0CLAUSE, CC0-1.0
Categories
python, textproc
Package size
10.9 KiB, 58.0 KiB installed

Description

A library for manipulating well-formed Roman numerals.

Integers between 1 and 3,999 (inclusive) are supported. Numbers beyond this range will return an OutOfRangeError.

The classical system of roman numerals requires that the same character may not appear more than thrice consecutively, meaning that 'MMMCMXCIX' (3,999) is the largest well-formed Roman numeral. The smallest is 'I' (1), as there is no symbol for zero in Roman numerals.

Both upper- and lower-case formatting of roman numerals are supported, and likewise for parsing strings, although the entire string must be of the same case. Numerals that do not adhere to the classical form are rejected with an InvalidRomanNumeralError.

In the other systems

The newest version among them is 4.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlytextproc/py-roman-numerals-py3.0.0none known-[email protected]-
FreeBSDtextproc/py-roman-numerals-py4.1.0 newestnone known-[email protected]-
HardenedBSDtextproc/py-roman-numerals-py4.1.0 newestno data-[email protected]-
GhostBSDtextproc/py-roman-numerals-py4.1.0 newestno data-[email protected]-

Install

Binary package:

pkg install py311-roman-numerals-py

From DPorts:

cd /usr/dports/textproc/py-roman-numerals-py && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.