Skip to main content

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

步骤:

  1. 切换到打包根目录

  2. 执行build命令

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

测试pip包

pip install dist/*.whl

发布pip包

twine upload dist/*

TODO

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

Project details


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

Uploaded Source

Built Distribution

wisdoms_dapr-0.0.8-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wisdoms_dapr-0.0.8.tar.gz
  • Upload date:
  • Size: 73.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.3 CPython/3.9.6

File hashes

Hashes for wisdoms_dapr-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5d78a22877f01c630614e607a6f7e9bb5997ee625f12aa7385aa11e64fcfd3ea
MD5 d2938b8759a20894356d69b66cc2bfaf
BLAKE2b-256 b0bb1878b2fcf30cf6ddb9cd337164c8677d1a5d11f4352f4ec39822873b6043

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wisdoms_dapr-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 78.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.3 CPython/3.9.6

File hashes

Hashes for wisdoms_dapr-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cd94dc29ac3943b7a5a9223d7ba5be119d43e0542f5f8711ef0c56bfcb58cb99
MD5 9751dd30ddb2129d76b0903b7937cae5
BLAKE2b-256 3ad4cbd81cd9b3b215b38fde097fd2d75cec00cd09bc2faf15fbf963b74f9b80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page