AskAnna Command line and library interface
Reason this release was yanked:
tryout remove beta
Project description
askanna-cli
askanna-cli offers a CLI interface for creating AskAnna and supported DSP projects. It simplifies the communication with the AskAnna platform and provides facilities for supporting every part of the data science process.
Documentation
Quickstart
Install askanna-cli::
pip install git+https://gitlab.askanna.io/open/askanna-cli.git#egg=askanna-cli
Login to askanna:
askanna login
This will create a .askanna.yml
in your home folder.
When used in a CI, one can configure authentication by setting an environment variable:
export AA_REMOTE=https://beta-api.askanna.eu/v1/
export AA_TOKEN=<your api token, can be found in ~/.askanna.yml>
Upload your package to AskAnna:
First setup your askanna.yml
:
project:
url: "https://beta.askanna.eu/workspace/project/7MQT-6309-9g3t-R5QR/"
name: "AskAnna Sandbox"
uuid: "f1e2144a-87f9-4936-8562-4304c51332ea"
Values on the URL and uuid
needs to be configured for your own project.
Uploading a package from a CI environment requires the following variables to be set:
export AA_REMOTE=https://beta-api.askanna.eu/v1/
export AA_TOKEN=<your api token>
export PROJECT_UUID=<uuid for your project>
Features
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Credits
Tools used in rendering this package:
- Cookiecutter: https://github.com/audreyr/cookiecutter
cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage
History
0.1.0 (2019-12-05)
- First commit to repo
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
File details
Details for the file askanna-cli-0.1.0.tar.gz
.
File metadata
- Download URL: askanna-cli-0.1.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1aac8fdcde5847f4dccfda44b4310c10dc28e986568d50a22bd7e31602b5fcd7 |
|
MD5 | 11a4238b422ac171899de67a127a6325 |
|
BLAKE2b-256 | 98334c15e65a4affcd662dbd6e7c25345a42f0cdf48bb0339b19fa081537e346 |