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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page