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.0a13.tar.gz
(106.0 kB
view details)
Built Distribution
ptal_api-1.0.0a13-py3-none-any.whl
(118.1 kB
view details)
File details
Details for the file ptal_api-1.0.0a13.tar.gz
.
File metadata
- Download URL: ptal_api-1.0.0a13.tar.gz
- Upload date:
- Size: 106.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.4.0-182-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a0d92475a0020fe98423b0830ed3afea1ebe87fee016ce474c7ec5a7eb28585 |
|
MD5 | 74a32100078fd189fdc880cae04f3d9a |
|
BLAKE2b-256 | 8752bcc3051bba6b76cfb5c651989ed7ce54565ad8a1456fa8f2830eda50145c |
File details
Details for the file ptal_api-1.0.0a13-py3-none-any.whl
.
File metadata
- Download URL: ptal_api-1.0.0a13-py3-none-any.whl
- Upload date:
- Size: 118.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.4.0-182-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff45107498528f230d37448fe20161d0079fb982530f1de5729c94de75bd2f5 |
|
MD5 | bc132fa292cce2705340b935b14c71bc |
|
BLAKE2b-256 | 5e8ba9dc4891c994794fbbea51014548704d92d0804c11a620fbc21aa348d391 |