sthg_common_base
开发模式 安装本地包 测试
pip install -e .
另外一个项目引入本地安装的包
pip install -e D:\workspace2025\workspace-sthg-2025\06\sthg_common_base
Getting started
打包前先修改 setup.py 里的 version的值
python3.11 setup.py sdist bdist_wheel
上传 使用token 在.pypirc 文件
twine upload dist/*
序列化跳过
EnhancedJSONSerializer中的 _excluded_classes 可以设置
序列化自定义
EnhancedJSONSerializer中的 _custom_serializers 可以设置
Metadata
Release files for sthg-common-base 0.4.8.7
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 |
|---|---|---|---|---|
| sthg_common_base-0.4.8.7.tar.gz | 47.9 kB | Without provenance | Details for sthg_common_base-0.4.8.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sthg_common_base-0.4.8.7-py3-none-any.whl | Python 3 | none | any | Details for sthg_common_base-0.4.8.7-py3-none-any.whl |
Total release size: 102.9 kB
Release files / sthg_common_base-0.4.8.7.tar.gz
| Download URL | sthg_common_base-0.4.8.7.tar.gz |
|---|---|
| Size | 47.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eda743d566a8681c32757607f7758ba928e0183ef1142fe4392b74f06c7043dc
|
|
BLAKE2b-256 checksum How to use checksums |
bacb3483cb7775398df82cc6324ad4df4f19ab02df4382c7db7f4a42be02dd2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / sthg_common_base-0.4.8.7-py3-none-any.whl
| Download URL | sthg_common_base-0.4.8.7-py3-none-any.whl |
|---|---|
| Size | 55.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
739660362311da0715a8b21ddc78023291a94a333c03cb4e8723a7245d0a44d2
|
|
BLAKE2b-256 checksum How to use checksums |
f4168ce533b27126764f6a3bf5bf08ce6baa4b93c63df86c97341e6cf826bed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Security for sthg-common-base 0.4.8.7
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.