Skip to main content

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

agilicus-1.8.0.tar.gz (122.1 kB view details)

Uploaded Source

Built Distribution

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

agilicus-1.8.0-py3-none-any.whl (287.4 kB view details)

Uploaded Python 3

File details

Details for the file agilicus-1.8.0.tar.gz.

File metadata

  • Download URL: agilicus-1.8.0.tar.gz
  • Upload date:
  • Size: 122.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.7 Linux/4.14.138+

File hashes

Hashes for agilicus-1.8.0.tar.gz
Algorithm Hash digest
SHA256 56242e7749625e07add465b11bf3d19842782b943594492a48b23010e17914a2
MD5 c761cb586e1d9384741db8330de5882f
BLAKE2b-256 803d2e2865f76e871dd18358f558787218a1e6d74c6a6b038ebc624e53f52faf

See more details on using hashes here.

File details

Details for the file agilicus-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: agilicus-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 287.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.7 Linux/4.14.138+

File hashes

Hashes for agilicus-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2f249eda55b0afb8f3035d6cff8c2ff329ec53db253d2f8e295cfa0c642f063
MD5 445406f2bcb2bebcc81dc8c67461877a
BLAKE2b-256 b1f1664bf789f5c5ff58351d2f6fa6d365359b79cc1dd4a636fe68444baca360

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