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.0a14.tar.gz
(103.2 kB
view details)
Built Distribution
ptal_api-1.0.0a14-py3-none-any.whl
(115.2 kB
view details)
File details
Details for the file ptal_api-1.0.0a14.tar.gz
.
File metadata
- Download URL: ptal_api-1.0.0a14.tar.gz
- Upload date:
- Size: 103.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.15.0-113-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b6e710cbbf5b9ad193649bb15c0881103bb4c92f4c880bee270ac4f0d529bf5 |
|
MD5 | cf1a8b00aa2f204b6d2ef446a507450a |
|
BLAKE2b-256 | b476ddf6fd9b5d88326339436e8858d2aaa22f5c9098ca223904e2813ef35e9d |
File details
Details for the file ptal_api-1.0.0a14-py3-none-any.whl
.
File metadata
- Download URL: ptal_api-1.0.0a14-py3-none-any.whl
- Upload date:
- Size: 115.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.15.0-113-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 586bf3306d276b83f3d0512383f9a9cf2c7491592f4c7eb20e7dd9b2a2fa6f16 |
|
MD5 | 99efbcb4e15d4de9e3dd6e8ba638c076 |
|
BLAKE2b-256 | 812029e9b769283084d7a6da978209c167f9c9ed08d81a830af94cb2fe59f59e |