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