Skip to content

fireflycore/py-layout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-layout

py-layout 是 Firefly Python 业务服务模板和集成样板。

当前状态是 MVP 骨架:用于验证 firefly.microfirefly.consul、FastAPI、grpc.aio、SQLAlchemy、Redis、structlog 和 OTel 的标准装配口径。

它不是公共运行时包,src/ 直接承载应用私有源码,语义上对应 go-layout/internal/。因此源码目录不再包一层模板包名。

uv sync
uv run pytest
PYTHONPATH=src uv run python -m app.main

本地开发期通过 tool.uv.sources 使用相邻的 ../py-micro../py-consul。真实业务服务或发布校验应改用 PyPI 上的 firefly-micro / firefly-consul

About

A microservice framework based on micro-py,

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors