Wisdoms Dapr
用于Dapr FastAPI微服务开发的工具包。
包目录结构
- elasticsearch ES代码抽象
- config.py 项目配置管理
- exceptions.py 统一的异常管理
- logger.py 自定义日志
- constants.py 共享常量
- shares 共享内容
- data 共享数据,包含国内省市区行政区划信息
- es_models 包含了常用的共享企业信息
- schemas 包含了常用的共享企业信息schema
- types 常用的类型定义
- constants 共享常量
项目发布
发布环境
pip install build pip setuptools wheel twine
构建pip包
python3 -m build
步骤:
-
切换到打包根目录
-
执行build命令
-
检查是否成功构建至dist目录
测试pip包
pip install dist/*.whl
发布pip包
twine upload dist/*
TODO
- 验证pydantic过滤效果
- 查看不同定义对fastAPI文档的影响
Metadata
Release files for wisdoms-dapr 0.4.2
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 |
|---|---|---|---|---|
| wisdoms_dapr-0.4.2.tar.gz | 79.1 kB | Without provenance | Details for wisdoms_dapr-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wisdoms_dapr-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for wisdoms_dapr-0.4.2-py3-none-any.whl |
Total release size: 164.2 kB
Release files / wisdoms_dapr-0.4.2.tar.gz
| Download URL | wisdoms_dapr-0.4.2.tar.gz |
|---|---|
| Size | 79.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
390153217fc26eef90fadc5b002d69e0df58eb27047fcd7c470ee11702db94c5
|
|
BLAKE2b-256 checksum How to use checksums |
c17310845b76f50ad795591b41557615626ddfd55fb2edc6358e157d57b62aed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / wisdoms_dapr-0.4.2-py3-none-any.whl
| Download URL | wisdoms_dapr-0.4.2-py3-none-any.whl |
|---|---|
| Size | 85.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0282ecb41c9cc8b9aa0e6c88824f4452562c83c8a969d934b8102d0cfd2c7cf
|
|
BLAKE2b-256 checksum How to use checksums |
3e5e9e0acf497ad158ca2821ee72a8c800c2a7e4d7c4d34f8a537651a2de12c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for wisdoms-dapr 0.4.2
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.