oauth2

A fully tested, abstract interface to creating OAuth clients and servers.

https://github.com/joestump/python-oauth2

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 41 committers (2.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.0%) to scientific vocabulary

Keywords from Contributors

templates cookies forhumans humans python-requests requests apps views fuzzing syntax-highlighting
Last synced: 10 months ago · JSON representation

Repository

A fully tested, abstract interface to creating OAuth clients and servers.

Basic Info
  • Host: GitHub
  • Owner: joestump
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 445 KB
Statistics
  • Stars: 3,002
  • Watchers: 216
  • Forks: 909
  • Open Issues: 75
  • Releases: 0
Created over 16 years ago · Last pushed about 2 years ago
Metadata Files
Readme License

README.md

Join the chat at https://gitter.im/joestump/python-oauth2 Build Status Coverage Number of issues Licence MIT

Note: 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 DataStore object 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 Request class now extends from dict.
  • The library is likely no longer compatible with Python 2.3.
  • The Client class works and extends from httplib2. It's a thin wrapper that handles automatically signing any normal HTTP request you might wish to make.

Owner

  • Name: Joe Stump
  • Login: joestump
  • Kind: user
  • Location: Dublin, Ireland

I like turtles.

GitHub Events

Total
  • Issues event: 5
  • Watch event: 26
  • Issue comment event: 1
  • Fork event: 4
Last Year
  • Issues event: 5
  • Watch event: 26
  • Issue comment event: 1
  • Fork event: 4

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 290
  • Total Committers: 41
  • Avg Commits per committer: 7.073
  • Development Distribution Score (DDS): 0.776
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joe Stump j****e@j****t 65
leah.culver l****r@f****8 53
Simple Geebus n****s@s****m 38
Zooko Ofsimplegeo z****o@s****m 36
Tres Seaver t****r@p****m 27
Daniel J Holmes (jaitaiwan) d****n@c****m 8
Ian Eure i****e@g****m 6
martyni m****t@g****m 5
Travis Swicegood d****t@d****m 5
andyster@gmail.com a****r@g****m@f****8 4
Rick Hanlon II r****i@g****m 3
Woody Anderson w****n@g****m 3
mmalone m****e@g****m 3
Brian Rosner b****r@g****m 2
Doug Ireton d****n@g****m 2
Justin Plock j****k@g****m 2
Louis Sautier s****s@g****m 2
Tim Sheerman-Chase t****9@s****k 2
Adomas Paltanavičius a****s@g****m 2
The Gitter Badger b****r@g****m 1
Sylvain s****b@g****m 1
Stuart Colville m****s@g****m 1
Steve Peak s****e@s****t 1
Chris Lea c****l@m****m 1
Eric Casteleijn ec@t****m 1
Jenkins slave user j****e@s****m 1
Peter Bengtsson p****r@f****m 1
Sebastien Piquemal s****q@g****m 1
Roderic Campbell r****c@g****m 1
Nik Nyby n****y@c****u 1
and 11 more...

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 48
  • Total pull requests: 54
  • Average time to close issues: almost 3 years
  • Average time to close pull requests: almost 3 years
  • Total issue authors: 48
  • Total pull request authors: 50
  • Average comments per issue: 2.23
  • Average comments per pull request: 2.81
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • danielgran (1)
  • navyad (1)
  • pgajdos (1)
  • santoss1 (1)
  • frankdu (1)
  • brondsem (1)
  • newbery (1)
  • Mybeterlife-continue2025mylife (1)
  • truonghoangnguyen (1)
  • eykd (1)
  • cdunklau (1)
  • zags (1)
  • cwarny (1)
  • bourdeau (1)
  • rich-generator (1)
Pull Request Authors
  • rickhanlonii (4)
  • sbraz (2)
  • tseaver (2)
  • vitaly-zdanevich (2)
  • fw-aaron (1)
  • antonmoiseev (1)
  • mitchellrj (1)
  • alixmartineau (1)
  • AdamJacobMuller (1)
  • AMDINDOWS (1)
  • weakish (1)
  • nikolas (1)
  • artemrizhov (1)
  • k0s (1)
  • lann (1)
Top Labels
Issue Labels
Enhancement (11) Bug (7) Security (1) Awaiting Feedback (1) Question (1)
Pull Request Labels
Needs Tests (12) Enhancement (10) Bug (8) Security (3) PY3K (1)

Packages

  • Total packages: 16
  • Total downloads:
    • pypi 299,329 last-month
  • Total docker downloads: 5,432,356
  • Total dependent packages: 18
    (may contain duplicates)
  • Total dependent repositories: 7,073
    (may contain duplicates)
  • Total versions: 59
  • Total maintainers: 8
  • Total advisories: 2
pypi.org: oauth2

library for OAuth version 1.9

  • Versions: 32
  • Dependent Packages: 17
  • Dependent Repositories: 7,072
  • Downloads: 299,318 Last month
  • Docker Downloads: 5,432,356
Rankings
Dependent repos count: 0.1%
Downloads: 0.5%
Docker downloads count: 0.6%
Dependent packages count: 0.7%
Average: 0.8%
Forks count: 1.3%
Stargazers count: 1.4%
Last synced: 10 months ago
alpine-v3.18: py3-oauth2-pyc

Precompiled Python bytecode for py3-oauth2

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 1.5%
Forks count: 1.7%
Stargazers count: 4.4%
Last synced: 10 months ago
alpine-v3.18: py3-oauth2

Python3 library for OAuth

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 1.5%
Forks count: 1.7%
Stargazers count: 4.4%
Last synced: 10 months ago
alpine-edge: py3-oauth2-pyc

Precompiled Python bytecode for py3-oauth2

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.7%
Stargazers count: 4.6%
Average: 5.1%
Dependent packages count: 14.1%
Maintainers (1)
Last synced: 10 months ago
alpine-edge: py3-oauth2

Python3 library for OAuth

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.6%
Stargazers count: 4.3%
Average: 5.1%
Dependent packages count: 14.6%
Maintainers (1)
Last synced: 10 months ago
alpine-v3.17: py3-oauth2

Python3 library for OAuth

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 1.6%
Stargazers count: 4.0%
Average: 8.2%
Dependent packages count: 27.3%
Last synced: 10 months ago
conda-forge.org: oauth2
  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Forks count: 4.3%
Stargazers count: 6.8%
Average: 18.5%
Dependent packages count: 28.8%
Dependent repos count: 34.0%
Last synced: 10 months ago
pypi.org: oauth2-ingaia

library for OAuth version 1.9

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 11 Last month
Rankings
Forks count: 1.2%
Stargazers count: 1.4%
Dependent packages count: 7.4%
Average: 21.3%
Dependent repos count: 22.2%
Downloads: 74.3%
Maintainers (1)
Last synced: 10 months ago
alpine-v3.19: py3-oauth2-pyc

Precompiled Python bytecode for py3-oauth2

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 10 months ago
alpine-v3.21: py3-oauth2

Python3 library for OAuth

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 10 months ago
alpine-v3.19: py3-oauth2

Python3 library for OAuth

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Last synced: 10 months ago
alpine-v3.20: py3-oauth2-pyc

Precompiled Python bytecode for py3-oauth2

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 10 months ago
alpine-v3.22: py3-oauth2

Python3 library for OAuth

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 10 months ago
alpine-v3.22: py3-oauth2-pyc

Precompiled Python bytecode for py3-oauth2

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 10 months ago
alpine-v3.21: py3-oauth2-pyc

Precompiled Python bytecode for py3-oauth2

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 10 months ago
alpine-v3.20: py3-oauth2

Python3 library for OAuth

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Average: 100%
Maintainers (1)
Last synced: 10 months ago

Dependencies

requirements.txt pypi
  • httplib2 ==0.9.1
  • mock ==1.3.0
  • pep8 ==1.6.2
  • pytest ==2.7.2
setup.py pypi
  • httplib2 *