Skip to main content

cn2num

这是一个中文数字(含货币)到阿拉伯数字的python小模块。不依赖于其他的python模块。

原始版本来自于: wswuai/cn2num.py


Installation

pip install cn2num --user

Usage:

import cn2num
cn2num.transform("两百三十万")

Metadata

Release files for cn2num 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cn2num 0.1.1
File Size Uploaded Provenance Actions
cn2num-0.1.1.tar.gz 2.0 kB Without provenance Details for cn2num-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cn2num 0.1.1
File Interpreter ABI Platform Actions
cn2num-0.1.1-py3-none-any.whl Python 3 none any Details for cn2num-0.1.1-py3-none-any.whl

Total release size: 5.1 kB

Release files / cn2num-0.1.1.tar.gz

Download URL cn2num-0.1.1.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
36b58b88ea7247cafe624aa0f75f10a348635a0523008959ddbdd9bef7d02f05
BLAKE2b-256 checksum
How to use checksums
bd06b5cfc4deb4f0a93e8684e7865b80016ba4f7dc520490b9e6a5c6cb62fb1c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cn2num-0.1.1-py3-none-any.whl

Download URL cn2num-0.1.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6bed276983d759ddf89ee8f236665cabe02da0ee163ec536542e695e5780726
BLAKE2b-256 checksum
How to use checksums
ec1d20f0a8653c336392226ac9b081cef0e43e24affffd2dc4bf347861466944
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for cn2num 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page