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.4.1.tar.gz
(77.9 kB
view details)
Built Distribution
File details
Details for the file wisdoms_dapr-0.4.1.tar.gz
.
File metadata
- Download URL: wisdoms_dapr-0.4.1.tar.gz
- Upload date:
- Size: 77.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0705102f9f7d789ba2282073c9e8fb65fe1c94a2c926829e08fea021497e24b5 |
|
MD5 | 5926e6c325bc8ef438a93c7df5109eec |
|
BLAKE2b-256 | c4c9b733f261544f4ad37845172ac211e45b8e6e9484232148abd782b1b9a758 |
File details
Details for the file wisdoms_dapr-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: wisdoms_dapr-0.4.1-py3-none-any.whl
- Upload date:
- Size: 85.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebe25c30adf8e3e66d21f8b55f300e2f5ceb8f97fd30b8a241a0c0fd6971ca2 |
|
MD5 | 373e8257c8a04c2fb35d70330d2b4a2e |
|
BLAKE2b-256 | eaac79cb1201f19a46632fb4fde4f3abbc57c21905573d8003f0207051877070 |