首页 开发技术 其它     /    template-python-package:Python包的模板项目-源码

template-python-package:Python包的模板项目-源码

上传者: weixin_42122986 | 上传时间:2025/7/31 18:18:22 | 文件大小:52KB | 文件类型:ZIP
template-python-package:Python包的模板项目-源码
Python包的模板项目如何使用这个专案准备GitHub在上创建一个新项目。
打开存储库Settings。
单击“Secrets。
单击Newrepositorysecret使用Name:TEST_PYPI_API_TOKEN创建测试密码:前往注册帐户并登录转到Accountsettings向下滚动到APItokens,然后单击“AddAPItoken使用Tokenname:github,Scope:Entireaccount(allprojects)点击Addtoken复制令牌将令牌复制到Value单击Addsecret在上创建一个帐户(名称可以与test.pypi.org相同)并创建一个新令牌。
使用Name:PYPI_API_TOKEN创建一个新密钥,并将令牌cpoy到V 本软件ID:15434734

文件下载

资源详情

[{"title":"(44个子文件52KB)template-python-package:Python包的模板项目-源码","children":[{"title":"template-python-package-dev","children":[{"title":"poetry.lock <span style='color:#111;'>41.63KB</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>2.25KB</span>","children":null,"spread":false},{"title":"poetry.toml <span style='color:#111;'>32B</span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'>569B</span>","children":null,"spread":false},{"title":"pyproject.toml <span style='color:#111;'>516B</span>","children":null,"spread":false},{"title":"src","children":[{"title":"mypackage","children":[{"title":"__init__.py <span style='color:#111;'>76B</span>","children":null,"spread":false},{"title":"__version__.py <span style='color:#111;'>155B</span>","children":null,"spread":false},{"title":"mymodule.py <span style='color:#111;'>305B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"CONTRIBUTING.md <span style='color:#111;'>1024B</span>","children":null,"spread":false},{"title":".devcontainer","children":[{"title":"devcontainer.json <span style='color:#111;'>1.40KB</span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'>34.33KB</span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"ci-cd.yml <span style='color:#111;'>1.24KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"tools","children":[{"title":"releasing","children":[{"title":"package.sh <span style='color:#111;'>381B</span>","children":null,"spread":false},{"title":"upload.sh <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"version.py <span style='color:#111;'>3.44KB</span>","children":null,"spread":false}],"spread":true},{"title":"tooling","children":[{"title":"make","children":[{"title":"Makefile <span style='color:#111;'>17B</span>","children":null,"spread":false}],"spread":false},{"title":"vscode","children":[{"title":"devcontainer <span style='color:#111;'>22B</span>","children":null,"spread":false},{"title":"container <span style='color:#111;'>12B</span>","children":null,"spread":false}],"spread":false},{"title":"github","children":[{"title":"workflows <span style='color:#111;'>26B</span>","children":null,"spread":false}],"spread":false},{"title":"container","children":[{"title":"Dockerfile <span style='color:#111;'>699B</span>","children":null,"spread":false},{"title":"packages.txt <span style='color:#111;'>47B</span>","children":null,"spread":false}],"spread":false},{"title":"poetry","children":[{"title":"poetry.lock <span style='color:#111;'>20B</span>","children":null,"spread":false},{"title":"poetry.toml <span style='color:#111;'>20B</span>","children":null,"spread":false},{"title":"pyproject.toml <span style='color:#111;'>23B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"init.sh <span style='color:#111;'>1.34KB</span>","children":null,"spread":false},{"title":"qa","children":[{"title":"coverage","children":[{"title":"report.ref <span style='color:#111;'>368B</span>","children":null,"spread":false},{"title":"update.sh <span style='color:#111;'>306B</span>","children":null,"spread":false}],"spread":false},{"title":"type_check.sh <span style='color:#111;'>273B</span>","children":null,"spread":false},{"title":"pylintrc.src.ini <span style='color:#111;'>2.03KB</span>","children":null,"spread":false},{"title":"format.sh <span style='color:#111;'>684B</span>","children":null,"spread":false},{"title":"dictionary","children":[{"title":"update.sh <span style='color:#111;'>810B</span>","children":null,"spread":false},{"title":"words.txt <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":false},{"title":"pylintrc.tests.ini <span style='color:#111;'>3.91KB</span>","children":null,"spread":false},{"title":"lint.sh <span style='color:#111;'>1.19KB</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'>4.59KB</span>","children":null,"spread":false},{"title":"tests","children":[{"title":"src","children":[{"title":"__init__.py <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"mypackage","children":[{"title":"test_mymodule.py <span style='color:#111;'>135B</span>","children":null,"spread":false},{"title":"test_mypackage.py <span style='color:#111;'>141B</span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"qa","children":[{"title":"conftest.py <span style='color:#111;'>671B</span>","children":null,"spread":false},{"title":"test_lint.py <span style='color:#111;'>488B</span>","children":null,"spread":false},{"title":"test_coverage.py <span style='color:#111;'>580B</span>","children":null,"spread":false},{"title":"test_format.py <span style='color:#111;'>186B</span>","children":null,"spread":false},{"title":"test_type_check.py <span style='color:#111;'>186B</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明