kanji2arabic: Convert a string of Japanese numerals to Arabic numerals.
Project description
kanji2arabic_number
Convert Kanji numerals to Arabic numerals.
powerd by Interman co., ltd
Demo
from kanji2arabic import Kanji2Arabic
print(Kanji2Arabic.kanji2arabic("一二三"))
# "123"
print(Kanji2Arabic.kanji2arabic("百二十三"))
# "123"
print(Kanji2Arabic.kanji2arabic("二〇二〇"))
# "2020"
Requirements
kanjize 1.0.0
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
kanji2arabic-1.0.1.tar.gz
(6.6 kB
view details)
Built Distribution
File details
Details for the file kanji2arabic-1.0.1.tar.gz
.
File metadata
- Download URL: kanji2arabic-1.0.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3199b6dc668006faa508f75e13632c33da7aaff254c6551bb218944fd12333c7 |
|
MD5 | 028abafd1dc75423f3d23cea9a88998a |
|
BLAKE2b-256 | 08359e64f89b34f32b3a256d1e7203ce7056d6ddce278ff6892e23d23ff308a7 |
File details
Details for the file kanji2arabic-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: kanji2arabic-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1588a407944c9c94f7f2e88e41396b38c3ac885a4963a8bc3d93a054f55a6262 |
|
MD5 | 1697bd6aa53e394d8d4621aaf104b6a0 |
|
BLAKE2b-256 | 755e528952106f321a39f0e4aafbeb4e38c357428c9c2102b95e81e9effb324f |