Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

ptal-api

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ptal-api

TALISMAN API adapter

pipPyPI
Version
0.12.10.2
Maintainers
1

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')

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts