binaryai.license

Classes

LicenseTagItem

A license tag item entity.

LicenseTags

A license tag entity.

License

A license entity.

Module Contents

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

Bases: json.JSONDecoder

A license tag item entity.

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

Bases: json.JSONDecoder

A license tag entity.

permission
condition
forbidden
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.

full_name
short_name
content
risk = None
tags = None
source
url
extra = None
is_pass = None
check_reason = None