# litl/rauth

A Python library for OAuth 1.0/a, 2.0, and Ofly.

Repository: https://github.com/litl/rauth
Canonical: https://ross.abutalabs.com/products/rauth
Homepage: http://readthedocs.org/docs/rauth/en/latest/
Language: Python
License: MIT
License Family: permissive
Archived: true
Last push: 2022-06-26T18:20:47+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5297, "days_push": 1529, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1600, forks 170 (observed 2026-08-28T04:05:09.521065+00:00)

## What it is
Rauth is a Python library for consuming OAuth 1.0/a, OAuth 2.0, and Ofly APIs, built on top of Requests. It provides service wrapper classes and authenticated session objects to simplify the OAuth handshake and subsequent API calls.

## Use cases
- authenticate with twitter api using oauth 1.0
- add oauth 2.0 login to a python app
- fetch a user's twitter timeline from a script
- connect to third-party apis requiring oauth
- create authenticated http sessions with keep-alive
- implement ofly authentication for shutterfly

## When to choose
- you need a lightweight, requests-based OAuth consumer library in Python
- you must support OAuth 1.0/a as well as OAuth 2.0
- you want simple service wrappers for common OAuth flows

## When to avoid
- you need an OAuth provider/server implementation rather than a consumer
- you need actively maintained support for the latest Python versions and modern OAuth extensions
- you need OpenID Connect or advanced OAuth 2.1 features

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, http-client
- domain: web-development, security, apis
- platform: python, cross-platform
- tags: oauth, oauth1, oauth2, requests, consumer-library

## Member repositories
- litl/rauth (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.521065+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:53:11.957721+00:00, confidence not recorded.
  - readme: https://github.com/litl/rauth (fetched 2026-08-28T04:05:09.521065+00:00, sha c81a6bf2a30f)
  - registry_pypi: https://pypi.org/pypi/rauth/json (fetched 2026-08-29T11:24:53.912904+00:00, sha 4b2086561c3e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
