Easy converter between Kanji-Number and Integer
Powered by Yamato Nagata
Can Convert Number up to 10 ** 28 - 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千
Metadata
Release files for kanjize 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kanjize-0.2.1.tar.gz | 4.7 kB | Without provenance | Details for kanjize-0.2.1.tar.gz |
Release files / kanjize-0.2.1.tar.gz
| Download URL | kanjize-0.2.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20700089bcafee692abf127ecdb3f3b4aaaafe380427fc177f8f19dbed06f70d
|
|
BLAKE2b-256 checksum How to use checksums |
954470059875f9c8166bef89321412cabc170d1af36fe6a259c5457b29884b30
|
| 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
|
Security for kanjize 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.