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.4.2.tar.gz
(79.0 kB
view hashes)
Built Distribution
Close
Hashes for ptal_api-0.11.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a02e0a09804d966d842ecdaad5f330c7cd2927e4c940f6a87106768b53107196 |
|
MD5 | 2546fc11a5d839c764fa64fd383bea8b |
|
BLAKE2b-256 | 4b130261a0d2daf5d6555fd2032e7a3cdf993a031242e516827e65de2f9657f0 |