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.0.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.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vc_utils-3.0.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.0.tar.gz
Algorithm Hash digest
SHA256 37a811f97da498e181490e0c07fc427f6539c0097e2b2f4e53ae85c0d7785729
MD5 9ca3b5b7be71e2d9cf6b58ebc820dc51
BLAKE2b-256 36c668c74ac52e459a9cccc939e017d867a5bb4ab1052c58df43427f752eb378

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vc_utils-3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 499c190c015d78a5a32687b5cce3087704df3c0c9d7085128c8f8d7972e1015a
MD5 321bdf53b8c201f5556613a1c4a2c83a
BLAKE2b-256 22d4cdfaae0685052aa437b228968eff664b711fabd93da5003e6ed829615012

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