Skip to main content

TALISMAN API adapter

Project description

ptal-api

Python adapter for Talisman-based app

How to create trivial adapter:

graphql_url = 'https://demo.talisman.ispras.ru/graphql' # or another talisman-based app
auth_url = 'https://demo.talisman.ispras.ru/auth/'
realm = 'demo'
client_id = 'web-ui'
client_secret = '<some-secret>'

gql_client = KeycloakAwareGQLClient(
    graphql_url, 10000, 5,
    auth_url=auth_url,
    realm=realm, client_id=client_id, user='admin', pwd='admin',
    client_secret=client_secret
).__enter__()

adapter = TalismanAPIAdapter(gql_client, {})

c = adapter.get_concept('ОК-123456')

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

ptal_api-0.12.10.2.tar.gz (89.7 kB view details)

Uploaded Source

Built Distribution

ptal_api-0.12.10.2-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

Details for the file ptal_api-0.12.10.2.tar.gz.

File metadata

  • Download URL: ptal_api-0.12.10.2.tar.gz
  • Upload date:
  • Size: 89.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-67-generic

File hashes

Hashes for ptal_api-0.12.10.2.tar.gz
Algorithm Hash digest
SHA256 d7e75ca1c4572166ef37768683520b7763f98703c229b95de35f506c77437986
MD5 2539c013a3bdd019975bf4095d20e213
BLAKE2b-256 b308d41c8394bb239864556399e684ac62bbd5716faa9de44cd0b98092475277

See more details on using hashes here.

File details

Details for the file ptal_api-0.12.10.2-py3-none-any.whl.

File metadata

  • Download URL: ptal_api-0.12.10.2-py3-none-any.whl
  • Upload date:
  • Size: 100.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-67-generic

File hashes

Hashes for ptal_api-0.12.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0e413c9840f6d932eb93eee7bf0234a3805958537bde674a57339269f901149
MD5 922fb6fe533691275849166795ebc5f9
BLAKE2b-256 d7ff54fdb01af21b6d2f5bb9d6349d602845eda780938554084df4c5113194ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page