semvec/pypi-packages huggingface dataset:
gbscli 0.1.0
GreedyBandit CLI

# 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 `experiment`s and `goal`s. 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
j-test 1.0.2
A sample Python project
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4

# A sample Python project

A sample project that exists as an aid to the [Python Packaging User
Guide][packaging guide]'s [Tutorial on Packaging and Distributing
Projects][distribution tutorial].

This project does not aim to cover best practices for Python project
development as a whole. For example, it does not provide guidance or tool
recommendations for version control, documentation, or testing.

[The source for this project is available here][src].

Most of the configuration for a Python project is done in the `setup.py` file,
an example of which is included in this project. You should edit this file
accordingly to adapt this sample project to your needs.

----

This is the README file for the project.

The file should use UTF-8 encoding and can be written using
[reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md
use]. It will be used to generate the project webpage on PyPI and will be
displayed as the project homepage on common code-hosting services, and should be
written for that purpose.

Typical contents for this file would include an overview of the project, basic
usage examples, etc. Generally, including the project changelog in here is not a
good idea, although a simple “What's New” section for the most recent version
may be appropriate.

[packaging guide]: https://packaging.python.org
[distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/
[src]: https://github.com/pypa/sampleproject
[rst]: http://docutils.sourceforge.net/rst.html
[md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant"
[md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional