4.6. Distribution Versions API

See also Shortcuts.

4.6.2. PythonDist

See also Shortcuts.

4.6.2.1. Attributes

  • The tuple of Python identifiers:

    category
    disttype
    dist
    distrel
    
  • Additional shortcuts prepared for direct processing:

    hexrelease
    
  • In addition the optional, but strongly supported attributes. Controlled by the parameter forceall:

    c_libc_version
    c_compiler
    c_compiler_version
    

4.6.2.4. Iterators

The main task using the iterators is the automatic synchronization of the attributes with the hexrelease.

operator

[doc]

[source]

remarks

x = S.k

PythonDist.__getattr__

pythonids.pythondist.PythonDist.__getattr__

S.k = x

PythonDist.__setattr__

pythonids.pythondist.PythonDist.__setattr__

synchronises all dependencies, else raises excpetion

x = S[k]

PythonDist.__getitem__

pythonids.pythondist.PythonDist.__getitem__

S[k] = x

PythonDist.__setitem__

pythonids.pythondist.PythonDist.__setitem__

synchronises all dependencies, else raises excpetion

values(S)

PythonDist.items

pythonids.pythondist.PythonDist.items

yield list of tupels

S.keys()

PythonDist.keys

pythonids.pythondist.PythonDist.keys

yield list of attribute names

S.values()

PythonDist.values

pythonids.pythondist.PythonDist.values

yield list of attribute values

4.6.3. Resources