Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpMod Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareNotEq Call NameLoad NameLoad Num body Raise NameLoad If CompareNotEq SubscriptLoad NameLoad Index Num Str body Raise NameLoad TryExcept body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Raise NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TupleLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad Num Num body For NameStore NameLoad body Expr Yield BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad orelse Expr Yield NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Str attr Call NameLoad NameLoad SubscriptLoad NameLoad Slice Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad If BoolOpAnd CompareEq NameLoad Str BoolOpOr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr ListLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad If Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num Num Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body For NameStore NameLoad body Expr Yield TupleLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad For NameStore BinOpAdd NameLoad ListLoad Str body For NameStore TupleLoad Str NameLoad body Expr Yield TupleLoad BinOpMod Str TupleLoad NameLoad NameLoad Str NameLoad For NameStore NameLoad body Expr Yield TupleLoad BinOpMod Str TupleLoad NameLoad NameLoad Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Call NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Yield NameLoad decorator_list NameLoad decorator_list
N/A N/A PEP425 handling for pex

PEP425 (http://legacy.python.org/dev/peps/pep-0425/) describes a tagging system used to determine
whether or not a distribution's platform is compatible with the current platform.  It is the
tagging system used to describe platform compatibility for wheel files.
 pkg_resources get_supported_platform platforms Platform PEP425Extras N/A object N/A N/A Extensions to platform handling beyond PEP425. is_macosx_platform N/A N/A cls platform N/A N/A N/A N/A N/A platform startswith macosx N/A classmethod parse_macosx_tag N/A N/A cls platform_tag N/A N/A N/A invalid_tag N/A ValueError N/A invalid macosx tag: %s platform_tag N/A N/A N/A N/A cls is_macosx_platform platform_tag N/A N/A invalid_tag N/A segments N/A N/A platform_tag split _ 3 N/A N/A N/A len segments 4 N/A N/A invalid_tag N/A N/A N/A segments N/A 0 macosx N/A N/A invalid_tag N/A N/A N/A N/A major minor N/A N/A int N/A segments N/A 1 N/A int N/A segments N/A 2 N/A platform N/A segments N/A 3 N/A N/A N/A ValueError N/A N/A invalid_tag N/A N/A major minor platform N/A classmethod iter_compatible_osx_platforms N/A N/A cls supported_platform N/A N/A N/A N/A platform_major platform_minor platform N/A N/A cls parse_macosx_tag supported_platform N/A platform_equivalents N/A set N/A N/A N/A Platform MACOSX_PLATFORM_COMPATIBILITY get platform N/A N/A N/A N/A platform_equivalents add platform N/A minor N/A range platform_minor -1 -1 N/A N/A binary_compat platform_equivalents N/A N/A N/A N/A macosx_%s_%s_%s N/A platform_major minor binary_compat N/A classmethod platform_iterator N/A N/A cls platform N/A N/A N/A Iterate over all compatible platform tags of a supplied platform tag.

       :param platform: the platform tag to iterate over
     N/A N/A N/A cls is_macosx_platform platform N/A N/A plat N/A N/A cls iter_compatible_osx_platforms platform N/A N/A N/A plat N/A N/A N/A platform N/A classmethod N/A PEP425 N/A object N/A N/A INTERPRETER_TAGS N/A CPython Jython PyPy IronPython cp jy pp ip get_implementation_tag N/A N/A cls interpreter_subversion N/A N/A N/A N/A N/A N/A cls INTERPRETER_TAGS get interpreter_subversion N/A classmethod get_version_tag N/A N/A cls interpreter_version N/A N/A N/A N/A N/A join N/A map str N/A interpreter_version N/A 2 N/A classmethod translate_platform_to_tag N/A N/A cls platform N/A N/A N/A N/A N/A N/A N/A platform replace . _ replace - _ N/A classmethod get_platform_tag N/A N/A cls N/A N/A N/A N/A N/A cls translate_platform_to_tag N/A get_supported_platform N/A classmethod _iter_supported_tags N/A N/A cls impl version platform N/A N/A N/A Given a set of tags, iterate over supported tags.

    :param impl: Python implementation tag e.g. cp, jy, pp.
    :param version: E.g. '26', '33'
    :param platform: Platform as from :function:`pkg_resources.get_supported_platform`,
    for example 'linux-x86_64' or 'macosx-10.4-x86_64'.
    :returns: Iterator over (pyver, abi, platform) tuples.
     N/A abis N/A N/A N/A N/A impl cp N/A N/A N/A version startswith 2 N/A N/A version startswith 3 N/A N/A N/A N/A abis extend N/A N/A cp%s version N/A cp%sdmu version N/A cp%sdm version N/A cp%sdu version N/A cp%sd version N/A cp%smu version N/A cp%sm version N/A cp%su version N/A N/A N/A version startswith 3 N/A N/A N/A N/A abis extend N/A abi3 N/A major_version N/A int N/A version N/A 0 N/A minor_versions N/A N/A minor N/A range N/A int N/A version N/A 1 -1 -1 N/A N/A N/A N/A minor_versions append N/A %d%d N/A major_version minor N/A platforms N/A list N/A N/A PEP425Extras platform_iterator N/A N/A cls translate_platform_to_tag platform N/A p platforms N/A N/A abi abis N/A N/A N/A N/A N/A %s%s N/A impl version abi p N/A p N/A platforms N/A any N/A N/A i N/A py impl N/A N/A N/A N/A N/A %s%d N/A i major_version none p N/A minor_version minor_versions N/A N/A N/A N/A N/A %s%s N/A i minor_version none p N/A classmethod iter_supported_tags N/A N/A cls identity platform N/A N/A get_supported_platform N/A N/A Iterate over the supported tag tuples of this interpreter.

    :param identity: python interpreter identity over which tags should iterate.
    :type identity: :class:`PythonIdentity`
    :param platform: python platform over which tags should iterate, by default the current
                     platform.
    :returns: Iterator over valid PEP425 tag tuples.
     N/A impl_tag N/A N/A cls get_implementation_tag N/A identity interpreter N/A vers_tag N/A N/A cls get_version_tag N/A identity version N/A tag_iterator N/A N/A cls _iter_supported_tags impl_tag vers_tag platform N/A tag tag_iterator N/A N/A N/A tag N/A classmethod N/A