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.2.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.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: numberandchinese-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 562b4d209315bd01cd4c2c5caebb1f207d9b01abb1c37e1c6538984cf6b08fa5
MD5 06570c85cff19635c48a3fcdbf0d20a1
BLAKE2b-256 e22d4ce0dd0b43e0ecf66c5bd624bbafa6704ec36faab61fdb16fa2221a645ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numberandchinese-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21f0a2515bd7f6bbf061bba8d8148cd5cfd454e15e1aa503ea01b7f6786f1b81
MD5 b7fa93c6693b92120e505a4a73dde075
BLAKE2b-256 c70b58c78a92f0d5ebcd2277b23ecd350402b243918422289e5f5ef293d2231f

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