Skip to content

Latest commit

 

History

History
130 lines (73 loc) · 2.13 KB

File metadata and controls

130 lines (73 loc) · 2.13 KB

Types

Licensecheck Index / Licensecheck / Types

Auto-generated documentation for licensecheck.types module.

License

Show source in types.py:60

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:30

PackageInfo type.

Signature

class PackageInfo: ...

PackageInfo().post_init

Show source in types.py:43

Set the namever once the object is initialised.

Signature

def __post_init__(self) -> None: ...

PackageInfo().get_filtered_dict

Show source in types.py:47

Return a filtered dictionary of the object.

:param list[ucstr] hide_output_parameters: list of parameters to ignore

Returns

Type: dict filtered dictionary

Signature

def get_filtered_dict(self, hide_output_parameters: list[ucstr]) -> dict: ...

See also

ucstr

Show source in types.py:9

Uppercase string.

Signature

class ucstr(str): ...

ucstr().new

Show source in types.py:14

Create a new ucstr from a str.

Arguments

  • v str - string to cast

Returns

Type: ucstr uppercase string.

Signature

def __new__(cls, v: str | None): ...