CLI user for creating and maintaining Evolv experiments.
Project description
Evolv CLI
The experiment management CLI provides functionality to create and maintain Evolv experiments.
Setup
Pre-requisites: You must have Python 3.7 installed on your computer.
-
Create a Python virtual environment and install the cli.
python3 -m venv .venv source .venv/bin/activate pip install evolvcli
-
Ensure the CLI is properly installed by calling the cli. You must be in the virtual environment you created to use the cli.
evolv
You should see a help menu appear in your terminal.
Quickstart
To start using the CLI obtain your account id from Evolv staff.
-
Export your account id as an environment variable.
export EVOLV_ACCOUNT_ID=<your account id>
-
To test the cli is working use the "get account" command.
evolv get account
-
The system will prompt you to enter your Evolv email and password.
-
Once logged in you will not have to login again till your credentials expire.
Other Commands
To find out more about the CLI commands and how to use them use the --help
option.
For example: evolv get --help
Possible sub commands include:
evolv get
evolv list
evolv create
evolv update
Developing
When developing theres some key things to know.
Setup
-
Create a Python virtual environment and install the cli.
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt pip install -r requirements-dev.txt python setup.py develop
-
Ensure the CLI is properly installed by calling the cli. You must be in the virtual environment you created to use the cli.
evolv
You should see a help menu appear in your terminal.
Uploading to PyPi
Make sure you are at the project root for these steps.
-
Update the version of the package found in: [./setup.py] (Make sure to check this in.)
-
Enter your virtual environment and upload the package.
source .venv/bin/activate python setup.py sdist twine upload dist/*
-
Twine will prompt you for credentials, get these from the Evolv Engineering Team.
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
File details
Details for the file evolvcli-1.0.3.tar.gz
.
File metadata
- Download URL: evolvcli-1.0.3.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15bd60bd9713e6d1d30e8690bc8904a75a3d9f120de50135dd96a5a74fb57ca7 |
|
MD5 | a041143dd0dc08b0f5431a2b5ca8aa07 |
|
BLAKE2b-256 | 804043705ca0600a50e45d0f5cec492ca84a6331bc82a901b06d535fd989a2e7 |