Skip to main content

Convert Kanji numerals to Arabic numerals.

Project description

kanji2arabic_number

Convert Kanji numerals to Arabic numerals.

powerd by Interman co., ltd

GitHub

Demo

from kanji2arabic import Kanji2Arabic

print(Kanji2Arabic.kanji2arabic("一二三"))
  # "123"

print(Kanji2Arabic.kanji2arabic("百二十三"))
  # "123"

print(Kanji2Arabic.kanji2arabic("二〇二〇"))
  # "2020"

print(Kanji2Arabic.arabic2kanji("1230456"))
  # "一二三〇四五六"

Requirements

kanjize 1.3.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.1.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

kanji2arabic-1.1.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file kanji2arabic-1.1.3.tar.gz.

File metadata

  • Download URL: kanji2arabic-1.1.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.12 Darwin/21.5.0

File hashes

Hashes for kanji2arabic-1.1.3.tar.gz
Algorithm Hash digest
SHA256 20afdd5fa448a0a6310c62da14c9f9922295ab9d4a0a88a2f924f9a55bd1fde0
MD5 f346aa990b0910106c45a347604058b3
BLAKE2b-256 1b6c0d1e5439e8d3ce182934d557855db58a3c980e6b776d2a38de150d6ceb0b

See more details on using hashes here.

File details

Details for the file kanji2arabic-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: kanji2arabic-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.12 Darwin/21.5.0

File hashes

Hashes for kanji2arabic-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 60ef2b4a5a56c2f2dbfe67b04718c22eb9ade42d0f4a7d3b6f99972cdbdc4a2e
MD5 2496ca8783cd5ff78df057790581bbcf
BLAKE2b-256 04442d4033445ba0687b30f4b1f1387b87de169462ec5e60b7a10a1f51b2b562

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page