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

Uploaded Python 3

File details

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

File metadata

  • Download URL: numberandchinese-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e555c3a55132cca423c0381d6aad9520ade2521823b3ece94c4429fe493c4164
MD5 0b56fcd4b34339583fdccbbc82898585
BLAKE2b-256 68927e52a495e42fcf3a603295f2965ac1857a75af30444753191c6358b3645b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numberandchinese-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 734d1856de7c646e2b1371a6cac99ccb9a31956d7651c66aea78993e14fb3b21
MD5 8c4c7bb98b3b58796f0467b56de0bf5f
BLAKE2b-256 6f4908e612b17e5ac254a3ab1339bcf6bdf57cb475070b61c44562392a8143ed

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