Skip to main content

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


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 hashes)

Uploaded source

Built Distribution

cn2num-0.1.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page