pychoosealicense.rules
¶
Models conditions, permissions and limitations attached to licenses.
Classes:
|
Represents a permission, condition or limitation attached to a license. |
Represents a mapping of rule types to mappings of rule tags to individual rules. |
Data:
The currently supported rules, grouped by type. |
-
namedtuple
Rule
(tag, label, description)[source]¶ Bases:
NamedTuple
Represents a permission, condition or limitation attached to a license.
- Fields
-
__repr__
()¶ Return a nicely formatted representation string