Skip to main content

My basic but custo library

Project description

个人工具库

一、介绍

个人用库,汇集各类工具以及自己的工具代码。便于快速安装个性化的依赖。

二、安装

```shell
# 用https://pypi.org/simple/,避免镜像源没有及时更新
pip install -i https://pypi.org/simple/ yukiiiii_tools
```

三、用法示例

1. 四则运算:

    ```python
    from yukiiiii_tools.calculate import add, subtract, multiply, divide
    print(add(2, 2))
    # >>> 4
    print(subtract(2, 2))
    # >>> 0
    print(multiply(2, 2))
    # >>> 4
    print(divide(2, 2))
    # >>> 1
    ```

2. 模型可视化

    ```python
    from yukiiiii_tools.visulize import show_model_in_netron

    model_path="/path/to/onnx/model/file"
    show_model_in_netron(model_path)
    # 启动一个服务器用于可视化模型结构
    ```

四、相关依赖

- netron:7.7.4

五、开发环境说明

- Python版本:3.10
- 使用`conda`管理依赖,保证开发环境一致性
- 初始化项目:`pip install -r requirements.txt`安装依赖
- 使用netron实现可视化onnx存储的模型
- 使用Github Actions实现自动化部署

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

yukiiiii_tools-0.0.2.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

yukiiiii_tools-0.0.2-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file yukiiiii_tools-0.0.2.tar.gz.

File metadata

  • Download URL: yukiiiii_tools-0.0.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for yukiiiii_tools-0.0.2.tar.gz
Algorithm Hash digest
SHA256 59a6847ce0ac9ba50e411171ecee95b433ff2a40434bad774b5ba9cd18fd027d
MD5 222355640f9b2701997b597df51b9d3c
BLAKE2b-256 aefdbb9d9b0806d58361e727ed6e3adc059369664f2adfb24163ed564ec77b0e

See more details on using hashes here.

File details

Details for the file yukiiiii_tools-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for yukiiiii_tools-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71010a485370ba5723f78485651c241d799aa70ea6db04530793b420c8f952fd
MD5 3d79395efb70774e636e502e1b587635
BLAKE2b-256 aa2711688dcf73d9c26d7bd8a533e4b1edb35b0e05be541469831db7fe5e0c2f

See more details on using hashes here.

Supported by

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