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.0a27.tar.gz (110.9 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.0a27-py3-none-any.whl (122.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptal_api-1.0.0a27.tar.gz
  • Upload date:
  • Size: 110.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.13.0-28-generic

File hashes

Hashes for ptal_api-1.0.0a27.tar.gz
Algorithm Hash digest
SHA256 cfda42f1ce8c0d443d93fe4ec6134f3978458e75692742a3ebd02104a531a8f8
MD5 7e20f09b3ee9fdeaf22bf82c26a54fee
BLAKE2b-256 bf1e0edf49864c9bef729698f91928f010b1646bfe1e78266579bda6e131d909

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ptal_api-1.0.0a27-py3-none-any.whl
  • Upload date:
  • Size: 122.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.13.0-28-generic

File hashes

Hashes for ptal_api-1.0.0a27-py3-none-any.whl
Algorithm Hash digest
SHA256 6cc18b1953d8a213bbda38a12d98718444debc8e57d5cd4dca4743e4e742acac
MD5 3c4da63c4bd144a4f7370eb1d9db8045
BLAKE2b-256 ec3f452e7866ba9c3e6652519ff6f889cc63705b4bba10a18ad7bb034490810b

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