Пакет умеет конвертировать русскую дату в дату по римскому календарю. Например, 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'
Источники
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 details)
File details
Details for the file rus2latin_date-1.3.tar.gz.
File metadata
- Download URL: rus2latin_date-1.3.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
Python-urllib/3.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac4d975b43146cf62f0ba7e6427efbe2fa1b907c05b9056d5ceb38ba2aafbc39
|
|
| MD5 |
d2d47da4c8f7316aeaff88ed943cb8d9
|
|
| BLAKE2b-256 |
23eeed315cb7675fcef3712e12180dd172290f8870056ad202d66009b16cc513
|