The AskAnna CLI & Python SDK is part of the AskAnna platform to kickstart your data science projects
Project description
AskAnna CLI & Python SDK
The AskAnna CLI offers a command-line interface to the AskAnna platform. With the Python SDK you can run AskAnna functions directly from your Python script. The CLI & Python SDK simplifies the communication with the AskAnna platform and provides facilities for supporting every part of a data science project.
Documentation
For the latest information check the AskAnna Documentation. Or open directly the documentation for:
Quickstart
Install AskAnna
pip install askanna
Update AskAnna
pip install -U askanna
Login to AskAnna
askanna login
This will create a .askanna.yml
in your home folder.
Authorization token
When the AskAnna CLI & Python SDK is used in for example a CI/CD, one can configure authentication by setting an environment variable:
export AA_REMOTE=https://beta-api.askanna.eu
export AA_TOKEN={{ API TOKEN }}
The API token can be found in the created ~/.askanna.yml
file after you logged in with askanna login
.
How to push code to AskAnna
askanna init
Run this command on the main directory of your project. The command will create a new project on AskAnna and will
add a askanna.yml
file to your local project directory.
askanna create
If you want to start a project from scratch (or a template), you can run this command.
askanna push
Run askanna push
and your code will be uploaded to the project in AskAnna.
Credits
Tools used in the AskAnna package:
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
Built Distribution
Hashes for askanna-0.19.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 422713d5d5fb9aa1f07c68d09428b0d3a506f52f7266a32cce6b5a3c6093831d |
|
MD5 | 7fa025515a771fb5eed9bea9a78d57ca |
|
BLAKE2b-256 | ba429e6ac27e823095ec01a83bf5f50702fa427b38e4547a346aca590f74ec3d |