Skip to main content

Utility for converting Russian date into Roman

Project description

Пакет умеет конвертировать русскую дату в дату по римскому календарю. Например, 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'

Источники

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

rus2latin_date-1.3.tar.gz (16.5 kB view hashes)

Uploaded Source

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