Skip to main content

数字中文转换器

Project description

numberandchinese-Including

中文、数字转换库

Help on module numberandchinese:

NAME
    numberandchinese

DESCRIPTION
    # -*- coding:UTF-8 -*-
    # @Author:Chay
    # @TIME:2024/07/24 09:45
    # @FILE:numbertochinese.py
    # @version:1.0.0
    # @Software:Visual Studio Code

FUNCTIONS
    No2Cn(number: int) -> str

    chinese2digits(uchars_chinese)

    maxdigit(number: int, count: int) -> tuple

DATA
    common_used_numerals = {'一': 1, '万': 10000, '三': 3, '九': 9, '二': 2, '五...
    digitdict = {1: '十', 2: '百', 3: '千', 4: '万'}
    numdict = {0: '零', 1: '一', 2: '二', 3: '三', 4: '四', 5: '五', 6: '六', 7: ...

FILE
    d:\chay\project\numberandchinese-including\src\numberandchinese\numberandchinese.py

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

numberandchinese-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

numberandchinese-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file numberandchinese-1.0.0.tar.gz.

File metadata

  • Download URL: numberandchinese-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for numberandchinese-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5f9a5c1d58c2055f416c758bccf2c2147191c5d23392c76e834d66fdff8f71e0
MD5 e38458a9ae744b65337c87f088f573c7
BLAKE2b-256 4f68fe371daf1794335bcb92d206ae82a6cb18bd65f6600c677383f35d4fbaa5

See more details on using hashes here.

File details

Details for the file numberandchinese-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for numberandchinese-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a04b5e07b2ef0b845f70d2694bb0d7afe2dc3f296bc2be508ae35d525cecf1f
MD5 aa46fbd4ae520d70825df03ed2c8000e
BLAKE2b-256 cbc21d4e07122a769dee79de669e5531168140bb1b0493ddf9bddcb5d082f041

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page