pydoc > keyring

📛 NAME

keyring

🚀 Quick Reference

Use CaseCommandDescription
🔐 Store a passwordimport keyring; keyring.set_password("service", "username", "password")Save a password for a service and username.
🔑 Retrieve a passwordkeyring.get_password("service", "username")Get the stored password, or None if not found.
❌ Delete a passwordkeyring.delete_password("service", "username")Remove the password for the service/user.
🎫 Get a credentialkeyring.get_credential("service", "username")Get a Credential object with username and password.
⚙️ Set custom backendkeyring.set_keyring(backend)Override the default keyring backend.
🔍 Get current backendkeyring.get_keyring()Return the active keyring backend instance.

📦 PACKAGE CONTENTS

🔧 FUNCTIONS

📊 DATA

__all__ = ('set_keyring', 'get_keyring', 'set_password', 'get_password', ...)

📁 FILE

/usr/lib/python3/dist-packages/keyring/__init__.py

keyring
📛 NAME 🚀 Quick Reference 📦 PACKAGE CONTENTS 🔧 FUNCTIONS 📊 DATA 📁 FILE

Generated by phpman v4.9.27 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-18 18:14 @216.73.216.114
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format