Skip to main content

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:

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.

Updating PATH on windows

Updating PATH on linux

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

  1. Commit with right version on accli/_version.py
  2. Run 'python scripts/tag.py'
  3. python -m build
  4. twine 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

accli-0.7.10.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

accli-0.7.10-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file accli-0.7.10.tar.gz.

File metadata

  • Download URL: accli-0.7.10.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for accli-0.7.10.tar.gz
Algorithm Hash digest
SHA256 2c3203f456bc4ff40a39c7085ac699da94e51b4217caa8427b6da4814266f860
MD5 cf9185ef172c9798d1681c314fc9dafc
BLAKE2b-256 050ab75e35447c00c753d6bdd3a0731f20449cf7d9ef19cbc0c43d8cd5af1f85

See more details on using hashes here.

File details

Details for the file accli-0.7.10-py3-none-any.whl.

File metadata

  • Download URL: accli-0.7.10-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for accli-0.7.10-py3-none-any.whl
Algorithm Hash digest
SHA256 702cd6c97d9c266a51543a30f5d691a794d93533da741f8e35b211e9d5b1fc8a
MD5 d0c558faab902ff7042619c5ed43debd
BLAKE2b-256 2de6b7cae54c6c1dea0477bc1d5e5c14df5cf7c90b43015f627afe6778121067

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page