|
Orbits
1
|
Public Member Functions | |
| def | __init__ |
| def | __str__ |
| def | __repr__ |
| def | load |
| def | require |
| def | parse |
| def | parse_group |
| def | parse_map |
Public Attributes | |
| name | |
| module_name | |
| attrs | |
| extras | |
| dist | |
Object representing an advertised importable object
| def pkg_resources.EntryPoint.__init__ | ( | self, | |
| name, | |||
| module_name, | |||
attrs = (), |
|||
extras = (), |
|||
dist = None |
|||
| ) |
| def pkg_resources.EntryPoint.__repr__ | ( | self | ) |
| def pkg_resources.EntryPoint.__str__ | ( | self | ) |
| def pkg_resources.EntryPoint.load | ( | self, | |
require = True, |
|||
env = None, |
|||
installer = None |
|||
| ) |
| def pkg_resources.EntryPoint.parse | ( | cls, | |
| src, | |||
dist = None |
|||
| ) |
Parse a single entry point from string `src`
Entry point syntax follows the form::
name = some.module:some.attr [extra1, extra2]
The entry name and module name are required, but the ``:attrs`` and
``[extras]`` parts are optional
| def pkg_resources.EntryPoint.parse_group | ( | cls, | |
| group, | |||
| lines, | |||
dist = None |
|||
| ) |
Parse an entry point group
| def pkg_resources.EntryPoint.parse_map | ( | cls, | |
| data, | |||
dist = None |
|||
| ) |
Parse a map of entry point groups
| def pkg_resources.EntryPoint.require | ( | self, | |
env = None, |
|||
installer = None |
|||
| ) |
| pkg_resources.EntryPoint.attrs |
| pkg_resources.EntryPoint.dist |
| pkg_resources.EntryPoint.extras |
| pkg_resources.EntryPoint.module_name |
| pkg_resources.EntryPoint.name |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.