this is two project.
Project description
Python Package Template
📦 一个快速搭建 Python Package 的模版~
使用方法
-
点击本项目右上角的绿色按钮
Use this template(使用此模板),输入名称和说明,完成创建。 -
将项目克隆到本地,这里以本项目为例,实际操作时这里需要替换你自己的项目。
git clone https://github.com/HaveTwoBrush/python-package-template.git --depth 1
-
修改配置,文件中有提示。
cd python-package-template # 将下文中的 your_package_name 改成你的实际项目名称 mv package_name your_package_name # 接下来修改 `setup.py` 中的参数,里面有提示。 # 最后修改 `README.md` 为你的项目介绍,也就是你当前在读的这个文本。
-
编写你的 Package 代码。
-
上传到 PyPi(需要注册)。
bash upload_pypi.sh -
更新到 Github。
git push
文件目录
.
├── package_name # 你需要手动修改为你的项目名称
│ ├── shell # 在命令行中执行的代码
│ │ ├── __init__.py
│ │ └── usage.py
│ ├── src # 静态资源
│ │ └── temp.txt
│ └── version.py # 版本号
├── setup.py # 安装配置
├── requirements.txt # 依赖
├── README.md # 项目文档
├── LICENSE # 这里面的内容为本项目的 License,你需要手动替换它。
├── .gitignore
└── upload_pypi.sh # 上传到 PyPi 的工具
许可
参考
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
two-0.0.1.tar.gz
(3.4 kB
view details)
File details
Details for the file two-0.0.1.tar.gz.
File metadata
- Download URL: two-0.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
565095ae923dce0bb7a6b00ec1ea099b3c4fd9a16ec65178313b177086636dda
|
|
| MD5 |
7255dbed4f50899ba66d1a03515b96d1
|
|
| BLAKE2b-256 |
08975b633c3129c4e1e6af1fa87ca571324f5e796cda5990504091900bfa73a5
|