Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for cn2num, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size cn2num-0.1.1-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size cn2num-0.1.1.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page