An open API service indexing awesome lists of open source software.

https://github.com/nevmenandr/rus2latin_date

Python package for Russian date conversion into Latin 📆
https://github.com/nevmenandr/rus2latin_date

datetime latin latin-language python-package russian-language

Last synced: 15 days ago
JSON representation

Python package for Russian date conversion into Latin 📆

Awesome Lists containing this project

README

          

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.12814189.svg
:target: https://doi.org/10.5281/zenodo.12814189

====================================================================
Пакет для конвертирования русской даты в дату по римскому календарю 📆
====================================================================

Пакет умеет конвертировать русскую дату в дату по римскому календарю. Например, 24 марта => ante diem IX Kalendas Apriles.

Установка
============

Как обычно, с pip

::

pip install rus2latin_date

Использование
==============

::

>>> from rus2latin_date import Converter
>>> c = Converter()
>>> c.conv("28 февраля 2012")
'ante diem III Kalendas Martias'
>>> c.conv("24 марта")
'ante diem VIIII Kalendas Apriles'
>>> c.conv("15-11-1983")
'ante diem XVII Kalendas Decembres'
>>> c.conv("26.5.1900")
'ante diem VII Kalendas Iunias'

Источники
==============

* `Латинский календарь `_
* `Index dierum calendarii Romani `_