No project description provided
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.7.1.tar.gz
(53.3 kB
view hashes)
Built Distribution
Close
Hashes for ptal_api-0.10.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743b88ca811d7a44add99c7ddf828844b5966faa9eacb823e2b4d22edfb4f09a |
|
MD5 | 3a85c41d1fae873f508c79c464c19187 |
|
BLAKE2b-256 | 4399dc2b5f3f042ab1bcdb46c9afdfd9b527b2e53e90a7887346860a8749ee3f |