Module ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias Import alias Import alias TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameStore NameLoad If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias ImportFrom alias orelse ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Dict NameLoad NameLoad Dict Str NameLoad Dict Str Str Num NameLoad FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Call AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Yield Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body With Call NameLoad NameLoad Str NameStore body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body If Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad orelse If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Str If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Num kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareGtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Index Num Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A __future__ absolute_import print_function unicode_literals division collections defaultdict io BytesIO N/A os N/A sys N/A N/A N/A unicode N/A N/A N/A NameError N/A N/A basestring unicode str N/A N/A N/A N/A sys version_info N/A 0 3 N/A urllib2 urlopen urlparse urlparse N/A urllib.request urlopen urllib.parse urlparse N/A re N/A time sc2reader utils sc2reader log_utils sc2reader.resources Resource Replay Map GameSummary Localization SC2Factory N/A object N/A N/A The SC2Factory class acts as a generic loader interface for all
    available to sc2reader resources. At current time this includes
    :class:`~sc2reader.resources.Replay` and :class:`~sc2reader.resources.Map` resources. These resources can be
    loaded in both singular and plural contexts with:

        * :meth:`load_replay` - :class:`Replay`
        * :meth:`load_replays` - generator<:class:`Replay`>
        * :meth:`load_map` - :class:`Map`
        * :meth:`load_maps` - : generator<:class:`Map`>

    The load behavior can be configured in three ways:

        * Passing options to the factory constructor
        * Using the :meth:`configure` method of a factory instance
        * Passing overried options into the load method

    See the :meth:`configure` method for more details on configuration
    options.

    Resources can be loaded in the singular context from the following inputs:

    * URLs - Uses the built-in package ``urllib``
    * File path - Uses the built-in method ``open``
    * File-like object - Must implement ``.read()``
    * DepotFiles - Describes remote Battle.net depot resources

    In the plural context the following inputs are acceptable:

    * An iterable of the above inputs
    * Directory path - Uses :meth:`~sc2reader.utils.get_files` with the appropriate extension to fine files.

     N/A _resource_name_map N/A dict replay Replay map Map N/A default_options N/A Resource Replay N/A debug False N/A load_level load_map 4 False __init__ N/A N/A self N/A options N/A N/A N/A self plugins N/A list N/A N/A self options N/A defaultdict dict N/A N/A cls options N/A N/A N/A self default_options items N/A N/A N/A N/A self options N/A cls N/A N/A options copy N/A N/A N/A self configure options N/A load_replay N/A N/A self source options N/A None new_options N/A N/A Loads a single sc2replay file. Accepts file path, url, or file object. N/A N/A N/A self load Replay source options new_options N/A load_replays N/A N/A self sources options N/A None new_options N/A N/A Loads a collection of sc2replay files, returns a generator. N/A N/A N/A self load_all Replay sources options extension SC2Replay new_options N/A load_localization N/A N/A self source options N/A None new_options N/A N/A Loads a single s2ml file. Accepts file path, url, or file object. N/A N/A N/A self load Localization source options new_options N/A load_localizations N/A N/A self sources options N/A None new_options N/A N/A Loads a collection of s2ml files, returns a generator. N/A N/A N/A self load_all Localization sources options extension s2ml new_options N/A load_map N/A N/A self source options N/A None new_options N/A N/A Loads a single s2ma file. Accepts file path, url, or file object. N/A N/A N/A self load Map source options new_options N/A load_maps N/A N/A self sources options N/A None new_options N/A N/A Loads a collection of s2ma files, returns a generator. N/A N/A N/A self load_all Map sources options extension s2ma new_options N/A load_game_summary N/A N/A self source options N/A None new_options N/A N/A Loads a single s2gs file. Accepts file path, url, or file object. N/A N/A N/A self load GameSummary source options new_options N/A load_game_summaries N/A N/A self sources options N/A None new_options N/A N/A Loads a collection of s2gs files, returns a generator. N/A N/A N/A self load_all GameSummary sources options extension s2gs new_options N/A configure N/A N/A self cls N/A None options N/A N/A  Configures the factory to use the supplied options. If cls is specified
            the options will only be applied when loading that class N/A N/A isinstance cls basestring N/A N/A cls N/A N/A N/A self _resource_name_map get N/A N/A N/A cls lower N/A cls N/A cls Resource N/A N/A N/A N/A N/A self options N/A cls update options N/A reset N/A N/A self N/A N/A N/A Resets the options to factory defaults N/A N/A self options N/A defaultdict dict N/A register_plugin N/A N/A self cls plugin N/A N/A N/A Registers the given Plugin to be run on classes of the supplied name. N/A N/A isinstance cls basestring N/A N/A cls N/A N/A N/A self _resource_name_map get N/A N/A cls lower Resource N/A N/A N/A N/A self plugins append N/A cls plugin N/A load N/A N/A self cls source options N/A None new_options N/A N/A options N/A options N/A N/A self _get_options cls new_options N/A N/A resource filename N/A N/A self _load_resource source options options N/A N/A N/A self _load cls resource filename filename options options N/A load_all N/A N/A self cls sources options N/A None new_options N/A N/A options N/A options N/A N/A self _get_options cls new_options N/A N/A resource filename N/A N/A self _load_resources sources options options N/A N/A N/A N/A N/A self _load cls resource filename filename options options N/A _load N/A N/A self cls resource filename options N/A N/A N/A obj N/A cls resource filename filename factory self options N/A plugin N/A N/A options get plugins N/A N/A self _get_plugins cls N/A N/A obj N/A plugin obj N/A obj N/A _get_plugins N/A N/A self cls N/A N/A N/A plugins N/A list N/A N/A ext_cls plugin N/A self plugins N/A N/A N/A issubclass cls ext_cls N/A N/A N/A N/A plugins append plugin N/A plugins N/A _get_options N/A N/A self cls N/A new_options N/A N/A options N/A dict N/A N/A opt_cls cls_options N/A N/A N/A self options items N/A N/A N/A issubclass cls opt_cls N/A N/A N/A N/A options update cls_options N/A N/A N/A options update new_options N/A options N/A _load_resources N/A N/A self resources options N/A None new_options N/A N/A Collections of resources or a path to a directory N/A options N/A options N/A N/A self _get_options Resource new_options N/A N/A isinstance resources basestring N/A N/A resources N/A N/A utils get_files resources options N/A resource resources N/A N/A N/A N/A N/A self _load_resource resource options options N/A load_remote_resource_contents N/A N/A self resource N/A options N/A N/A N/A N/A N/A self logger info N/A Fetching remote resource:  resource N/A N/A N/A N/A urlopen resource read N/A load_local_resource_contents N/A N/A self location N/A options N/A N/A N/A open location rb resource_file N/A N/A N/A N/A resource_file read N/A _load_resource N/A N/A self resource options N/A None new_options N/A N/A http links, filesystem locations, and file-like objects N/A options N/A options N/A N/A self _get_options Resource new_options N/A N/A isinstance resource N/A utils DepotFile N/A N/A resource N/A resource url N/A N/A isinstance resource basestring N/A N/A N/A N/A re match https?:// resource N/A N/A contents N/A N/A self load_remote_resource_contents resource options N/A N/A directory N/A N/A options get directory N/A location N/A N/A N/A os path join directory resource N/A contents N/A N/A self load_local_resource_contents location options N/A resource_name resource N/A resource N/A BytesIO contents N/A N/A N/A N/A hasattr resource seek N/A N/A resource N/A BytesIO N/A N/A resource read N/A resource_name N/A getattr resource name Unknown N/A N/A N/A options get verbose None N/A N/A N/A print resource_name N/A N/A resource resource_name N/A N/A N/A log_utils loggable CachedSC2Factory N/A SC2Factory N/A get_remote_cache_key N/A N/A self remote_resource N/A N/A N/A parseresult N/A urlparse remote_resource N/A bucket N/A N/A re sub :.* N/A parseresult netloc N/A key N/A N/A N/A parseresult path strip / N/A N/A bucket key N/A load_remote_resource_contents N/A N/A self remote_resource N/A options N/A N/A cache_key N/A N/A self get_remote_cache_key remote_resource N/A N/A N/A N/A self cache_has cache_key N/A N/A resource N/A N/A N/A super CachedSC2Factory self load_remote_resource_contents remote_resource options N/A N/A N/A self cache_set cache_key resource N/A N/A resource N/A N/A self cache_get cache_key N/A resource N/A cache_has N/A N/A self cache_key N/A N/A N/A N/A NotImplemented N/A cache_get N/A N/A self cache_key N/A N/A N/A N/A NotImplemented N/A cache_set N/A N/A self cache_key value N/A N/A N/A N/A NotImplemented N/A N/A FileCachedSC2Factory N/A CachedSC2Factory N/A N/A 
    :param cache_dir: Local directory to cache files in.

    Extends :class:`SC2Factory`.

    Caches remote depot resources on the file system in the ``cache_dir``.
     __init__ N/A N/A self cache_dir N/A options N/A N/A N/A N/A N/A super FileCachedSC2Factory self __init__ options N/A N/A self cache_dir N/A N/A N/A os path abspath cache_dir N/A N/A N/A N/A N/A os path isdir N/A self cache_dir N/A N/A N/A ValueError N/A N/A cache_dir ({0}) must be an existing directory. format N/A self cache_dir N/A N/A N/A N/A N/A os access N/A self cache_dir N/A N/A N/A os F_OK N/A os W_OK N/A os R_OK N/A N/A N/A ValueError N/A N/A Must have read/write access to {0} for local file caching. format N/A self cache_dir N/A cache_has N/A N/A self cache_key N/A N/A N/A N/A N/A N/A os path exists N/A N/A self cache_path cache_key N/A cache_get N/A N/A self cache_key N/A options N/A N/A N/A N/A self load_local_resource_contents N/A N/A self cache_path cache_key options N/A cache_set N/A N/A self cache_key value N/A N/A N/A cache_path N/A N/A self cache_path cache_key N/A bucket_dir N/A N/A N/A os path dirname cache_path N/A N/A N/A N/A N/A os path exists bucket_dir N/A N/A N/A N/A os makedirs bucket_dir N/A N/A open cache_path wb out N/A N/A N/A N/A out write value N/A cache_path N/A N/A self cache_key N/A N/A N/A N/A N/A N/A os path join N/A self cache_dir cache_key N/A N/A DictCachedSC2Factory N/A CachedSC2Factory N/A N/A 
    :param cache_max_size: The max number of cache entries to hold in memory.

    Extends :class:`SC2Factory`.

    Caches remote depot resources in memory. Does not write to the file system.
    The cache is effectively cleared when the process exits.
     __init__ N/A N/A self cache_max_size N/A 0 options N/A N/A N/A N/A N/A super DictCachedSC2Factory self __init__ options N/A N/A self cache_dict N/A dict N/A N/A self cache_used N/A dict N/A N/A self cache_max_size cache_max_size N/A cache_set N/A N/A self cache_key value N/A N/A N/A N/A N/A self cache_max_size N/A N/A len N/A self cache_dict N/A self cache_max_size N/A N/A oldest_cache_key N/A N/A min N/A N/A N/A self cache_used items key N/A N/A N/A e N/A N/A e N/A 1 N/A 0 N/A N/A N/A self cache_used N/A oldest_cache_key N/A N/A N/A self cache_dict N/A oldest_cache_key N/A N/A N/A self cache_dict N/A cache_key value N/A N/A N/A self cache_used N/A cache_key N/A N/A time time N/A cache_get N/A N/A self cache_key N/A N/A N/A N/A N/A self cache_used N/A cache_key N/A N/A time time N/A N/A N/A self cache_dict N/A cache_key N/A cache_has N/A N/A self cache_key N/A N/A N/A N/A cache_key N/A self cache_dict N/A N/A DoubleCachedSC2Factory N/A DictCachedSC2Factory FileCachedSC2Factory N/A N/A 
    :param cache_dir: Local directory to cache files in.
    :param cache_max_size: The max number of cache entries to hold in memory.

    Extends :class:`SC2Factory`.

    Caches remote depot resources to the file system AND holds a subset of them
    in memory for more efficient access.
     __init__ N/A N/A self cache_dir cache_max_size N/A 0 options N/A N/A N/A N/A N/A super DoubleCachedSC2Factory self __init__ cache_max_size cache_dir cache_dir options N/A load_remote_resource_contents N/A N/A self remote_resource N/A options N/A N/A cache_key N/A N/A self get_remote_cache_key remote_resource N/A N/A N/A DictCachedSC2Factory cache_has self cache_key N/A N/A N/A N/A DictCachedSC2Factory cache_get self cache_key N/A N/A N/A N/A FileCachedSC2Factory cache_has self cache_key N/A N/A resource N/A N/A SC2Factory load_remote_resource_contents self remote_resource options N/A N/A N/A FileCachedSC2Factory cache_set self cache_key resource N/A N/A resource N/A N/A FileCachedSC2Factory cache_get self cache_key N/A N/A N/A DictCachedSC2Factory cache_set self cache_key resource N/A resource N/A N/A