ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

oauthlib

by csch0 ST2/ST3 Removed

"oauthlib" module as a Package Control dependency

Details

Installs

  • Total 54K
  • Win 20K
  • OS X 21K
  • Linux 13K
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 0 17 15 6 15 12 16 17 15 12 17 13 19 19 19 21 18 16 13 20 18 17 19 15 20 13 18 29 30 9 12 33 17 23 15 20 14 12 24 17 12 16 28 13 12 12
OS X 2 10 15 8 8 12 19 10 16 13 10 10 9 5 15 12 8 5 6 12 12 12 7 7 12 10 9 19 11 12 12 9 12 8 18 9 17 9 9 18 13 13 16 17 8 18
Linux 0 8 2 9 7 13 6 7 10 5 6 7 11 11 3 6 5 7 7 16 8 12 6 1 7 6 11 10 10 13 6 10 4 10 5 10 19 10 5 6 7 7 6 10 9 5

Readme

Source
raw.​githubusercontent.​com

OAuthlib for Package Control

Build Status

This is the oauthlib module bundled for usage with Package Control, a package manager for the Sublime Text text editor.

this repo pypi
latest tag pypi

How to use requests as a dependency

In order to tell Package Control that you are using the requests module in your ST package, create a dependencies.json file in your package root with the following contents:

{
   "*": {
      "*": [
         "oauthlib"
      ]
   }
}

If the file exists already, add "oauthlib" to the every dependency list.

Then run the Package Control: Satisfy Dependencies command to make Package Control install the module for you locally (if you don't have it already).

After all this you can use import oauthlib in any of your Python plugins.

See also: Documentation on Dependencies

How to update this repository (for contributors)

  1. Download the latest tarball from pypi.
  2. Delete everything inside the all/ folder.
  3. Copy the oauthlib/ folder, and everything related to copyright/licensing from the tarball to the all/ folder.
  4. Commit changes and either create a pull request or create a tag directly in the format v<version> (in case you have push access).

The reason why loader.py exists is because Package Control 3.0.0 does not yet allow the same code base for both ST2 and ST3 (see wbond/package_control#818).

License

The contents of the root folder in this repository are released under the public domain. The contents of the all/ folder fall under their own bundled licenses.