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. This allows configuration of our Zero-Trust Network Access cloud native platform using REST. 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.92.1.tar.gz (892.8 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.92.1-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agilicus-1.92.1.tar.gz
  • Upload date:
  • Size: 892.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Linux/5.4.49+

File hashes

Hashes for agilicus-1.92.1.tar.gz
Algorithm Hash digest
SHA256 dd491cddc7d38ca31a75cae311546a274448c1b155077e6a60d4967c45e6d9a4
MD5 b32afcd789da23e0978aafed82647772
BLAKE2b-256 597ab863974d5aa6a92472064edf7fb90fa8d637fac47b58a9c80274c8e1935c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agilicus-1.92.1-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Linux/5.4.49+

File hashes

Hashes for agilicus-1.92.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0dc00ef7446abb8e998737280ad329547fd60a64937b752221810f0edc5d3220
MD5 1ce36975e601709e18a5bf9a92ba5c4e
BLAKE2b-256 3af6f13700c64e5d202a9cbebc33f8bba13081aa1cb2ab7f59802bb89ef6fab4

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