arcrest.packages package¶
Subpackages¶
Submodules¶
arcrest.packages.six module¶
Utilities for writing code that runs on Python 2 and 3
-
class
arcrest.packages.six.
Module_six_moves_urllib
[source]¶ Bases:
module
Create a six.moves.urllib namespace that resembles the Python 3 namespace
-
error
= <module 'arcrest.packages.six.moves.urllib.error' (built-in)>¶
-
parse
= <module 'arcrest.packages.six.moves.urllib_parse' (built-in)>¶
-
request
= <module 'arcrest.packages.six.moves.urllib.request' (built-in)>¶
-
response
= <module 'arcrest.packages.six.moves.urllib.response' (built-in)>¶
-
robotparser
= <module 'arcrest.packages.six.moves.urllib.robotparser' (built-in)>¶
-
-
class
arcrest.packages.six.
Module_six_moves_urllib_error
(name)[source]¶ Bases:
arcrest.packages.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_error
-
class
arcrest.packages.six.
Module_six_moves_urllib_parse
(name)[source]¶ Bases:
arcrest.packages.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_parse
-
class
arcrest.packages.six.
Module_six_moves_urllib_request
(name)[source]¶ Bases:
arcrest.packages.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_request
-
class
arcrest.packages.six.
Module_six_moves_urllib_response
(name)[source]¶ Bases:
arcrest.packages.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_response
-
class
arcrest.packages.six.
Module_six_moves_urllib_robotparser
(name)[source]¶ Bases:
arcrest.packages.six._LazyModule
Lazy loading of moved objects in six.moves.urllib_robotparser
-
class
arcrest.packages.six.
MovedAttribute
(name, old_mod, new_mod, old_attr=None, new_attr=None)[source]¶ Bases:
arcrest.packages.six._LazyDescr
-
class
arcrest.packages.six.
MovedModule
(name, old, new=None)[source]¶ Bases:
arcrest.packages.six._LazyDescr
-
arcrest.packages.six.
add_metaclass
(metaclass)[source]¶ Class decorator for creating a class with a metaclass.
-
arcrest.packages.six.
get_unbound_function
(unbound)[source]¶ Get the function out of a possibly unbound function
-
arcrest.packages.six.
iteritems
(d, **kw)[source]¶ Return an iterator over the (key, value) pairs of a dictionary.
-
arcrest.packages.six.
iterlists
(d, **kw)[source]¶ Return an iterator over the (key, [values]) pairs of a dictionary.
-
arcrest.packages.six.
itervalues
(d, **kw)[source]¶ Return an iterator over the values of a dictionary.