生成微服务体系结构的工具。
silvera的Python项目详细描述
西尔维拉
Silvera是一个加速微服务架构开发的工具。在
Silvera由两部分组成:一种特定于领域的语言SilveraDSL和 Silvera编译器。SilveraDSL是一种用于建模微服务的声明性语言 基于textX的体系结构,并对其进行了设计 以一种直接实现领域相关设计模式的方式。银ADSL 编译器使用规范生成可执行程序代码。在
Silvera完全用Python实现。在
安装
您可以使用pip
安装Silvera:
$ pip install silvera
要验证是否已正确安装Silvera,请运行以下命令:
^{pr2}$您应该得到如下输出:
Usage: silvera [OPTIONS] COMMAND [ARGS]...
Options:
--debug Debug/trace output.
--help Show this message and exit.
Commands:
check Checks if created model is valid.
compile Compiles application code into to provided output...
evaluate Evaluates the architecture for given project.
init Creates initial Silvera project
list-generators Lists all currently available code generators
visualize Visualize the architecture for given project.
特色亮点
- 在
设计的模式直接用语言实现
在 - 在
Project modulation-导入
在 - 在
基于指标的项目评估
在 - 在
自动代码生成
在 - 在
通过插件支持自定义代码生成器
在
用户指南
有关文档和教程,请查看Silvera的wiki页面:here。在
Python版本
使用Python测试
- 项目
标签: