# python_lib_template **Repository Path**: jecjune/python_lib_template ## Basic Information - **Project Name**: python_lib_template - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-03-20 - **Last Updated**: 2025-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Python Lib Template Package This is a simple package for how to create python lib.The documentation address:https://packaging.python.org/en/latest/tutorials/packaging-projects/ # Build Python Library 建议先更新到最新的pip版本: ``` python3 -m pip install --upgrade pip ``` 安装编译依赖: ``` python3 -m pip install --upgrade build ``` 然后在该项目的根目录执行编译: ``` python3 -m build ``` 一旦完成,应在`dict`目录下生成两个文件: ``` dist/ ├── example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl └── example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz ``` 这里生成的两个文件就是可供pip直接进行安装操作的python包。 # Installation If you don't have your python environment yat and want the simplest way to get started, we recommend you use the Anaconda Distribution - it includes Python, NumPy, and many other commonly used packages for scientific computing and data science. # Details ...