Easy converter between Kanji-Number and Integer
Powered by Yamato Nagata
Can Convert Number up to 10 ** 72 - 1
from kanjize import int2kanji, kanji2int, Number
print(int2kanji(58076099))
# 五千八百七万六千九十九
print(kanji2int("五千八百七万六千九十九"))
# 58076099
print(kanji2int("223兆4千億4256万6千"))
# 223400042566000
print(kanji2int("223兆4000億4256万6000"))
# 223400042566000
print(int2kanji(223400042566000, style="mixed", kanji_thousand=False))
# 223兆4000億4256万6000
print(int2kanji(223400042566000, style="mixed"))
# 223兆4千億4256万6千
print((Number.from_kanji("223兆4千億4256万6千") * Number(2.3)).to_kanji(style="mixed"))
# 446兆8千億8513万2千
Release files for kanjize 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kanjize-1.0.0.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kanjize-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / kanjize-1.0.0.tar.gz
| Download URL | kanjize-1.0.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0da20d8f70be7d24c783abcd3f2f961d42939488c41f5b250b0025443a5150c
|
|
BLAKE2b-256 checksum How to use checksums |
aca71e645edb11b71320e6731593a1a2168e6f3ca0f0e4ddcd5c72a8240dfa1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / kanjize-1.0.0-py3-none-any.whl
| Download URL | kanjize-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
915255d795ffd9a32f03f80a6077842b02c512e57b65371f969a59a18a1f3e83
|
|
BLAKE2b-256 checksum How to use checksums |
d68f901ace614c7b1e553f8da554beed5545f92c2bc6c9d5f1574e9e617f5270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|