Skip to main content

It convert kansuji to digit.

Project description

kansuji2digit

漢数字->アラビア数字変換

ビルド方法(windows)

win_setup.batのvcvarsallのパスを通す win_setup.batを実行 win_install.batを実行 実行ファイル(main.exe)とpython用ライブラリ(_kansuji2digit.pyd)が得られる。

実行例

入出力は基本的にutf-8

cmd

> echo 九十八万八〇〇〇 | main.exe
98000

python

>>import kansuji2digit
>>k2d = kansuji2digit.Converter()
>>print(k2d.kansuji2digit("九百二億三千百七万四千百三十八"))
90231074138

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

kansuji2digit-0.1.2.tar.gz (96.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kansuji2digit-0.1.2-py3-none-any.whl (96.5 kB view details)

Uploaded Python 3

File details

Details for the file kansuji2digit-0.1.2.tar.gz.

File metadata

  • Download URL: kansuji2digit-0.1.2.tar.gz
  • Upload date:
  • Size: 96.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for kansuji2digit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1bcf7fa8b8d40f568fb2a952dd0ff68c1f30fac54d40cfe2b9b08292cb61702f
MD5 09f6a9c3f92ee8e973d938892623c7d0
BLAKE2b-256 34d48dbccb9390b7e81fb2af8fde89b3751fd0bb8e83d262ddeaeba336fc60b5

See more details on using hashes here.

File details

Details for the file kansuji2digit-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: kansuji2digit-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 96.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for kansuji2digit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 802132c8e331cb0a991f20aa656785aa49ba98cb3d087547a188e5e5d452b642
MD5 0340432181357c5ca95093215f203105
BLAKE2b-256 87cc1d630e9d27c73679bdd9dafc30372f0b49058f819f2a41ae2519d467570f

See more details on using hashes here.

Supported by

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