kevin-toolbox-dev


Namekevin-toolbox-dev JSON
Version 1.4.13 PyPI version JSON
download
home_pagehttps://github.com/cantbeblank96/kevin_toolbox
Summary一个常用的工具代码包集合
upload_time2025-07-21 10:52:31
maintainerNone
docs_urlNone
authorkevin hsu
requires_python>=3.6
licenseMIT
keywords mathematics pytorch numpy machine-learning algorithm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # kevin_toolbox

一个通用的工具代码包集合



环境要求

```shell
numpy>=1.19
pytorch>=1.2
```

安装方法:

```shell
pip install kevin-toolbox  --no-dependencies
```



[项目地址 Repo](https://github.com/cantbeblank96/kevin_toolbox)

[使用指南 User_Guide](./notes/User_Guide.md)

[免责声明 Disclaimer](./notes/Disclaimer.md)

[版本更新记录](./notes/Release_Record.md):

- v 1.4.13 (2025-07-21)【bug fix】【new feature】
  - data_flow.file.markdown
    - modify find_tables(),完善读取表格函数,支持更多的表格格式,包括以梅花线作为标题栏分割线,表格最左侧和最右侧分割线省略等情况。
  - nested_dict_list.serializer
    - modify read(),支持在读取时通过参数 b_keep_identical_relations 对 record.json 中的同名参数进行覆盖。
  - computer_science.algorithm
    - redirector
      - 【bug fix】fix bug in _randomly_idx_redirector() for Redirectable_Sequence_Fetcher,改正了 rng.randint(low, high) 中参数 high 的设置。
    - pareto_front
      - modify get_pareto_points_idx(),支持参数 directions 只输入单个值来表示所有方向都使用该值。
    - sampler
      - 【new feature】add Recent_Sampler,最近采样器:始终保留最近加入的 capacity 个样本。
  - patches.for_matplotlib
    - common_charts.utils
      - modify .save_plot(),将原来在 output_path 为 None 时使用 plt.show() 展示图像的行为改为返回 np.array 形式的图像,并支持通过参数 b_show_plot 来单独控制是否展示图像。
      - 【new feature】add log_scaling(),用于处理坐标系变换。
    - common_charts
      - 【new feature】add plot_3d(),绘制3D图,支持:散点图、三角剖分曲面及其平滑版本。
      - 【new feature】add plot_contour(),绘制等高线图。
      - 【new feature】add plot_mean_std_lines(),绘制均值和标准差折线图及其区域填充。
      - 【new feature】add plot_2d_matrix(),计算并绘制混淆矩阵。




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cantbeblank96/kevin_toolbox",
    "name": "kevin-toolbox-dev",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "mathematics, pytorch, numpy, machine-learning, algorithm",
    "author": "kevin hsu",
    "author_email": "xukaiming1996@163.com",
    "download_url": "https://files.pythonhosted.org/packages/c0/22/a8a7c1914519cb2116aa0d79014083e9bc2f0165585ef660cf315e27b2a4/kevin-toolbox-dev-1.4.13.tar.gz",
    "platform": null,
    "description": "# kevin_toolbox\n\n\u4e00\u4e2a\u901a\u7528\u7684\u5de5\u5177\u4ee3\u7801\u5305\u96c6\u5408\n\n\n\n\u73af\u5883\u8981\u6c42\n\n```shell\nnumpy>=1.19\npytorch>=1.2\n```\n\n\u5b89\u88c5\u65b9\u6cd5\uff1a\n\n```shell\npip install kevin-toolbox  --no-dependencies\n```\n\n\n\n[\u9879\u76ee\u5730\u5740 Repo](https://github.com/cantbeblank96/kevin_toolbox)\n\n[\u4f7f\u7528\u6307\u5357 User_Guide](./notes/User_Guide.md)\n\n[\u514d\u8d23\u58f0\u660e Disclaimer](./notes/Disclaimer.md)\n\n[\u7248\u672c\u66f4\u65b0\u8bb0\u5f55](./notes/Release_Record.md)\uff1a\n\n- v 1.4.13 \uff082025-07-21\uff09\u3010bug fix\u3011\u3010new feature\u3011\n  - data_flow.file.markdown\n    - modify find_tables()\uff0c\u5b8c\u5584\u8bfb\u53d6\u8868\u683c\u51fd\u6570\uff0c\u652f\u6301\u66f4\u591a\u7684\u8868\u683c\u683c\u5f0f\uff0c\u5305\u62ec\u4ee5\u6885\u82b1\u7ebf\u4f5c\u4e3a\u6807\u9898\u680f\u5206\u5272\u7ebf\uff0c\u8868\u683c\u6700\u5de6\u4fa7\u548c\u6700\u53f3\u4fa7\u5206\u5272\u7ebf\u7701\u7565\u7b49\u60c5\u51b5\u3002\n  - nested_dict_list.serializer\n    - modify read()\uff0c\u652f\u6301\u5728\u8bfb\u53d6\u65f6\u901a\u8fc7\u53c2\u6570 b_keep_identical_relations \u5bf9 record.json \u4e2d\u7684\u540c\u540d\u53c2\u6570\u8fdb\u884c\u8986\u76d6\u3002\n  - computer_science.algorithm\n    - redirector\n      - \u3010bug fix\u3011fix bug in _randomly_idx_redirector() for Redirectable_Sequence_Fetcher\uff0c\u6539\u6b63\u4e86 rng.randint(low, high) \u4e2d\u53c2\u6570 high \u7684\u8bbe\u7f6e\u3002\n    - pareto_front\n      - modify get_pareto_points_idx()\uff0c\u652f\u6301\u53c2\u6570 directions \u53ea\u8f93\u5165\u5355\u4e2a\u503c\u6765\u8868\u793a\u6240\u6709\u65b9\u5411\u90fd\u4f7f\u7528\u8be5\u503c\u3002\n    - sampler\n      - \u3010new feature\u3011add Recent_Sampler\uff0c\u6700\u8fd1\u91c7\u6837\u5668\uff1a\u59cb\u7ec8\u4fdd\u7559\u6700\u8fd1\u52a0\u5165\u7684 capacity \u4e2a\u6837\u672c\u3002\n  - patches.for_matplotlib\n    - common_charts.utils\n      - modify .save_plot()\uff0c\u5c06\u539f\u6765\u5728 output_path \u4e3a None \u65f6\u4f7f\u7528 plt.show() \u5c55\u793a\u56fe\u50cf\u7684\u884c\u4e3a\u6539\u4e3a\u8fd4\u56de np.array \u5f62\u5f0f\u7684\u56fe\u50cf\uff0c\u5e76\u652f\u6301\u901a\u8fc7\u53c2\u6570 b_show_plot \u6765\u5355\u72ec\u63a7\u5236\u662f\u5426\u5c55\u793a\u56fe\u50cf\u3002\n      - \u3010new feature\u3011add log_scaling()\uff0c\u7528\u4e8e\u5904\u7406\u5750\u6807\u7cfb\u53d8\u6362\u3002\n    - common_charts\n      - \u3010new feature\u3011add plot_3d()\uff0c\u7ed8\u52363D\u56fe\uff0c\u652f\u6301\uff1a\u6563\u70b9\u56fe\u3001\u4e09\u89d2\u5256\u5206\u66f2\u9762\u53ca\u5176\u5e73\u6ed1\u7248\u672c\u3002\n      - \u3010new feature\u3011add plot_contour()\uff0c\u7ed8\u5236\u7b49\u9ad8\u7ebf\u56fe\u3002\n      - \u3010new feature\u3011add plot_mean_std_lines()\uff0c\u7ed8\u5236\u5747\u503c\u548c\u6807\u51c6\u5dee\u6298\u7ebf\u56fe\u53ca\u5176\u533a\u57df\u586b\u5145\u3002\n      - \u3010new feature\u3011add plot_2d_matrix()\uff0c\u8ba1\u7b97\u5e76\u7ed8\u5236\u6df7\u6dc6\u77e9\u9635\u3002\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u4e00\u4e2a\u5e38\u7528\u7684\u5de5\u5177\u4ee3\u7801\u5305\u96c6\u5408",
    "version": "1.4.13",
    "project_urls": {
        "Download": "https://github.com/username/your-package/archive/refs/tags/v1.0.0.tar.gz",
        "Homepage": "https://github.com/cantbeblank96/kevin_toolbox"
    },
    "split_keywords": [
        "mathematics",
        " pytorch",
        " numpy",
        " machine-learning",
        " algorithm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66da8d5859ad2f245324e7cf1699cf1dc9d633f031de0d7279f4c2c6f5e1ed8e",
                "md5": "f48bbbba58e9acb1f25b7337cc1c0d04",
                "sha256": "78b114ba58a9699ce441473917c24690f0bf2f2478c24f8cfb8609427ce1c5d7"
            },
            "downloads": -1,
            "filename": "kevin_toolbox_dev-1.4.13-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f48bbbba58e9acb1f25b7337cc1c0d04",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 409817,
            "upload_time": "2025-07-21T10:52:29",
            "upload_time_iso_8601": "2025-07-21T10:52:29.537904Z",
            "url": "https://files.pythonhosted.org/packages/66/da/8d5859ad2f245324e7cf1699cf1dc9d633f031de0d7279f4c2c6f5e1ed8e/kevin_toolbox_dev-1.4.13-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c022a8a7c1914519cb2116aa0d79014083e9bc2f0165585ef660cf315e27b2a4",
                "md5": "e85e75b168d727aa608f499b973d0990",
                "sha256": "81959c0a98ec2887fdd741332187e0888746e7495228e8def84161106c6ab86d"
            },
            "downloads": -1,
            "filename": "kevin-toolbox-dev-1.4.13.tar.gz",
            "has_sig": false,
            "md5_digest": "e85e75b168d727aa608f499b973d0990",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 224227,
            "upload_time": "2025-07-21T10:52:31",
            "upload_time_iso_8601": "2025-07-21T10:52:31.943006Z",
            "url": "https://files.pythonhosted.org/packages/c0/22/a8a7c1914519cb2116aa0d79014083e9bc2f0165585ef660cf315e27b2a4/kevin-toolbox-dev-1.4.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-21 10:52:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cantbeblank96",
    "github_project": "kevin_toolbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "kevin-toolbox-dev"
}
        
Elapsed time: 0.84722s