binaryai.license

Module Contents

Classes

LicenseTagItem

A license tag item entity.

LicenseTags

A license tag entity.

License

A license entity.

class binaryai.license.LicenseTagItem(tag_name: str, description: str)[source]

Bases: json.JSONDecoder

A license tag item entity.

class binaryai.license.LicenseTags(permission: List[LicenseTagItem], condition: List[LicenseTagItem], forbidden: List[LicenseTagItem])[source]

Bases: json.JSONDecoder

A license tag entity.

class binaryai.license.License(short_name: str, full_name: str, content: str, url: str, source: str, tags: LicenseTags = None, risk: str = None, extra: str = None, is_pass: bool = None, check_reason: str = None)[source]

Bases: json.JSONDecoder

A license entity.