Skip to content
garotm edited this page Jan 29, 2025 · 4 revisions

GitHub Authentication Library (githubauthlib)

Welcome to the githubauthlib wiki! This library provides a secure and cross-platform solution for retrieving GitHub tokens from system keychains.

PyPI version PyPI version Python

Quick Links

Overview

githubauthlib is a Python library designed to securely retrieve GitHub tokens from system-specific secure storage:

  • macOS: Uses Keychain Access
  • Windows: Uses Credential Manager
  • Linux: Uses libsecret

Key Features

  • ✅ Cross-platform support (macOS, Windows, Linux)
  • 🔒 Secure token retrieval
  • ✨ Token validation
  • 🛡️ Comprehensive error handling
  • 📝 Detailed logging support

System Requirements

  • Python 3.6 or higher
  • Git with configured credentials
  • Platform-specific dependencies:
    • Linux: libsecret-tools
    • macOS: No additional requirements
    • Windows: No additional requirements

Getting Started

Check out our Installation Guide to get started with githubauthlib.

Support

If you encounter any issues or have questions:

  1. Check the Troubleshooting guide
  2. Search existing GitHub Issues
  3. Create a new issue if needed

License

This project is licensed under the MIT License. See the LICENSE file for details.