- 授权协议: Apache
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/nameko/nameko
- 软件文档: https://nameko.readthedocs.io/
软件介绍
Nameko 是一个 Python 的微服务框架,可以让你专注于应用逻辑。
主要特性:
AMQP RPC and Events (pub-sub)
HTTP GET, POST & websockets
简化开发的命令行工具
单元和集成测试工具
示例代码:
# helloworld.py
from nameko.rpc import rpc
class GreetingService:
name = "greeting_service"
@rpc
def hello(self, name):
return "Hello, {}!".format(name)运行方法:
$ nameko run helloworld starting services: greeting_service ...
测试:
$ nameko shell >>> n.rpc.greeting_service.hello(name="ナメコ") 'Hello, ナメコ!'
The Haskell School of Music
Paul Hudak、Donya Quick / Cambridge University Press / 2018-10-4 / GBP 42.99
This book teaches functional programming through creative applications in music and sound synthesis. Readers will learn the Haskell programming language and explore numerous ways to create music and d......一起来看看 《The Haskell School of Music》 这本书的介绍吧!
