|
Let us walk on the 3-isogeny graph
|


Public Member Functions | |
| __init__ (self, location=None, metadata=None, project_name=None, version=None, py_version=PY_MAJOR, platform=None, precedence=EGG_DIST) | |
| from_location (cls, location, basename, metadata=None, **kw) | |
| hashcmp (self) | |
| __hash__ (self) | |
| __lt__ (self, other) | |
| __le__ (self, other) | |
| __gt__ (self, other) | |
| __ge__ (self, other) | |
| __eq__ (self, other) | |
| __ne__ (self, other) | |
| key (self) | |
| parsed_version (self) | |
| version (self) | |
| requires (self, extras=()) | |
| activate (self, path=None, replace=False) | |
| egg_name (self) | |
| __repr__ (self) | |
| __str__ (self) | |
| __getattr__ (self, attr) | |
| __dir__ (self) | |
| from_filename (cls, filename, metadata=None, **kw) | |
| as_requirement (self) | |
| load_entry_point (self, group, name) | |
| get_entry_map (self, group=None) | |
| get_entry_info (self, group, name) | |
| insert_on (self, path, loc=None, replace=False) | |
| check_version_conflict (self) | |
| has_version (self) | |
| clone (self, **kw) | |
| extras (self) | |
Data Fields | |
| project_name | |
| py_version | |
| platform | |
| location | |
| precedence | |
| key | |
| hashcmp | |
| PKG_INFO | |
| version | |
| parsed_version | |
Static Public Attributes | |
| str | PKG_INFO = 'PKG-INFO' |
Protected Member Functions | |
| _reload_version (self) | |
| _forgiving_parsed_version (self) | |
| _dep_map (self) | |
| _build_dep_map (self) | |
| _get_metadata_path_for_display (self, name) | |
| _get_metadata (self, name) | |
| _get_version (self) | |
Static Protected Member Functions | |
| _filter_extras (dm) | |
Protected Attributes | |
| _version | |
| _provider | |
| _forgiving_parsed_version | |
| _key | |
| _parsed_version | |
Wrap an actual or potential sys.path entry w/metadata
Definition at line 2629 of file __init__.py.
| __init__ | ( | self, | |
location = None, |
|||
metadata = None, |
|||
project_name = None, |
|||
version = None, |
|||
py_version = PY_MAJOR, |
|||
platform = None, |
|||
precedence = EGG_DIST |
|||
| ) |
Definition at line 2634 of file __init__.py.
Referenced by Protocol.__init_subclass__().

| __dir__ | ( | self | ) |
Definition at line 2905 of file __init__.py.
| __eq__ | ( | self, | |
| other | |||
| ) |
Definition at line 2704 of file __init__.py.
Referenced by Version.__ge__(), Version.__gt__(), Version.__le__(), Version.__ne__(), Matcher.__ne__(), Timestamp.__ne__(), and HTTPHeaderDict.__ne__().

| __ge__ | ( | self, | |
| other | |||
| ) |
Definition at line 2701 of file __init__.py.
| __getattr__ | ( | self, | |
| attr | |||
| ) |
Delegate all unrecognized public attributes to .metadata provider
Definition at line 2899 of file __init__.py.
| __gt__ | ( | self, | |
| other | |||
| ) |
Definition at line 2698 of file __init__.py.
Referenced by Version.__ge__().

| __hash__ | ( | self | ) |
Definition at line 2689 of file __init__.py.
Referenced by Style.__eq__(), and Style.__ne__().

| __le__ | ( | self, | |
| other | |||
| ) |
Definition at line 2695 of file __init__.py.
| __lt__ | ( | self, | |
| other | |||
| ) |
Definition at line 2692 of file __init__.py.
Referenced by Version.__gt__(), and Version.__le__().

| __ne__ | ( | self, | |
| other | |||
| ) |
Definition at line 2710 of file __init__.py.
| __repr__ | ( | self | ) |
Definition at line 2885 of file __init__.py.
| __str__ | ( | self | ) |
Definition at line 2891 of file __init__.py.
|
protected |
Definition at line 2813 of file __init__.py.
|
protected |
A map of extra to its list of (direct) requirements for this distribution, including the null extra.
Reimplemented in DistInfoDistribution.
Definition at line 2781 of file __init__.py.
|
staticprotected |
Given a mapping of extras to dependencies, strip off environment markers and filter out any dependencies not matching the markers.
Definition at line 2793 of file __init__.py.
|
protected |
Definition at line 2740 of file __init__.py.
|
protected |
Definition at line 2851 of file __init__.py.
|
protected |
Return the path to the given metadata file, if available.
Definition at line 2834 of file __init__.py.
|
protected |
Definition at line 2856 of file __init__.py.
|
protected |
Reimplemented in EggInfoDistribution.
Definition at line 2675 of file __init__.py.
| activate | ( | self, | |
path = None, |
|||
replace = False |
|||
| ) |
Ensure distribution is importable on `path` (default=sys.path)
Definition at line 2862 of file __init__.py.
| as_requirement | ( | self | ) |
Return a ``Requirement`` that matches this distribution exactly
Definition at line 2917 of file __init__.py.
| check_version_conflict | ( | self | ) |
Definition at line 3018 of file __init__.py.
| clone | ( | self, | |
| ** | kw | ||
| ) |
Copy this distribution, substituting in any changed keyword args
Definition at line 3055 of file __init__.py.
| egg_name | ( | self | ) |
Return what this distribution's standard .egg filename should be
Definition at line 2873 of file __init__.py.
| extras | ( | self | ) |
Definition at line 3064 of file __init__.py.
Referenced by ExtrasCandidate.__eq__(), ExtrasCandidate.__hash__(), ExtrasCandidate.__repr__(), ExtrasCandidate.__str__(), Requirement.__str__(), Distribution._get_requirements(), Metadata._to_legacy(), ExtrasCandidate.format_for_error(), Metadata.get_requirements(), ExtrasCandidate.iter_dependencies(), and ExtrasCandidate.name().

| from_filename | ( | cls, | |
| filename, | |||
metadata = None, |
|||
| ** | kw | ||
| ) |
Definition at line 2912 of file __init__.py.
| from_location | ( | cls, | |
| location, | |||
| basename, | |||
metadata = None, |
|||
| ** | kw | ||
| ) |
Definition at line 2654 of file __init__.py.
| get_entry_info | ( | self, | |
| group, | |||
| name | |||
| ) |
Return the EntryPoint object for `group`+`name`, or ``None``
Definition at line 2945 of file __init__.py.
| get_entry_map | ( | self, | |
group = None |
|||
| ) |
Return the entry point map for `group`, or the full entry map
Definition at line 2933 of file __init__.py.
| has_version | ( | self | ) |
Definition at line 3044 of file __init__.py.
| hashcmp | ( | self | ) |
Definition at line 2679 of file __init__.py.
| insert_on | ( | self, | |
| path, | |||
loc = None, |
|||
replace = False |
|||
| ) |
Ensure self.location is on path
If replace=False (default):
- If location is already in path anywhere, do nothing.
- Else:
- If it's an egg and its parent directory is on path,
insert just ahead of the parent.
- Else: add to the end of path.
If replace=True:
- If location is already on path anywhere (not eggs)
or higher priority than its parent (eggs)
do nothing.
- Else:
- If it's an egg and its parent directory is on path,
insert just ahead of the parent,
removing any lower-priority entries.
- Else: add it to the front of path.
Definition at line 2950 of file __init__.py.
| key | ( | self | ) |
Definition at line 2718 of file __init__.py.
Referenced by Matcher.__eq__(), Matcher.__hash__(), and SelfCheckState.set().

| load_entry_point | ( | self, | |
| group, | |||
| name | |||
| ) |
Return the `name` entry point of `group` or raise ImportError
Definition at line 2926 of file __init__.py.
| parsed_version | ( | self | ) |
Definition at line 2726 of file __init__.py.
| requires | ( | self, | |
extras = () |
|||
| ) |
List of Requirements needed for this distro if `extras` are used
Definition at line 2820 of file __init__.py.
| version | ( | self | ) |
Definition at line 2766 of file __init__.py.
Referenced by AlreadyInstalledCandidate.__eq__(), Distribution.__eq__(), Distribution.__hash__(), InstallationCandidate.__repr__(), Distribution.__repr__(), Metadata.__repr__(), InstallationCandidate.__str__(), InstalledDistribution.__str__(), EggInfoDistribution.__str__(), PlatformDirsABC._append_app_name_and_version(), WrappedSocket._custom_validate(), Wheel._get_extensions(), Wheel.build(), Wheel.filename(), InstalledDistribution.get_distinfo_file(), Wheel.get_wheel_metadata(), LinuxDistribution.info(), Wheel.install(), LinuxDistribution.linux_distribution(), Wheel.metadata(), LinuxDistribution.name(), Distribution.name_and_version(), Distribution.provides(), Metadata.provides(), Wheel.update(), Wheel.verify(), and LinuxDistribution.version_parts().

|
protected |
Definition at line 2681 of file __init__.py.
|
protected |
Definition at line 2722 of file __init__.py.
Referenced by _BaseVersion.__eq__(), _BaseVersion.__ge__(), _BaseVersion.__gt__(), _BaseVersion.__le__(), _BaseVersion.__lt__(), and _BaseVersion.__ne__().
|
protected |
Definition at line 2729 of file __init__.py.
|
protected |
Definition at line 2651 of file __init__.py.
|
protected |
Definition at line 2646 of file __init__.py.
Referenced by LegacyVersion.__str__(), _InstallRequirementBackedCandidate._check_metadata_consistency(), LegacyVersion.base_version(), Version.dev(), Version.epoch(), Version.local(), Version.post(), Version.pre(), LegacyVersion.public(), Version.release(), _InstallRequirementBackedCandidate.version(), AlreadyInstalledCandidate.version(), and RequiresPythonCandidate.version().
| hashcmp |
Definition at line 2690 of file __init__.py.
| key |
Definition at line 2683 of file __init__.py.
Referenced by Matcher.__eq__(), Matcher.__hash__(), and SelfCheckState.set().
| location |
| parsed_version |
Definition at line 2919 of file __init__.py.
Definition at line 2632 of file __init__.py.
| PKG_INFO |
Definition at line 2774 of file __init__.py.
| platform |
Definition at line 2648 of file __init__.py.
| precedence |
Definition at line 2650 of file __init__.py.
| project_name |
Definition at line 2644 of file __init__.py.
Referenced by SimpleScrapingLocator._process_download(), _InstallRequirementBackedCandidate.name(), and AlreadyInstalledCandidate.name().
| py_version |
Definition at line 2647 of file __init__.py.
| version |
Definition at line 2877 of file __init__.py.
Referenced by AlreadyInstalledCandidate.__eq__(), Distribution.__eq__(), Distribution.__hash__(), InstallationCandidate.__repr__(), Distribution.__repr__(), Metadata.__repr__(), InstallationCandidate.__str__(), InstalledDistribution.__str__(), EggInfoDistribution.__str__(), PlatformDirsABC._append_app_name_and_version(), WrappedSocket._custom_validate(), Wheel._get_extensions(), Wheel.build(), Wheel.filename(), InstalledDistribution.get_distinfo_file(), Wheel.get_wheel_metadata(), LinuxDistribution.info(), Wheel.install(), LinuxDistribution.linux_distribution(), Wheel.metadata(), LinuxDistribution.name(), Distribution.name_and_version(), Distribution.provides(), Metadata.provides(), Wheel.update(), Wheel.verify(), and LinuxDistribution.version_parts().