Easy japanese era tool
Project description
Easy japanese era tool
Powered by Yamato Nagata
>>> from datetime import date
>>> from japanera import EraDate
>>> today = EraDate.from_date(date.today())
>>> date(2020, 4, 16) in today.era
True
>>> "Current Japanese Era is <{}>: <{}>".format(today.era.kanji, today.era.english)
Current Japanese Era is <令和>: <Reiwa>
>>> "Current Date is <{}>".format(today.strftime("%-K%-y年%m月%d日"))
Current Date is <令和05年03月07日>
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
Japanera-2.1.2.tar.gz
(23.9 kB
view details)
Built Distribution
Japanera-2.1.2-py3-none-any.whl
(18.0 kB
view details)
File details
Details for the file Japanera-2.1.2.tar.gz
.
File metadata
- Download URL: Japanera-2.1.2.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa4b78235788a37f96baa046a9ccde9747991c9f7094183a35623decaa9936b1 |
|
MD5 | a5fe0226c20751ee71538ecac6050156 |
|
BLAKE2b-256 | a93c5b2532995ebada21dd8c17a0b616d88cd8217cd310383ce1687acfdf5e0a |
File details
Details for the file Japanera-2.1.2-py3-none-any.whl
.
File metadata
- Download URL: Japanera-2.1.2-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af82314168cc2c0d9e246adc7c6d25918298b0dbd5d8f7bc7a22cab0c16d9229 |
|
MD5 | 4eb7ff0589457aad1852f4cc5ff70429 |
|
BLAKE2b-256 | eb8167e3ddd4044f5e8825a2f26da50341a512ba6c71d4927eb51e601f3c9ab4 |