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-0.11.1.6.tar.gz (67.5 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-0.11.1.6-py3-none-any.whl (71.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptal_api-0.11.1.6.tar.gz
  • Upload date:
  • Size: 67.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.14.0-1056-oem

File hashes

Hashes for ptal_api-0.11.1.6.tar.gz
Algorithm Hash digest
SHA256 16402e97e8ebf8bb67fc94bfaf63d8ad2c1746dfc5b5b1698ca7b040b985bd80
MD5 77d5f0c2b213bc2bda9a06874862579a
BLAKE2b-256 27e06d93078a5faa659c99e60b29843e26bbe3f9a52a5c1df5df9a83db33ac3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ptal_api-0.11.1.6-py3-none-any.whl
  • Upload date:
  • Size: 71.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.14.0-1056-oem

File hashes

Hashes for ptal_api-0.11.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 84b3642819b6dcdd1c91b5e7e3c2d7f662d070308891d78c593aa21d66c55e0d
MD5 d53ddf6d24b3602a5cecf4c1d78e7aea
BLAKE2b-256 d3ed151370d7dfa9bc45268d19aa43ce8b4e13a900671633d13d88e3d505d2b2

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