Historical chronology tools (indiction, calendar systems, etc.)
Project description
Computus
A small Python library for historical chronology.
Author
Ivan Debono
Features
- Indiction calculation (Anno Domini and Byzantine Anno Mundi)
- Roman numeral conversion
Installation
Using pip
pip install computus
Using uv
uv add computus
Or:
uv pip install computus
Usage (Python)
from computus import indiction, arabic_to_roman
i = indiction(525)
print(i) # 3
print(arabic_to_roman(i)) # III
Command Line Usage
After installing the package, you can run it directly from the terminal.
Basic usage
computus 525
Example output:
Indiction: 3 (III)
Specify calendar system
computus 525 --calendar AD
computus 1000 --calendar AM
Help
computus --help
Description
computus provides simple tools for working with historical dating systems, inspired by the chronological methods of Late Antiquity and the Middle Ages. It currently supports:
- Calculation of the indiction cycle
- Conversion of integers to Roman numerals
Roadmap
Future features will include:
- Julian ↔ Gregorian calendar conversion
- Parsing historical date formats
- Support for additional era systems
See CHANGELOG.md for release history.
License
PolyForm Noncommercial License 1.0.0
Copyright (c) 2026 Ivan Debono
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file computus-1.0.1.tar.gz.
File metadata
- Download URL: computus-1.0.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d8682dece8b8a4d758dc7dd7ac65a3219094d6de33411c05b74ff72151f59af
|
|
| MD5 |
eef2d7bb380a0ab10e3e397341f2bc0c
|
|
| BLAKE2b-256 |
b8ceb9b575e819e1321c1c553a16f76df5836f440dd92d8ebca1bab0c184d329
|
File details
Details for the file computus-1.0.1-py3-none-any.whl.
File metadata
- Download URL: computus-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be7b0dfe4582431fbb91c1ab2ca739fe66658bd4e5fdc83946e5d809da77c111
|
|
| MD5 |
d95326f74e6c221eb620ea812c5007bd
|
|
| BLAKE2b-256 |
44b038eec3d26e9d05ff7b07ea55f14a0f882668a356c62a8ef94e1ddeb483ef
|