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 Python 3

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