Agilicus SDK
Project description
Agilicus SDK (Python)
The Agilicus Platform API is defined using OpenAPI 3.0, and may be used from any language. You can see the API specification online.
This package provides a Python SDK, class library interfaces for use in accessing individual collections. In addition it provides a command-line-interface (CLI) for interactive use.
Read the class-library documentation online
A subset of this code (that which accesses the above API) is generated
Generally you may install this as:
pip install --upgrade agilicus
You may wish to add bash completion by adding this to your ~/.bashrc:
eval "$(_AGILICUS_CLI_COMPLETE=source agilicus-cli)"
Build
(first generate the api access, 'cd ..; ./local-build')
poetry install
poetry run pre-commit install
poetry run pytest
To run the CLI from the development venv: gene
poetry run python -m agilicus.main
To format & lint:
poetry run black .
poetry run flake8
CLI Usage
Credentials are cached in ~/.config/agilicus, per issuer.
agilicus-cli --client_id admin-portal --issuer https://auth.cloud.egov.city list-applications
Debugging with Codium
"python.venvPath": "~/.cache/pypoetry/virtualenvs"
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 agilicus-1.29.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 133b162930fb0acb7aa87e6c3aa2e141314cb5b893b5d21c150935e76ca3b59e |
|
MD5 | 2cde4741837edb7f21e514164a131bdc |
|
BLAKE2b-256 | 6d4ee56348b7db703b5d1ba562ced7942f82948aed1583230d7a333a43af77c3 |