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


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

ptal_api-1.0.0a6.tar.gz (95.0 kB view details)

Uploaded Source

Built Distribution

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

ptal_api-1.0.0a6-py3-none-any.whl (106.3 kB view details)

Uploaded Python 3

File details

Details for the file ptal_api-1.0.0a6.tar.gz.

File metadata

  • Download URL: ptal_api-1.0.0a6.tar.gz
  • Upload date:
  • Size: 95.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Linux/5.15.0-87-generic

File hashes

Hashes for ptal_api-1.0.0a6.tar.gz
Algorithm Hash digest
SHA256 59a1513327765cb6139a1875536ad8124a162c68e842e79b811ceeb8b54b0f29
MD5 2301eb89e5127e5d86536291deba8e6a
BLAKE2b-256 0a832b8eca9d7e7b4fe25ab2acd38e5c8329bb4a30733f6d75ab82dd7386cdac

See more details on using hashes here.

File details

Details for the file ptal_api-1.0.0a6-py3-none-any.whl.

File metadata

  • Download URL: ptal_api-1.0.0a6-py3-none-any.whl
  • Upload date:
  • Size: 106.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Linux/5.15.0-87-generic

File hashes

Hashes for ptal_api-1.0.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 dc09788173d6af5e09d5af2ae28f5364bc67375668b46593d932b2ebc5052ae8
MD5 31f2b1f590ad70f6ab5946a9aecbb1a5
BLAKE2b-256 84e89165c14a1dc90159d92419368d56eaaa0b10e9c799305b82d29e2b65daac

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