wisdoms dapr package
Project description
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文档的影响
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.6.tar.gz
(90.2 kB
view details)
Built Distribution
File details
Details for the file wisdoms_dapr-0.0.6.tar.gz
.
File metadata
- Download URL: wisdoms_dapr-0.0.6.tar.gz
- Upload date:
- Size: 90.2 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 | b0b1b54075687128da5bbaca61e5634b04ea377e6998fd9bd9857014e4b1bda2 |
|
MD5 | 9ef8ef14cd53b0375646dea95d1a7f51 |
|
BLAKE2b-256 | ef3ac2099dd54237d26d0d6ad3a35ff9b82905dddd67075b2b1bc31f0de61bcf |
File details
Details for the file wisdoms_dapr-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: wisdoms_dapr-0.0.6-py3-none-any.whl
- Upload date:
- Size: 39.3 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 | 885eeccfc68e3f617a9766b5203bfc9cbf4e0df602bb9e241cbb0a5a4383db87 |
|
MD5 | c6d7861bad1c2396b7114c8f82eee817 |
|
BLAKE2b-256 | 88f91738e006f79a8183cf64c462ffc59755e0e855ab710802193a6535b5b9ff |