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.2.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file wisdoms_dapr-0.0.2.tar.gz
.
File metadata
- Download URL: wisdoms_dapr-0.0.2.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 | bf17dca367b4d56c085bf68b714a59d638a30bceccf90ab56c8350aec3727486 |
|
MD5 | b7af8a7993da43321d30b384156a58da |
|
BLAKE2b-256 | 7f20c19f517052d28a9fe4dae42db2b88a5e9f3718c8b54ab474a72642a775d8 |
File details
Details for the file wisdoms_dapr-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: wisdoms_dapr-0.0.2-py3-none-any.whl
- Upload date:
- Size: 15.2 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 | cd655748cb0a6c5dc15001f7de6156d0f6a3fb921304064509666f0dc2296168 |
|
MD5 | 447fa47760bdd49a6d3dad1c53fefbb9 |
|
BLAKE2b-256 | 9af59e5d2be6926e2d186128b705c37857453c783c03649cbb887734fe08d4af |