Skip to main content

Vulcan Coalition Python Utility Library

Project description

vulcan-utils

Vulcan python utility

Features

Linkage APIs

  • Linkage API for various services

Installation

pip install vc-utils

Usage

Add environment variables for Linkage M2M host and API key:

export LINKAGE_OPENID_CONF_PATH="https://idp-linkage.vulcanproduct.com/.well-known/openid-configuration"
export LINKAGE_CLIENT_ID="test-client-id"
export LINKAGE_CLIENT_SECRET="test-client-secret"

export LINKAGE_M2M_HOST="https://application-linkage.vulcanproduct.com"
export LINKAGE_U2M_HOST="https://account-linkage.vulcanproduct.com"

Then you can import and use the Linkage API in your code:

import linkage

Test

pip3 install fastapi uvicorn aiohttp dotenv bcrypt
python3 test.py

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

vc_utils-3.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

vc_utils-3.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file vc_utils-3.1.tar.gz.

File metadata

  • Download URL: vc_utils-3.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vc_utils-3.1.tar.gz
Algorithm Hash digest
SHA256 540f939d76fc0039c1ac50ef1d85b6949797d02dffdbd225f5e83bf408c01874
MD5 1dcc8d9daf7264984fe61f92f3f86f13
BLAKE2b-256 65e05ff67c457389aabe94fcb2ec8f967927190472a4cb85b135b0825777fddf

See more details on using hashes here.

File details

Details for the file vc_utils-3.1-py3-none-any.whl.

File metadata

  • Download URL: vc_utils-3.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vc_utils-3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba8d06654360fcc07f433cbf506dd439ffc2ce63232c8a1e66b9ecf78812a52
MD5 c9777af2339bcba0da7d4e92a2324c23
BLAKE2b-256 5ddc7498489eb251022894f2a15a413e89fb37ae5534f23777ff838c0a7899f4

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