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.10.11.tar.gz
(57.2 kB
view hashes)
Built Distribution
ptal_api-0.10.11-py3-none-any.whl
(59.4 kB
view hashes)
Close
Hashes for ptal_api-0.10.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75490cf421298a7661d9fffac5e0657f9d2f19e3098b7d8ca66962c1f91f1217 |
|
MD5 | 2547925552fd465afed9d436af56a287 |
|
BLAKE2b-256 | b6caede8a7c64dbc313012f36d34b0ec83d06d82a080c78642f5dc5ce90ef0d1 |