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

oauthlib

by csch0 ST2/ST3 Removed Trending

"oauthlib" module as a Package Control dependency

Details

Installs

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

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.