IIASA Accelerator Client
Project description
Accelerator terminal client and Python API
Provides a command-line client for interacting with the Accelerator as well as a Python API in the form of the accli package. These communicate with the rest API of the Accelerator Control Services Backend.
Uses device authentication:
- Part 0Auth: Device Authentication Flow.
- Auth valid for 7 days.
- Grants are limited.
- Access via RBAC:
- Stateless tokens.
User Guide
Requirements
- Python >=3.7.17
Installation
pip install accli --user
Usage as module
python -m accli
Usage as executable
You might receive following similar warning during installation
WARNING: The script accli.exe is installed in 'C:\Users\singhr\AppData\Roaming\Python\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
You could also add executable directory path in PATH environment variable. Please follow following links for instruction on adding executable directory path to PATH environemnt variable.
Command
accli --help
Output
Usage: accli [OPTIONS] COMMAND [ARGS]...
Note: You may need to prepend the command with either ./(in linux) or .\(in winodws).
Developer Guide
General build and upload instructions Please follow this link.
Release process
- Commit with right version on accli/_version.py
- Run 'python scripts/tag.py'
python -m buildtwine upload -r pypi -u __token__ -p <password-or-token> ./dist/*
#TODO nuitka --standalone --onefile --static-libpython=yes --include-package=accli --output-dir=build -m accli.cli:app
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file accli-0.7.11.tar.gz.
File metadata
- Download URL: accli-0.7.11.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73b40b60388e2544db3d1aae07387fd557469e559acbc7a3d4285e9de290e026
|
|
| MD5 |
9898fc6d875c47e667446b6e6599f2d3
|
|
| BLAKE2b-256 |
28f58f965160d37c36b46bb6fb4fb1fce01f8c226d6a6345c402071fb9cd49d5
|
File details
Details for the file accli-0.7.11-py3-none-any.whl.
File metadata
- Download URL: accli-0.7.11-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eee5a752d6367743ee5b9a42c12b5c2a96f1caaa2fa2e2922ff3315081dee61
|
|
| MD5 |
56aa67069da642bc824ce51ddd6ad693
|
|
| BLAKE2b-256 |
677a06af949e477d24f8ab917ad587f965d0d18d5e5dd3b22537f957fedf01b9
|