JSON-RPC 库工具 ReflectRPC
- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/aheck/reflectrpc
- 软件文档: https://github.com/aheck/reflectrpc/blob/master/README.md
- 官方下载: https://github.com/aheck/reflectrpc/archive/master.zip
软件介绍
ReflectRPC 是一款JSON-RPC 库工具,用于创建自描述
import reflectrpc
import reflectrpc.simpleserver
def add(a, b):
return int(a) + int(b)
rpc = reflectrpc.RpcProcessor()
add_func = reflectrpc.RpcFunction(add, 'add', 'Adds two numbers', 'int',
'Sum of the two numbers')
add_func.add_param('int', 'a', 'First int to add')
add_func.add_param('int', 'b', 'Second int to add')
rpc.add_function(add_func)
server = reflectrpc.simpleserver.SimpleJsonRpcServer(rpc, 'localhost', 5500)
server.run()连接到服务器
rpcsh localhost 5500
Mathematica演示项目笔记
吴飞 / 清华大学出版社 / 2010-7 / 39.00元
Mathematica是由美国科学家斯蒂芬·沃尔夫勒姆(Stephen Wolfram)领导的Wolfram Research Inc.研究公司所开发的一体化计算引擎。《Mathematica演示项目笔记》结合Mathematica演示项目以及第6版和第7版的最新功能(动态交互性、即时三维图形、数值模拟和仿真、高效实时计算、集成语言系统、多核并行计算和数字图像处理等),讲解了符号计算、程序设计、算......一起来看看 《Mathematica演示项目笔记》 这本书的介绍吧!
