Skip to main content

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

步骤:

  1. 切换到打包根目录

  2. 执行build命令

  3. 检查是否成功构建至dist目录

测试pip包

pip install dist/*.whl

发布pip包

twine upload dist/*

TODO

  • 验证pydantic过滤效果
  • 查看不同定义对fastAPI文档的影响

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.2.tar.gz (79.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wisdoms_dapr-0.4.2-py3-none-any.whl (85.1 kB view details)

Uploaded Python 3

File details

Details for the file wisdoms_dapr-0.4.2.tar.gz.

File metadata

  • Download URL: wisdoms_dapr-0.4.2.tar.gz
  • Upload date:
  • Size: 79.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for wisdoms_dapr-0.4.2.tar.gz
Algorithm Hash digest
SHA256 390153217fc26eef90fadc5b002d69e0df58eb27047fcd7c470ee11702db94c5
MD5 baa642dccd8dfe9ae8f95551c562915b
BLAKE2b-256 c17310845b76f50ad795591b41557615626ddfd55fb2edc6358e157d57b62aed

See more details on using hashes here.

File details

Details for the file wisdoms_dapr-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: wisdoms_dapr-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 85.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for wisdoms_dapr-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0282ecb41c9cc8b9aa0e6c88824f4452562c83c8a969d934b8102d0cfd2c7cf
MD5 6783d6752e59a89f9a33c6199fd4d5b4
BLAKE2b-256 3e5e9e0acf497ad158ca2821ee72a8c800c2a7e4d7c4d34f8a537651a2de12c6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page