Skip to main content

GreedyBandit CLI

Project description

GreedyBandit CLI

Installation

The CLI supports Python 3.4 or higher. In most cases you may use pip to install the CLI:

pip install gbscli

Run gbs to verify:

gbs

How to use

Create an account and obtain the service credential

You must register new account with your e-mail address:

gbs account create "YOUR-EMAIL-ADDRESS" "YOUR NAME"

You will receive an e-mail containing a link to obtain the service credential. Click the link and copy the content or use curl or wget to download the credential.

Please note that the URL is temporary and won't work twice. If you want to get another service credential use the following command to get another link:

gbs account credential "YOUR-EMAIL-ADDRESS"

Save the credential as a file and place it ~/.config/gbs/credential.json. If there is no such directory, you should create one.

Run the following command to check if the credential registered correctly:

gbs account describe

Services, experiments, and goals

A service represents a website or an app. Single account may have one or more services. To see registered services run the following command:

gbs service list

If you've just created new account, the command will show an empty list.

Each service may contain zero or more experiments and goals. Each experiment represents independent A/B test session and each goal represents goals or objectives of the service such as new customer acquisition, purchase completion, or reach to the target page.

In GreedyBandit, individual experiments don't contain goals. Instead, goals belong to the service and every single experiment in the service is evaluated against every single goal. This separation of experiments and goals helps you to avoid local optimizations caused by conflicting experiments.

Configure experiments

Configure goals

Apply experiments to the website using Javascript SDK

Monitor the performance on-going experiments

Development

Setting up virtual environment:

pyenv virtualenv 3.7.3 gbs-gbscli
pip install -e .

Unit testing:

ptw

To run tox:

pyenv install 3.7.3
pyenv install 3.6.8
pyenv install 3.5.7
pyenv install 3.4.9
pyenv local 3.7.3 3.6.8 3.5.7 3.4.9
tox

Project details


Download files

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

Source Distribution

gbscli-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gbscli-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file gbscli-0.1.0.tar.gz.

File metadata

  • Download URL: gbscli-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for gbscli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3d59d9229230bf68517453f553a5ceba7cc3a1564ca7bfc81912bc3885661f35
MD5 efeaf800cf876a133a9c763b30272ee0
BLAKE2b-256 f6f66a458ff17449fc211dfa70a5b86b992b6ddbe3281b9779156063768a60d6

See more details on using hashes here.

File details

Details for the file gbscli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gbscli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for gbscli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 656ab5d260339e22273cd0461571899a8cfd94ada070720e42886488338ebb0a
MD5 49b99a9227dc1c2f8f88e3a393c7fa3c
BLAKE2b-256 53b3a81526d5a668c29bad48a0dc7ab29d0aac78a9d031ea47e9ca3806f102d7

See more details on using hashes here.

Supported by

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