remot3.it api的实现

remot3的Python项目详细描述


拆卸3

https://img.shields.io/pypi/v/remot3.svghttps://img.shields.io/travis/twaclaw/remot3.svgDocumentation StatusUpdates

remot3.it api的实现

功能

安装
pip install remot3

用法

fromremot3importremot3r3=Remot3(developer_key,user,password)# Optionally, the api version can be specifiedr3=Remot3(developer_key,user,password,apiurl='https://api.remot3.it/apv/v27/')r3.login()# A complete list of the devices can be retrieved, orstatus,devices,_=r3.list_devices()# Given an installation name retrieve the connection parametersdevices=r3.get_device_address(deviceName='MyDeviceName',serviceType='SSH')iflen(devices)>0:status,proxyserver,proxyport,_=r3.get_server_name(devices[0])print('ssh user@{} -p {}'.format(proxyserver,proxyport))

学分

历史记录

0.1.0(2019-05-14)

  • pypi上的第一个版本。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
面向java语句的方法与面向表达式的方法   密码学如何在java中为json对象签名?   是否可以通过java程序知道给定卡夫卡消费群体的消费偏移量?   打印字符时出现java未知问号   java为JFrame设置背景色   在ubuntu中检查java版本时linux权限被拒绝   如何用java创建xml模式   java无法在远程服务器上运行Vaadin应用程序   java智能垃圾收集?   java如何在SpringMVC中设置缓存头?   在unix计算机上运行java应用程序a:>签名以输入内容   Java、Apache Commons配置XML属性   使用ArrayList调用Java未经检查的方法   在文本文件中查找并替换单词(Java GUI)   java Android Studio无法检测到JDK7或更新版本   java从socket的有效负载获取事件消息   安卓中java调用子类方法   java如何通过点击超链接来运行jar文件(Firefox)