Skip to main content

Universal Command Line Interface for Genymotion Cloud SaaS

Project description

gmsaas

Description

gmsaas is a command line interface to rule all your virtual devices hosted in Genymotion SaaS solution without opening an Internet browser. With it you can list, start and stop devices. Above all, you can securely connect to any devices through Android Debug Bridge.

It is a lightweight binary, easy to install, easy to update.

Requirements

  • Python 3.8 or above
  • pip3
  • Android SDK

Installation

pip3 install [--user] gmsaas

Get started

Two steps are required to use gmsaas properly:

  • Configure the path to your Android SDK with:

    gmsaas config set android-sdk-path <sdk_path>
    
  • Authenticate with:

    gmsaas auth token <token>
    

Full documentation can be found here

Change Log

All notable changes of gmsaas are documented in this file.

1.13.0

Added

  • Added gmsaas adb start|stop commands.

Changed

  • Included architecture information in the gmsaas portal.
  • Updated exit_code_desc for exit code 12 from ADBTUNNEL_GENERIC_ERROR to ADBTUNNEL_TIMEOUT_ERROR.
  • Updated exit_code_desc for exit code 9 from APPLE_M1_CHIP_ERROR to APPLE_SILICON_CHIP_ERROR.
  • Refined error wording for exit code 7 (PACKAGE_ERROR).
  • Refined error wording for exit code 12 (ADBTUNNEL_TIMEOUT_ERROR).

Fixed

  • Enhanced ADB Tunnel reliability.

1.12.0

Added

  • Native Android support (ARM-based images).
  • Display Android image beta information in the recipes get|list and osimages get|list commands.

1.11.0

Added

  • Added gmsaas doctor command to quickly check if gmsaas is configured properly.

Fixed

  • Python 3.12 support.

1.10.0

Added

  • Added gmsaas auth token <token> command (use API Token for authentication).
  • Added gmsaas auth reset command (clear API Token from cache).
  • Read GENYMOTION_API_TOKEN environment variable for authentication.

Changed

  • Marked gmsaas auth login <email> command as deprecated.
  • Marked gmsaas auth logout command as deprecated.
  • Marked gmsaas auth whoami command as deprecated.

Fixed

  • Improved real-time instance state update reliability.

1.9.0

Added

  • Added gmsaas instances display command.

1.8.0

Added

  • Added --max-run-duration option for command gmsaas instances start.
  • Added gmsaas hwprofiles get|list|create|delete commands.
  • Added gmsaas osimages get|list|clone|delete commands.
  • Added gmsaas recipes get|create|delete commands.
  • Added gmsaas instances save|saveas commands.

Changed

  • Require at least Python 3.8.
  • Marked as deprecated --stop-when-inactive option, replaced by --max-run-duration.
  • Added --out option to gmsaas logzip command.
  • Added --source option to gmsaas recipes list command.
  • Improved help wording which is now accessible with -h in addition of --help.
  • Added more details in JSON output format regarding Recipes and Instances.

1.7.1

Fixed

  • Fix gmsaas when system temp directory is mounted on a separate partition.

1.7.0

Added

  • Added Apple Silicon support (requires pip3 >= 20.9)
  • Instances returned by gmsaas --format json instances * commands include created_at info
  • Improved Android Sdk path verification with gmsaas config set android-sdk-path <path> command

Changed

  • Deprecate Python 3.5

Fixed

  • Fix corrupted configuration file with simultaneous multiple gmsaas processes

1.6.1

Fixed

  • Fix dependencies to continue supporting Python 3.5

1.6.0

Added

  • gmsaas instances get <uuid> command to get information about one specific instance

Fixed

  • Enforce start and stop commands in case of server connection failure

1.5.2

Added

  • gmsaas --format json instances * command outputs full recipe(s) info

Fixed

  • Improve ADB Tunnel stability over time

1.5.1

Added

  • Instances printed by gmsaas --format json instances * commands include recipe UUID info

Fixed

  • Optimize gmsaas instances adbconnect command and reduce the number of timeout errors

1.5.0

Added

  • JSON format output for all gmsaas commands. Get it with --format global option or by defining it in configuration gmsaas config set output-format json

Fixed

  • Improve Socket.IO stability

1.4.0

Added

  • SOCKS5 proxy support with gmsaas config set proxy command

Changed

  • Use simple quotes instead of back quotes in all outputs

Fixed

  • Fix recipes sorting regarding Android 10

1.3.2

Fixed

  • Fix gmsaas behavior when configuration and system proxy are both set: system proxy no longer interferes

1.3.1

Fixed

  • Fix assertion when gmsaas is upgraded while an older ADB Tunnel is running
  • Improve Socket.IO connection stability

1.3.0

Added

  • HTTP/HTTPS proxy support with gmsaas config set proxy command
  • --verbose/-v global option to print logs to standard output

Changed

  • Improve wording of error messages
  • Improve password cyphering

Fixed

  • Make ADB Tunnel more resilient: continue running when terminal is closed

1.2.0

Added

  • --quiet/-q option to gmsaas instances list command to print instance UUIDs only

1.1.0

Added

  • gmsaas logzip command to fetch all logs in one ZIP archive

Changed

  • Improve gmsaas auth login output in case of failure

1.0.0 (initial release)

Added

  • List device recipes available
  • List running devices
  • Start a device based on one recipe
  • Stop a running device
  • Connect a running device to ADB
  • Disconnect a running device from ADB

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

gmsaas-1.13.0-py3-none-win_amd64.whl (6.3 MB view details)

Uploaded Python 3 Windows x86-64

gmsaas-1.13.0-py3-none-win32.whl (6.3 MB view details)

Uploaded Python 3 Windows x86

gmsaas-1.13.0-py3-none-manylinux1_x86_64.whl (17.7 MB view details)

Uploaded Python 3

gmsaas-1.13.0-py3-none-macosx_10_11_x86_64.whl (8.5 MB view details)

Uploaded Python 3 macOS 10.11+ x86-64

gmsaas-1.13.0-py3-none-macosx_10_11_universal2.whl (8.5 MB view details)

Uploaded Python 3 macOS 10.11+ universal2 (ARM64, x86-64)

File details

Details for the file gmsaas-1.13.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: gmsaas-1.13.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for gmsaas-1.13.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 fb94b649bb662c75b16093c43808bc99b796fce08d4f78b8bdc72bfd7f0529ed
MD5 00e6960779a4884385974658e8cdb2a1
BLAKE2b-256 16b9bea6c3c1329e409327b3e564b19d15976f1d3944abcc33327d4bfe341c59

See more details on using hashes here.

File details

Details for the file gmsaas-1.13.0-py3-none-win32.whl.

File metadata

  • Download URL: gmsaas-1.13.0-py3-none-win32.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for gmsaas-1.13.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 5caaee1076d9af78c8fa9ff51f95b7573208697e9ccfb4c55341ab678ac0d9f8
MD5 d03db3b4ea27eb57c591b8bf70b29890
BLAKE2b-256 e049d39368146c8d69165eb98b67a1843fd2bfd1a8cd1af775a51eeb22816053

See more details on using hashes here.

File details

Details for the file gmsaas-1.13.0-py3-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: gmsaas-1.13.0-py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 17.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for gmsaas-1.13.0-py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 137fa571cc8ee9af7dc11c520152b758abf6fd0320ecefd5c86d60178fd75c5d
MD5 e8154cfdd372ebeb349a7da89da53632
BLAKE2b-256 1b1e62f55531aa4218799996d9c843ec5b9562fb646e8897b8fe36f664fe5611

See more details on using hashes here.

File details

Details for the file gmsaas-1.13.0-py3-none-macosx_10_11_x86_64.whl.

File metadata

  • Download URL: gmsaas-1.13.0-py3-none-macosx_10_11_x86_64.whl
  • Upload date:
  • Size: 8.5 MB
  • Tags: Python 3, macOS 10.11+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for gmsaas-1.13.0-py3-none-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 fcdddbeb167c8616ed3ab209d6408cba2d3dbb700bf7b17c093fb242165a1389
MD5 c33514d29510ac6c1afec06be3c2ad0a
BLAKE2b-256 4143a8db9529c25f3ab73069130cd1b62e3385c31706b31a2c7713b6eeb96940

See more details on using hashes here.

File details

Details for the file gmsaas-1.13.0-py3-none-macosx_10_11_universal2.whl.

File metadata

  • Download URL: gmsaas-1.13.0-py3-none-macosx_10_11_universal2.whl
  • Upload date:
  • Size: 8.5 MB
  • Tags: Python 3, macOS 10.11+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for gmsaas-1.13.0-py3-none-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 d365b9a087c358165d0d7ea5d8b5c78e9bbbba7bd9459c22054da5ffc04eaa8f
MD5 a74e2281768f5225f01de2dd91a5340f
BLAKE2b-256 067dfcc3b1e5a072ac90434392a73ce831d6cf6749527b47e46e850f9674f8c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page