wisdoms dapr package
Project description
Wisdoms Dapr
用于Dapr FastAPI微服务开发的工具包。
包目录结构
- elasticsearch ES代码抽象
- config.py 项目配置管理
- exceptions.py 统一的异常管理
- logger.py 自定义日志
- constants.py 共享常量
项目发布
发布环境
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文档的影响
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wisdoms_dapr-0.0.3.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file wisdoms_dapr-0.0.3.tar.gz
.
File metadata
- Download URL: wisdoms_dapr-0.0.3.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cb6a61593cfa6f3cfb31c142a120791e27c1889e09e1812a1da502fea20c2e3 |
|
MD5 | 0a1586ca1a9e830c58852105530ca8c7 |
|
BLAKE2b-256 | 2980aeea4e377896e14b4e40e500db491664d895a7536d82e04d80cdee2e38fd |
File details
Details for the file wisdoms_dapr-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: wisdoms_dapr-0.0.3-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b3aaced44e881da7796adf46ca01ab0feb2fd02ddd27c3fcb5bf35ccbd7642 |
|
MD5 | e7fc2663279773b54e4dcf5fc58f006f |
|
BLAKE2b-256 | f7edc110434fb92c019e4c48eb0c2b28daf01bd06120dfc4a9f4c69f08f4e88b |