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-2.1.tar.gz (4.7 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-2.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vc_utils-2.1.tar.gz
Algorithm Hash digest
SHA256 e85f90e5ef9dd485e0de72d5cff4a61d46166d85a165f26295b8b856ce8979ec
MD5 b95dc9ab44e6114b4a863d1aa8d6b452
BLAKE2b-256 537c2b0ce9b4572ba6449fdcbdd509f2442aadc438893e96da545894ac8a1844

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vc_utils-2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7201752cce33a390e1b5d4f3f4afa1ecb66f5084358814e87464593a14b49877
MD5 94fd199f90981e35152a20874cfcd8aa
BLAKE2b-256 f98aa8b2ad3481eb9e46abf55610d848a1ba46a4194f0127bb18e56678618501

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