![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| __init__ (self, metadata) | |
| source_url (self) | |
| name_and_version (self) | |
| provides (self) | |
| run_requires (self) | |
| meta_requires (self) | |
| build_requires (self) | |
| test_requires (self) | |
| dev_requires (self) | |
| matches_requirement (self, req) | |
| __repr__ (self) | |
| __eq__ (self, other) | |
| __hash__ (self) | |
Public Attributes | |
| metadata | |
| name | |
| key | |
| version | |
| locator | |
| digest | |
| extras | |
| context | |
| download_urls | |
| digests | |
| source_url | |
Static Public Attributes | |
| bool | build_time_dependency = False |
| bool | requested = False |
| download_url = source_url | |
Protected Member Functions | |
| _get_requirements (self, req_attr) | |
A base class for distributions, whether installed or from indexes. Either way, it must have some metadata, so that's all that's needed for construction.
| pip._vendor.distlib.database.Distribution.__init__ | ( | self, | |
| metadata | |||
| ) |
Initialise an instance. :param metadata: The instance of :class:`Metadata` describing this distribution.
Reimplemented in pip._vendor.distlib.database.BaseInstalledDistribution, pip._vendor.distlib.database.EggInfoDistribution, and pip._vendor.distlib.database.InstalledDistribution.
| pip._vendor.distlib.database.Distribution.__eq__ | ( | self, | |
| other | |||
| ) |
See if this distribution is the same as another.
:param other: The distribution to compare with. To be equal to one
another. distributions must have the same type, name,
version and source_url.
:return: True if it is the same, else False.
Reimplemented in pip._vendor.distlib.database.InstalledDistribution, and pip._vendor.distlib.database.EggInfoDistribution.
| pip._vendor.distlib.database.Distribution.__hash__ | ( | self | ) |
Compute hash in a way which matches the equality test.
| pip._vendor.distlib.database.Distribution.__repr__ | ( | self | ) |
Return a textual representation of this instance,
Reimplemented in pip._vendor.distlib.database.InstalledDistribution, and pip._vendor.distlib.database.EggInfoDistribution.
| pip._vendor.distlib.database.Distribution.matches_requirement | ( | self, | |
| req | |||
| ) |
Say if this instance matches (fulfills) a requirement. :param req: The requirement to match. :rtype req: str :return: True if it matches, else False.
| pip._vendor.distlib.database.Distribution.name_and_version | ( | self | ) |
A utility property which displays the name and version in parentheses.
| pip._vendor.distlib.database.Distribution.provides | ( | self | ) |
A set of distribution names and versions provided by this distribution. :return: A set of "name (version)" strings.
| pip._vendor.distlib.database.Distribution.source_url | ( | self | ) |
The source archive download URL for this distribution.