个人 package 尝试
打包上传
# 打包所需.
python3 -m pip install --upgrade pip build twine
记得每次需要上传不同名字的包, 因此需要修改版本号; dist 中的旧版本如果服务器上已有将不会上传到 pypi.
# Generating distribution archives
python3 -m build
# Uploading the distribution archives
python3 -m twine upload --repository pypi dist/*
安装
pip install dist/easonshi[version]
pip install -U easonsi -i https://pypi.python.org/simple
Poetry
pip install poetry
poetry init
poetry install # 自动创建一个虚拟环境并安装依赖
poetry build # 在项目的 dist/ 目录下生成 .tar.gz 和 .whl 文件,类似于 setuptools 中的 sdist 和 bdist_wheel。
poetry publish # 上传到 pypi
Metadata
Release files for easonsi 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| easonsi-0.0.8.tar.gz | 22.9 kB | Without provenance | Details for easonsi-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easonsi-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for easonsi-0.0.8-py3-none-any.whl |
Total release size: 52.7 kB
Release files / easonsi-0.0.8.tar.gz
| Download URL | easonsi-0.0.8.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6049eb26a23804f42ceb9e76da5ad6a754ff03c4e8453b16ebc6ba75bbcc2904
|
|
BLAKE2b-256 checksum How to use checksums |
56a83ed72bb392b8e5184f5c95647aea176e5f560d2a4e392ba2c72b3ae119cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.10.10 Darwin/24.0.0
|
Release files / easonsi-0.0.8-py3-none-any.whl
| Download URL | easonsi-0.0.8-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ccbbf53779ca71bcab236eff46bf97bc828a8aecb659c92b2b176a512377992
|
|
BLAKE2b-256 checksum How to use checksums |
3e82021869eb7a7c5e1461d991cedddfd693ec9a29c6362d8ee3ef122c8c0043
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.10.10 Darwin/24.0.0
|
Security for easonsi 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.