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.0a4.tar.gz
(94.7 kB
view hashes)
Built Distribution
ptal_api-1.0.0a4-py3-none-any.whl
(106.1 kB
view hashes)
Close
Hashes for ptal_api-1.0.0a4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a7ba432a14f9be187cc5ba9688994b44c8cf626facbe8de8154c2d8994ff107 |
|
MD5 | ad9118f4de3fb7804375df749c1bedc1 |
|
BLAKE2b-256 | 58ea3a6f89719c21d69a4d9af6996c2ff0ac74aed1afb880142de57b7f5d2f47 |