Skip to main content

AskAnna Command line and library interface

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 askanna

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:

push-target: https://beta.askanna.eu/project/7MQT-6309-9g3t-R5QR/

Values on the URL and project-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_TOKEN=<your api token>

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:

History

0.3.1 (2020-10-23)

  • Improve artifact download to be more reliable in case of download failures

0.3.0 (2020-07-31)

  • changed askanna artifact to askanna artifact add
  • adding askanna artifact get
  • adding askanna variable list to get a list of variables in askanna
  • adding askanna variable change to modify the value of a variable

0.2.0 (2020-07-23)

  • adding askanna push -f
  • adding askanna push -m "push message"
  • changing how .askanna.yml is created
  • adding askanna functions for running in job
  • adding first test to check on push-target
  • download payload with cli

0.1.0 (2019-12-05)

  • First commit to repo
  • Basic function to do askanna login
  • First version of askanna package

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

askanna-0.3.1.tar.gz (24.0 kB view hashes)

Uploaded Source

Built Distribution

askanna-0.3.1-py2.py3-none-any.whl (27.9 kB view hashes)

Uploaded Python 2 Python 3

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