Skip to content

Latest commit

 

History

History
105 lines (59 loc) · 1.44 KB

File metadata and controls

105 lines (59 loc) · 1.44 KB

Types

Licensecheck Index / Licensecheck / Types

Auto-generated documentation for licensecheck.types module.

License

Show source in types.py:46

Attributes

  • PUBLIC - Public domain: 0

  • MIT - Permissive GPL compatible: 10

  • APACHE - Other permissive: 20

  • LGPL_X - LGPL: 30

  • GPL_X - GPL: 40

  • AGPL_3_PLUS - AGPL: 50

  • MPL - Other copyleft: 60

  • PROPRIETARY - PROPRIETARY: 190

  • NO_LICENSE - No License: 200

License Enum to hold a set of potential licenses.

Signature

class License(Enum):
    ...

PackageInfo

Show source in types.py:29

PackageInfo type.

Signature

class PackageInfo:
    ...

ucstr

Show source in types.py:17

Uppercase string

Signature

class ucstr(str):
    ...

printLicense

Show source in types.py:89

Output a license as plain text

Arguments

  • licenseEnum L - License

Returns

Type: str license of plain text

Signature

def printLicense(licenseEnum: L) -> str:
    ...

See also