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 57K
  • Win 21K
  • OS X 22K
  • Linux 14K
Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6
Windows 10 7 11 14 13 14 17 15 15 17 9 17 9 10 9 7 8 12 10 10 12 8 6 14 16 8 17 9 7 8 11 12 10 18 6 13 15 23 5 11 6 16 15 6 8 9
OS X 11 11 10 13 8 14 24 10 10 7 8 12 11 10 4 9 12 7 12 5 16 7 3 16 8 11 12 8 9 2 7 14 10 9 11 8 3 6 14 9 10 13 6 5 5 4
Linux 3 7 4 13 3 7 8 3 8 8 9 8 7 12 1 4 7 8 7 9 5 2 8 8 12 5 8 9 6 3 6 8 9 6 8 13 5 4 4 9 5 9 9 7 7 8

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.