Skip to main content
Glama
devpi_client.py603 B
import functools import pluggy from jaraco.context import suppress import keyring.errors hookimpl = pluggy.HookimplMarker("devpiclient") def restore_signature(func): # workaround for pytest-dev/pluggy#358 @functools.wraps(func) def wrapper(url, username): return func(url, username) return wrapper @hookimpl() @restore_signature @suppress(keyring.errors.KeyringError) def devpiclient_get_password(url, username): """ >>> pluggy._hooks.varnames(devpiclient_get_password) (('url', 'username'), ()) >>> """ return keyring.get_password(url, username)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/typing233/scenext-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server