joestump/python-oauth2
joestump/python-oauth2 has 3,003 GitHub stars and 901 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-07 18:58 UTC. Last push 2024-04-09.
A fully tested, abstract interface to creating OAuth clients and servers.
Measured star growth
- in 24h
- -1
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalNote: This library implements OAuth 1.0 and not OAuth 2.0.
Overview
python-oauth2 is a python oauth library fully compatible with python versions: 2.6, 2.7, 3.3 and 3.4. This library is depended on by many other downstream packages such as Flask-Oauth.
Installing
You can install oauth2 via the PIP package.
$ pip install oauth2
We recommend using virtualenv.
Examples
Examples can be found in the wiki
Running tests
You can run tests using the following at the command line:
$ pip install -r requirements.txt
$ python setup.py test
History
This code was originally forked from Leah Culver and Andy Smith's oauth.py code. Some of the tests come from a fork by Vic Fryzel, while a revamped Request class and more tests were merged in from Mark Paschal's fork. A number of notable differences exist between this code and its forefathers:
- 100% unit test coverage.
- The
DataStoreobject has been completely ripped out. While creating unit tests for the library I found several substantial bugs with the implementation and confirmed with Andy Smith that it was never fully baked. - Classes are no longer prefixed with
OAuth. - The
Requestclass now extends fromdict. - The library is likely no longer compatible with Python 2.3.
- The
Clientclass works and extends fromhttplib2. It's a thin wrapper that handles automatically signing any normal HTTP request you might wish to make.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,765 starspublic-apis/public-apis
A collective list of free APIs
496,987 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
440,714 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,138 stars