A Simple package transform Chinese numerals into Arabic numerals
Project description
cn2num
这是一个中文数字(含货币)到阿拉伯数字的python小模块。不依赖于其他的python模块。
原始版本来自于: wswuai/cn2num.py
Installation
pip install cn2num --user
Usage:
import cn2num
cn2num.transform("两百三十万")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cn2num-0.1.1.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cn2num-0.1.1.tar.gz.
File metadata
- Download URL: cn2num-0.1.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36b58b88ea7247cafe624aa0f75f10a348635a0523008959ddbdd9bef7d02f05
|
|
| MD5 |
6cc68aff986ff05733b476ea83317513
|
|
| BLAKE2b-256 |
bd06b5cfc4deb4f0a93e8684e7865b80016ba4f7dc520490b9e6a5c6cb62fb1c
|
File details
Details for the file cn2num-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cn2num-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6bed276983d759ddf89ee8f236665cabe02da0ee163ec536542e695e5780726
|
|
| MD5 |
c149ccf88d9c7bc41ecc9dd10e07afe0
|
|
| BLAKE2b-256 |
ec1d20f0a8653c336392226ac9b081cef0e43e24affffd2dc4bf347861466944
|