使用这个lightcli工具启动新的python项目
startnew的Python项目详细描述
新建
个人新的PYTHON项目自动化程序
概述:
- [x] 通过构建结构打开新的Python项目,并通过简单的命令行命令
startnew
自动准备初始文件。在 - [x] 准备github存储库
发展
# clone the repo
$ git clone https://github.com/stefangal/newpy
# change the working directory to newpy
$ cd newpy
# install the requirements
$ pip install .
# now you can run it
$ startnew
安装
startnew
自动准备初始文件。在# clone the repo
$ git clone https://github.com/stefangal/newpy
# change the working directory to newpy
$ cd newpy
# install the requirements
$ pip install .
# now you can run it
$ startnew
使用startnew
生成当前工作目录中的文件夹和文件。在
For arguments帮助运行:
$ startnew --help
运行:
$ startnew
或者
$ startnew --p <project_name> --l <license_type> --g <Github_token>
您需要一个个人访问令牌才能在Github上打开存储库 您可以从https://github.com/settings/tokens获得一个。在
您将被问到几个问题,以及您将能够选择一些默认设置。 关于Github存储库,请阅读Github部分。在
入门
文件夹结构
└── app ├── tests │ └── __init__.py ├── docs │ ├── app │ └── __init__.py ├── .gitignore ├── LICENSE ├── README.md ├── requirements.txt └── setup.py
这是应用程序的结构,提供了所有实际可用的功能。在
许可证
您可以从以下缩写中选择:
afl3', 'agpl3', 'apache', 'bsd2', 'bsd3', 'cc0', 'cc_by', 'cc_by_nc', 'cc_by_nc_nd', 'cc_by_nc_sa', 'cc_by_nd', 'cc_by_sa', 'cddl', 'epl', 'gpl2', 'gpl3', 'isc', 'lgpl', 'mit', 'mpl', 'wtfpl', 'zlib'
GITHUB
为了通过命令行为项目打开一个新的存储库,首先需要 获取/创建Github访问令牌。在
Instructions如何获取访问令牌。在
如何帮助
任何帮助都会得到认可。在
贡献者
请随时投稿并注册作者.md在
有关详细信息,请参阅贡献.md在
- 项目
标签: