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.2.tar.gz
(67.7 kB
view hashes)
Built Distribution
ptal_api-0.11.2-py3-none-any.whl
(71.6 kB
view hashes)
Close
Hashes for ptal_api-0.11.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c456f06aef8e27f8ca326c4a6f058b0790921c524c8d9864c64da6061cb939 |
|
MD5 | 9e1e7f07811935afce6e3d1d8ba61651 |
|
BLAKE2b-256 | 21dd447d9f92e2035872007e381d3f9244ae7628a8237b0bc4e8592da52f1764 |