概要
漢数字を数字に変換するツールです。
形態素解析を使用しておらず、名前などに含まれる漢数字を強制的に変換してしまうため、使用する際は注意してください。
セットアップ
pip install kanji-to-number
アンインストール
pip uninstall kanji-to-number
使い方
from kanji_to_number import kanji_to_number_in_text
data = kanji_to_number_in_text("一億人、第百十五条、二百零号室")
print(data) # 100000000人、第115条、200号室
ライセンス
- kanji_to_number
- Python Software Foundation License
- Copyright (C) 2025 Shinya Akagi
Metadata
Release files for kanji-to-number 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 | |
|---|---|---|---|---|
| kanji_to_number-0.2.1.tar.gz | 2.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kanji_to_number-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / kanji_to_number-0.2.1.tar.gz
| Download URL | kanji_to_number-0.2.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9e3833a2916e38f9b8e9b16207b85539436d7186e8637a81607b4f09a0bbaab
|
|
BLAKE2b-256 checksum How to use checksums |
09bbd49b24af3fd41245e9126ca4fde9bc92d028044d47a309c42fcdb300fd12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.15
|
Release files / kanji_to_number-0.2.1-py3-none-any.whl
| Download URL | kanji_to_number-0.2.1-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04855d559bb8b63e83d6caa69ba4d5b34770f7683df8749c596d1f08e538161b
|
|
BLAKE2b-256 checksum How to use checksums |
9a4201c7c0a6ed883d0247c8ef268752b0b94c10cdb35c1091d7350448492bc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.15
|
Security for kanji-to-number 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.