Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias TryExcept body ImportFrom alias alias handlers ExceptHandler type NameLoad body ImportFrom alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str Return Dict Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword Str decorator_list FunctionDef arguments args defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults Num body Expr Str Return Call AttributeLoad Str attr ListComp Call NameLoad Call AttributeLoad NameLoad attr Num Num comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults Num body Expr Str Return Call AttributeLoad Str attr ListComp Call NameLoad Call AttributeLoad NameLoad attr Num Num comprehension NameStore Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad keyword NameLoad If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num handlers ExceptHandler type NameLoad body Raise Call NameLoad Str TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Num handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list Return Call NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If CompareIsNot NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareEq NameLoad Str CompareEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num orelse If BoolOpAnd CompareEq NameLoad Str CompareEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num If CompareNotIn NameLoad TupleLoad Str Str body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore GeneratorExp TupleLoad NameLoad Call NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore GeneratorExp BinOpMod Str TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore BinOpMod Str NameLoad If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Continue If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad NameLoad NameLoad comprehension NameStore NameLoad orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr Num Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Dict If BoolOpAnd NameLoad CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Slice Num Str body Assign NameStore SubscriptLoad NameLoad Slice Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Raise Call NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body If UnaryOpNot NameLoad body Assign NameStore Dict Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body If UnaryOpNot NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareGt Call AttributeLoad NameLoad attr Str Num body Continue Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Return Dict Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad If CompareGt NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Dict Assign NameStore BoolOpAnd CompareEq NameLoad Str CompareNotEq Call AttributeLoad NameLoad attr Str NameLoad NameLoad If BoolOpAnd NameLoad CompareEq NameLoad Str UnaryOpNot NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return CompareEq NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call NameLoad AttributeLoad NameLoad attr If NameLoad body AugAssignAdd NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Slice Num decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str Call NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd NameLoad Call NameLoad AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
The MIT License

Copyright (c) 2007 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 N/A urllib N/A time N/A random N/A urlparse N/A hmac N/A binascii N/A httplib2 N/A N/A urlparse parse_qs parse_qsl N/A N/A N/A ImportError N/A cgi parse_qs parse_qsl N/A VERSION 1.0 N/A HTTP_METHOD GET N/A SIGNATURE_METHOD PLAINTEXT Error N/A RuntimeError N/A N/A Generic exception class. __init__ N/A N/A self message N/A OAuth error occured. N/A N/A N/A self _message message N/A message N/A N/A self N/A N/A N/A A hack to get around the deprecation errors in 2.6. N/A N/A self _message N/A property __str__ N/A N/A self N/A N/A N/A N/A self _message N/A N/A MissingSignature N/A Error N/A N/A N/A build_authenticate_header N/A N/A realm N/A N/A N/A Optional WWW-Authenticate header (401 error) N/A N/A WWW-Authenticate N/A OAuth realm="%s" realm N/A escape N/A N/A s N/A N/A N/A Escape a URL including any /. N/A N/A N/A urllib quote s safe ~ N/A generate_timestamp N/A N/A N/A N/A N/A Get seconds since epoch (UTC). N/A N/A int N/A N/A time time N/A generate_nonce N/A N/A length N/A 8 N/A N/A Generate pseudorandom number. N/A N/A N/A join N/A N/A str N/A N/A random randint 0 9 N/A i N/A range length N/A generate_verifier N/A N/A length N/A 8 N/A N/A Generate pseudorandom number. N/A N/A N/A join N/A N/A str N/A N/A random randint 0 9 N/A i N/A range length N/A Consumer N/A object N/A N/A A consumer of OAuth-protected services.
The OAuth consumer is a "third-party" service that wants to access
protected resources from an OAuth service provider on behalf of an end
user. It's kind of the OAuth client.
Usually a consumer must be registered with the service provider by the
developer of the consumer software. As part of that process, the service
provider gives the consumer a *key* and a *secret* with which the consumer
software can identify itself to the service. The consumer will include its
key in each request to identify itself, but will use its secret only when
signing requests, to prove that the request is from that particular
registered consumer.
Once registered, the consumer can then use its consumer credentials to ask
the service provider for a request token, kicking off the OAuth
authorization process.
 N/A key None N/A secret None __init__ N/A N/A self key secret N/A N/A N/A N/A self key key N/A N/A self secret secret N/A N/A N/A N/A self key None N/A N/A self secret None N/A N/A N/A ValueError Key and secret must be set. N/A __str__ N/A N/A self N/A N/A N/A data N/A oauth_consumer_key oauth_consumer_secret N/A self key N/A self secret N/A N/A N/A urllib urlencode data N/A N/A Token N/A object N/A N/A An OAuth credential used to request authorization or a protected
resource.
Tokens in OAuth comprise a *key* and a *secret*. The key is included in
requests to identify the token being used, but the secret is used only in
the signature, to prove that the requester is who the server gave the
token to.
When first negotiating the authorization, the consumer asks for a *request
token* that the live user authorizes with the service provider. The
consumer then exchanges the request token for an *access token* that can
be used to access protected resources.
 N/A key None N/A secret None N/A callback None N/A callback_confirmed None N/A verifier None __init__ N/A N/A self key secret N/A N/A N/A N/A self key key N/A N/A self secret secret N/A N/A N/A N/A self key None N/A N/A self secret None N/A N/A N/A ValueError Key and secret must be set. N/A set_callback N/A N/A self callback N/A N/A N/A N/A self callback callback N/A N/A self callback_confirmed true N/A set_verifier N/A N/A self verifier N/A None N/A N/A N/A verifier None N/A N/A N/A self verifier verifier N/A N/A N/A self verifier N/A generate_verifier N/A get_callback_url N/A N/A self N/A N/A N/A N/A N/A self callback N/A self verifier N/A N/A parts N/A N/A urlparse urlparse N/A self callback N/A N/A scheme netloc path params query fragment N/A parts N/A 6 N/A query N/A N/A query N/A %s&oauth_verifier=%s N/A query N/A self verifier N/A N/A query N/A oauth_verifier=%s N/A self verifier N/A N/A N/A urlparse urlunparse N/A scheme netloc path params query fragment N/A N/A self callback N/A to_string N/A N/A self N/A N/A N/A Returns this token as a plain string, suitable for storage.
The resulting string includes the token's secret, so you should never
send or store this string where a third party can read it.
 N/A data N/A oauth_token oauth_token_secret N/A self key N/A self secret N/A N/A N/A self callback_confirmed None N/A N/A N/A data N/A oauth_callback_confirmed N/A self callback_confirmed N/A N/A N/A urllib urlencode data N/A from_string N/A N/A s N/A N/A N/A Deserializes a token from a string like one returned by
`to_string()`. N/A N/A N/A len s N/A N/A N/A ValueError Invalid parameter string. N/A params N/A parse_qs s keep_blank_values False N/A N/A N/A len params N/A N/A N/A ValueError Invalid parameter string. N/A N/A N/A key N/A N/A params N/A oauth_token N/A 0 N/A N/A N/A Exception N/A N/A N/A ValueError 'oauth_token' not found in OAuth request. N/A N/A N/A secret N/A N/A params N/A oauth_token_secret N/A 0 N/A N/A N/A Exception N/A N/A N/A ValueError 'oauth_token_secret' not found in OAuth request. N/A token N/A Token key secret N/A N/A N/A N/A token callback_confirmed N/A N/A params N/A oauth_callback_confirmed N/A 0 N/A N/A N/A KeyError N/A N/A N/A token N/A staticmethod __str__ N/A N/A self N/A N/A N/A N/A N/A self to_string N/A N/A setter N/A N/A attr N/A N/A N/A name N/A attr __name__ getter N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __dict__ N/A name N/A N/A N/A KeyError N/A N/A N/A AttributeError name N/A deleter N/A N/A self N/A N/A N/A N/A N/A self __dict__ N/A name N/A N/A N/A property getter attr deleter N/A Request N/A dict N/A N/A The parameters and information for an HTTP request, suitable for
authorizing with OAuth credentials.
When a consumer wants to access a service's protected resources, it does
so using a signed HTTP request identifying itself (the consumer) with its
key, and providing an access token authorized by the end user to access
those resources.
 N/A version VERSION __init__ N/A N/A self method url parameters N/A HTTP_METHOD None None N/A N/A N/A self method method N/A N/A self url url N/A N/A parameters None N/A N/A N/A N/A self update parameters N/A url N/A N/A self value N/A N/A N/A N/A N/A self __dict__ N/A url value N/A N/A value None N/A N/A N/A scheme netloc path params query fragment N/A N/A urlparse urlparse value N/A N/A N/A scheme http N/A N/A netloc N/A -3 :80 N/A N/A netloc N/A netloc N/A -3 N/A N/A N/A N/A scheme https N/A N/A netloc N/A -4 :443 N/A N/A netloc N/A netloc N/A -4 N/A N/A scheme N/A http https N/A N/A N/A ValueError N/A Unsupported URL %s (%s). N/A value scheme N/A N/A self normalized_url N/A N/A urlparse urlunparse N/A scheme netloc path None None None N/A N/A N/A self normalized_url None N/A N/A N/A self __dict__ N/A url None N/A setter method N/A N/A self value N/A N/A N/A N/A N/A self __dict__ N/A method N/A N/A value upper N/A setter _get_timestamp_nonce N/A N/A self N/A N/A N/A N/A N/A self N/A oauth_timestamp N/A self N/A oauth_nonce N/A get_nonoauth_parameters N/A N/A self N/A N/A N/A Get any non-OAuth parameters. N/A N/A dict N/A N/A k v N/A N/A k v N/A N/A self iteritems N/A N/A N/A k startswith oauth_ N/A to_header N/A N/A self realm N/A N/A N/A Serialize as a header for an HTTPAuth request. N/A oauth_params N/A N/A k v N/A N/A k v N/A N/A self items N/A N/A k startswith oauth_ N/A stringy_params N/A N/A k N/A escape N/A str v N/A N/A k v oauth_params N/A header_params N/A N/A %s="%s" N/A k v N/A N/A k v stringy_params N/A params_header N/A N/A ,  join header_params N/A auth_header N/A OAuth realm="%s" realm N/A params_header N/A N/A auth_header N/A %s, %s N/A auth_header params_header N/A N/A Authorization auth_header N/A to_postdata N/A N/A self N/A N/A N/A Serialize as post data for a POST request. N/A N/A N/A urllib urlencode self True N/A to_url N/A N/A self N/A N/A N/A Serialize as a URL for a GET request. N/A base_url N/A N/A urlparse urlparse N/A self url N/A query N/A parse_qs N/A base_url query N/A N/A k v N/A N/A self items N/A N/A N/A N/A N/A N/A query setdefault k N/A append v N/A url N/A N/A base_url scheme N/A base_url netloc N/A base_url path N/A base_url params N/A N/A urllib urlencode query True N/A base_url fragment N/A N/A N/A urlparse urlunparse url N/A get_parameter N/A N/A self parameter N/A N/A N/A ret N/A N/A self get parameter N/A N/A ret None N/A N/A N/A Error N/A Parameter not found: %s parameter N/A ret N/A get_normalized_parameters N/A N/A self N/A N/A N/A Return a string that contains the parameters that must be signed. N/A items N/A N/A N/A key value N/A N/A self iteritems N/A N/A N/A key oauth_signature N/A N/A N/A N/A hasattr value __iter__ N/A N/A N/A N/A items extend N/A N/A key item N/A item value N/A N/A N/A N/A items append N/A key value N/A query N/A N/A N/A urlparse urlparse N/A self url N/A 4 N/A N/A N/A items extend N/A N/A N/A N/A self _split_url_string query items N/A encoded_str N/A N/A urllib urlencode N/A sorted items N/A N/A N/A encoded_str replace + %20 N/A sign_request N/A N/A self signature_method consumer token N/A N/A N/A Set the signature parameter to the result of sign. N/A N/A oauth_consumer_key self N/A N/A N/A self N/A oauth_consumer_key N/A consumer key N/A N/A token N/A oauth_token self N/A N/A N/A self N/A oauth_token N/A token key N/A N/A self N/A oauth_signature_method N/A signature_method name N/A N/A self N/A oauth_signature N/A N/A signature_method sign self consumer token N/A make_timestamp N/A N/A cls N/A N/A N/A Get seconds since epoch (UTC). N/A N/A str N/A int N/A N/A time time N/A classmethod make_nonce N/A N/A cls N/A N/A N/A Generate pseudorandom number. N/A N/A str N/A N/A random randint 0 100000000 N/A classmethod from_request N/A N/A cls http_method http_url headers parameters query_string N/A None None None N/A N/A Combines multiple parameter sources. N/A N/A parameters None N/A N/A parameters N/A N/A N/A headers N/A Authorization headers N/A N/A auth_header N/A headers N/A Authorization N/A N/A N/A auth_header N/A 6 OAuth  N/A N/A auth_header N/A auth_header N/A 6 N/A N/A N/A header_params N/A N/A cls _split_header auth_header N/A N/A N/A parameters update header_params N/A N/A N/A N/A N/A Error Unable to parse OAuth parameters from Authorization header. N/A query_string N/A N/A query_params N/A N/A cls _split_url_string query_string N/A N/A N/A parameters update query_params N/A param_str N/A N/A N/A urlparse urlparse http_url N/A 4 N/A url_params N/A N/A cls _split_url_string param_str N/A N/A N/A parameters update url_params N/A parameters N/A N/A N/A cls http_method http_url parameters N/A None N/A classmethod from_consumer_and_token N/A N/A cls consumer token http_method http_url parameters N/A None HTTP_METHOD None None N/A N/A N/A parameters N/A N/A parameters N/A N/A defaults N/A oauth_consumer_key oauth_timestamp oauth_nonce oauth_version N/A consumer key N/A N/A cls make_timestamp N/A N/A cls make_nonce N/A cls version N/A N/A N/A defaults update parameters N/A parameters defaults N/A token N/A N/A N/A parameters N/A oauth_token N/A token key N/A N/A token verifier N/A N/A N/A parameters N/A oauth_verifier N/A token verifier N/A N/A Request http_method http_url parameters N/A classmethod from_token_and_callback N/A N/A cls token callback http_method http_url parameters N/A None HTTP_METHOD None None N/A N/A N/A parameters N/A N/A parameters N/A N/A N/A parameters N/A oauth_token N/A token key N/A callback N/A N/A N/A parameters N/A oauth_callback callback N/A N/A cls http_method http_url parameters N/A classmethod _split_header N/A N/A header N/A N/A N/A Turn Authorization: header into parameters. N/A params N/A N/A parts N/A N/A header split , N/A param parts N/A N/A N/A N/A N/A param find realm -1 N/A N/A N/A param N/A N/A param strip N/A param_parts N/A N/A param split = 1 N/A N/A params N/A N/A param_parts N/A 0 N/A N/A urllib unquote N/A N/A N/A param_parts N/A 1 strip " N/A params N/A staticmethod _split_url_string N/A N/A param_str N/A N/A N/A Turn URL string into parameters. N/A parameters N/A parse_qs param_str keep_blank_values False N/A N/A k v N/A N/A parameters iteritems N/A N/A N/A parameters N/A k N/A N/A urllib unquote N/A v N/A 0 N/A parameters N/A staticmethod N/A Server N/A object N/A N/A A skeletal implementation of a service provider, providing protected
resources to requests from authorized consumers.
This class implements the logic to check requests for authorization. You
can use it with your web server or web framework to protect certain
resources with OAuth.
 N/A timestamp_threshold 300 N/A version VERSION N/A signature_methods None __init__ N/A N/A self signature_methods N/A None N/A N/A N/A self signature_methods N/A signature_methods N/A N/A add_signature_method N/A N/A self signature_method N/A N/A N/A N/A N/A self signature_methods N/A N/A signature_method name signature_method N/A N/A self signature_methods N/A verify_request N/A N/A self request consumer token N/A N/A N/A Verifies an api call and checks all the parameters. N/A version N/A N/A self _get_version request N/A N/A N/A self _check_signature request consumer token N/A parameters N/A N/A request get_nonoauth_parameters N/A parameters N/A build_authenticate_header N/A N/A self realm N/A N/A N/A Optional support for the authenticate header. N/A N/A WWW-Authenticate N/A OAuth realm="%s" realm N/A _get_version N/A N/A self request N/A N/A N/A Verify the correct version request for this server. N/A N/A N/A version N/A N/A request get_parameter oauth_version N/A N/A N/A N/A version VERSION N/A N/A version N/A version N/A self version N/A N/A N/A Error N/A OAuth version %s not supported. N/A str version N/A version N/A _get_signature_method N/A N/A self request N/A N/A N/A Figure out the signature with some defaults. N/A N/A N/A signature_method N/A N/A request get_parameter oauth_signature_method N/A N/A N/A N/A signature_method SIGNATURE_METHOD N/A N/A N/A signature_method N/A N/A self signature_methods N/A signature_method N/A N/A N/A N/A signature_method_names N/A N/A ,  join N/A N/A N/A self signature_methods keys N/A N/A Error N/A Signature method %s not supported try one of the following: %s N/A signature_method signature_method_names N/A signature_method N/A _get_verifier N/A N/A self request N/A N/A N/A N/A N/A request get_parameter oauth_verifier N/A _check_signature N/A N/A self request consumer token N/A N/A N/A N/A timestamp nonce N/A N/A request _get_timestamp_nonce N/A N/A N/A self _check_timestamp timestamp N/A signature_method N/A N/A self _get_signature_method request N/A N/A N/A signature N/A N/A request get_parameter oauth_signature N/A N/A N/A N/A N/A MissingSignature Missing oauth_signature. N/A valid N/A N/A signature_method check request consumer token signature N/A N/A valid N/A N/A N/A key base N/A N/A signature_method signing_base request consumer token N/A N/A Error N/A Invalid signature. Expected signature base string: %s base N/A built N/A N/A signature_method sign request consumer token N/A _check_timestamp N/A N/A self timestamp N/A N/A N/A Verify that timestamp is recentish. N/A timestamp N/A int timestamp N/A now N/A int N/A N/A time time N/A lapsed N/A now timestamp N/A N/A lapsed N/A self timestamp_threshold N/A N/A N/A Error N/A Expired timestamp: given %d and now %s has a greater difference than threshold %d N/A timestamp now N/A self timestamp_threshold N/A N/A Client N/A N/A httplib2 Http N/A N/A OAuthClient is a worker to attempt to execute a request. __init__ N/A N/A self consumer token cache timeout proxy_info N/A None None None None N/A N/A N/A N/A consumer None N/A N/A isinstance consumer Consumer N/A N/A N/A ValueError Invalid consumer. N/A N/A N/A token None N/A N/A isinstance token Token N/A N/A N/A ValueError Invalid token. N/A N/A self consumer consumer N/A N/A self token token N/A N/A self method N/A SignatureMethod_HMAC_SHA1 N/A N/A N/A N/A httplib2 Http __init__ self cache cache timeout timeout proxy_info proxy_info N/A set_signature_method N/A N/A self method N/A N/A N/A N/A N/A isinstance method SignatureMethod N/A N/A N/A ValueError Invalid signature method. N/A N/A self method method N/A request N/A N/A self uri method body headers redirections connection_type N/A GET None None N/A httplib2 DEFAULT_MAX_REDIRECTS None N/A N/A DEFAULT_CONTENT_TYPE application/x-www-form-urlencoded N/A N/A N/A isinstance headers dict N/A N/A headers N/A N/A is_multipart N/A N/A method POST N/A N/A N/A headers get Content-Type DEFAULT_CONTENT_TYPE DEFAULT_CONTENT_TYPE N/A N/A body N/A method POST N/A is_multipart N/A N/A parameters N/A dict N/A parse_qsl body N/A N/A parameters None N/A req N/A N/A Request from_consumer_and_token N/A self consumer token N/A self token http_method method http_url uri parameters parameters N/A N/A N/A req sign_request N/A self method N/A self consumer N/A self token N/A N/A method POST N/A N/A N/A headers N/A Content-Type N/A N/A headers get Content-Type DEFAULT_CONTENT_TYPE N/A is_multipart N/A N/A N/A N/A headers update N/A N/A req to_header N/A N/A body N/A N/A req to_postdata N/A N/A N/A method GET N/A N/A uri N/A N/A req to_url N/A N/A N/A N/A headers update N/A N/A req to_header N/A N/A N/A N/A httplib2 Http request self uri method method body body headers headers redirections redirections connection_type connection_type N/A N/A SignatureMethod N/A object N/A N/A A way of signing requests.
The OAuth protocol lets consumers and service providers pick a way to sign
requests. This interface shows the methods expected by the other `oauth`
modules for signing requests. Subclass it and implement its methods to
provide a new way to sign requests.
 signing_base N/A N/A self request consumer token N/A N/A N/A Calculates the string that needs to be signed.

This method returns a 2-tuple containing the starting key for the
signing and the message to be signed. The latter may be used in error
messages to help clients debug their software.

 N/A NotImplementedError N/A sign N/A N/A self request consumer token N/A N/A N/A Returns the signature for the given request, based on the consumer
and token also provided.

You should use your implementation of `signing_base()` to build the
message to sign. Otherwise it may be less useful for debugging.

 N/A NotImplementedError N/A check N/A N/A self request consumer token signature N/A N/A N/A Returns whether the given signature is the correct signature for
the given consumer and token signing the given request. N/A built N/A N/A self sign request consumer token N/A N/A built signature N/A N/A SignatureMethod_HMAC_SHA1 N/A SignatureMethod N/A N/A name HMAC-SHA1 signing_base N/A N/A self request consumer token N/A N/A N/A sig N/A N/A escape N/A request method N/A escape N/A request normalized_url N/A escape N/A N/A request get_normalized_parameters N/A key N/A %s& N/A escape N/A consumer secret N/A token N/A N/A key N/A escape N/A token secret N/A raw N/A N/A & join sig N/A N/A key raw N/A sign N/A N/A self request consumer token N/A N/A N/A Builds the base signature string. N/A N/A key raw N/A N/A self signing_base request consumer token N/A N/A hashlib sha1 sha N/A N/A N/A ImportError N/A N/A sha N/A hashed N/A N/A hmac new key raw sha N/A N/A N/A N/A binascii b2a_base64 N/A N/A hashed digest N/A -1 N/A N/A SignatureMethod_PLAINTEXT N/A SignatureMethod N/A N/A name PLAINTEXT signing_base N/A N/A self request consumer token N/A N/A N/A Concatenates the consumer key and secret with the token's
        secret. N/A sig N/A %s& N/A escape N/A consumer secret N/A token N/A N/A sig N/A sig N/A escape N/A token secret N/A N/A sig sig N/A sign N/A N/A self request consumer token N/A N/A N/A N/A key raw N/A N/A self signing_base request consumer token N/A raw N/A N/A