Implementation of the remot3.it API
Project description
remot3
Implementation of the remot3.it API
Free software: MIT license
Documentation: https://remot3.readthedocs.io.
Features
Installation
pip install remot3
Usage
from remot3 import remot3
r3 = Remot3(developer_key, user, password)
# Optionally, the api version can be specified
r3 = Remot3(developer_key, user, password, apiurl='https://api.remot3.it/apv/v27/')
r3.login()
# A complete list of the devices can be retrieved, or
status, devices, _ = r3.list_devices()
# Given an installation name retrieve the connection parameters
devices = r3.get_device_address(deviceName='MyDeviceName', serviceType='SSH')
if len(devices) > 0:
status, proxyserver, proxyport, _ = r3.get_server_name(devices[0])
print('ssh user@{} -p {}'.format(proxyserver, proxyport))
Credits
- This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2019-05-14)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
remot3-0.1.0.tar.gz
(10.2 kB
view details)
Built Distribution
File details
Details for the file remot3-0.1.0.tar.gz
.
File metadata
- Download URL: remot3-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e980bcfda11266ca3212f20e8e9a10d1c02704fa65363eb1a7581e9d5443a3f8 |
|
MD5 | 8e637da7cd59be062b2220de3500c9cc |
|
BLAKE2b-256 | a84999cfb020997dae10ad033786142768fdd97642e2d213f347fc5d472754ee |
File details
Details for the file remot3-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: remot3-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd35734e0720a259746f45f3d03843235d62b306d4cb2efc4671dff96a194f90 |
|
MD5 | 3b87e978370f942b3deb001ad855ecb8 |
|
BLAKE2b-256 | d29d084a903dd0331b95425c0b72f56c7446f2219c799de2ab0190d267179d02 |