Sat, 21 Nov 2026 00:42:32 UTC Log in
A simple, lightweight OAuth2 client 22.00 KB built 2026-10-17 13:27:29 GMT

Description

python-sanction is a lightweight, dead simple client implementation of the OAuth2 protocol. - Variations on OAuth2 client implementation range from a few hundred LOC to thousands. In a Pythonic world, there's absolutely no need for this when simply dealing with the client side of the spec. Currently, sanction sits at a whopping 65 LOC, one class. This makes the library tremendously easy to grok. - Most providers have varying levels of diversion from the official spec. The goal with this library is to either handle these diversions natively, or expose a method to allow client code to deal with it efficiently and effectively. - Three of the four OAuth2 flows should be supported by this library. Currently, only authorization code and client credential flows have been tested due to lack of other (known) implementations. sanction has been tested with the following OAuth2 providers: * Facebook (include the test API) * Google * Foursquare * bitly * GitHub * StackExchange * Instagram * DeviantArt

Dependencies

11 total
Requires6
  • python(abi) = 3.15
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PartialHardlinkSets) <= 4.0.4-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
  • python-sanction = 0.4.1-18.fc45
  • python3-sanction = 0.4.1-18.fc45
  • python3.15-sanction = 0.4.1-18.fc45
  • python3.15dist(sanction) = 0.4.1
  • python3dist(sanction) = 0.4.1
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

19
Files 1–19 of 19

Component of

buildroots that installed this RPM

No Buildroots