mathexpand


Namemathexpand JSON
Version 1.3.0 PyPI version JSON
download
home_pagehttps://github.com/gi-b716/math-expand
SummaryA math expand package
upload_time2024-08-11 15:04:10
maintainerNone
docs_urlNone
authorGavinCQTD
requires_python>=3.0
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # math-expand Package

## 这个包是对Python原生的Math包进行的拓展,目前提供的方法如下:

- digits
  - take_digits(number, return_type) → list/dict
    - 方法用途
      - 取一个数的每一位数
    - 方法解析
      - 参数解析
        - number
          - 要取每一位数的数
        - return_type
          - 指定返回值的类型
          - 默认为l,有l(返回列表),和d(返回字典)两种形式,其余值会导致输出一条错误信息。
      - 返回值
        - 由return_type参数决定
        - 返回值
          - list
            - 这个列表里包含了这个数从高到低每个数位的数字
          - dict
            - 这个字典的键是一个个计数单位,每个键对应的值便是当前键表示的计数单位上的值

### 使用 `pip install mathexpand` 命令安装它!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gi-b716/math-expand",
    "name": "mathexpand",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.0",
    "maintainer_email": null,
    "keywords": null,
    "author": "GavinCQTD",
    "author_email": "gavingan2012@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b6/80/39ac3b104d144c48cb86836754eac53998da88ab3ca15f2fed0fdae1ecf2/mathexpand-1.3.0.tar.gz",
    "platform": null,
    "description": "# math-expand Package\r\n\r\n## \u8fd9\u4e2a\u5305\u662f\u5bf9Python\u539f\u751f\u7684Math\u5305\u8fdb\u884c\u7684\u62d3\u5c55\uff0c\u76ee\u524d\u63d0\u4f9b\u7684\u65b9\u6cd5\u5982\u4e0b\uff1a\r\n\r\n- digits\r\n  - take_digits(number, return_type) \u2192 list/dict\r\n    - \u65b9\u6cd5\u7528\u9014\r\n      - \u53d6\u4e00\u4e2a\u6570\u7684\u6bcf\u4e00\u4f4d\u6570\r\n    - \u65b9\u6cd5\u89e3\u6790\r\n      - \u53c2\u6570\u89e3\u6790\r\n        - number\r\n          - \u8981\u53d6\u6bcf\u4e00\u4f4d\u6570\u7684\u6570\r\n        - return_type\r\n          - \u6307\u5b9a\u8fd4\u56de\u503c\u7684\u7c7b\u578b\r\n          - \u9ed8\u8ba4\u4e3al\uff0c\u6709l\uff08\u8fd4\u56de\u5217\u8868\uff09,\u548cd\uff08\u8fd4\u56de\u5b57\u5178\uff09\u4e24\u79cd\u5f62\u5f0f\uff0c\u5176\u4f59\u503c\u4f1a\u5bfc\u81f4\u8f93\u51fa\u4e00\u6761\u9519\u8bef\u4fe1\u606f\u3002\r\n      - \u8fd4\u56de\u503c\r\n        - \u7531return_type\u53c2\u6570\u51b3\u5b9a\r\n        - \u8fd4\u56de\u503c\r\n          - list\r\n            - \u8fd9\u4e2a\u5217\u8868\u91cc\u5305\u542b\u4e86\u8fd9\u4e2a\u6570\u4ece\u9ad8\u5230\u4f4e\u6bcf\u4e2a\u6570\u4f4d\u7684\u6570\u5b57\r\n          - dict\r\n            - \u8fd9\u4e2a\u5b57\u5178\u7684\u952e\u662f\u4e00\u4e2a\u4e2a\u8ba1\u6570\u5355\u4f4d\uff0c\u6bcf\u4e2a\u952e\u5bf9\u5e94\u7684\u503c\u4fbf\u662f\u5f53\u524d\u952e\u8868\u793a\u7684\u8ba1\u6570\u5355\u4f4d\u4e0a\u7684\u503c\r\n\r\n### \u4f7f\u7528 `pip install mathexpand` \u547d\u4ee4\u5b89\u88c5\u5b83\uff01\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A math expand package",
    "version": "1.3.0",
    "project_urls": {
        "Homepage": "https://github.com/gi-b716/math-expand"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab562e5f801358171a1409e8222d5cd0dd2ec0cc2a3fc485985c04a953eb48b1",
                "md5": "2a4afe1794212e843aadc59817d48bbb",
                "sha256": "eeafd3998f7eeb236887cfce20cc560181a37c7f393545efdc55f46814857ceb"
            },
            "downloads": -1,
            "filename": "mathexpand-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2a4afe1794212e843aadc59817d48bbb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.0",
            "size": 3231,
            "upload_time": "2024-08-11T15:04:09",
            "upload_time_iso_8601": "2024-08-11T15:04:09.229476Z",
            "url": "https://files.pythonhosted.org/packages/ab/56/2e5f801358171a1409e8222d5cd0dd2ec0cc2a3fc485985c04a953eb48b1/mathexpand-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b68039ac3b104d144c48cb86836754eac53998da88ab3ca15f2fed0fdae1ecf2",
                "md5": "8d1b935c2902e2a8b1e21a0076f2b4f2",
                "sha256": "d0bfc90bde4f7cd7492e02deef4f858513e8548c3dda4398f19ff04d29f62b63"
            },
            "downloads": -1,
            "filename": "mathexpand-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8d1b935c2902e2a8b1e21a0076f2b4f2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.0",
            "size": 3184,
            "upload_time": "2024-08-11T15:04:10",
            "upload_time_iso_8601": "2024-08-11T15:04:10.649103Z",
            "url": "https://files.pythonhosted.org/packages/b6/80/39ac3b104d144c48cb86836754eac53998da88ab3ca15f2fed0fdae1ecf2/mathexpand-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-11 15:04:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gi-b716",
    "github_project": "math-expand",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "mathexpand"
}
        
Elapsed time: 0.30681s