Class LanguageKind

class ooodev.utils.kind.language_kind.LanguageKind(value)[source]

An enumeration.

static from_str(s)[source]

Gets an LanguageKind instance from string.

Parameters:

s (str) – String that represents the name of an enum Name. s is case insensitive and can be CamelCase, pascal_case , snake_case, hyphen-case, normal case.

Raises:
  • ValueError – If input string is empty.

  • AttributeError – If unable to get DrawingHatchingKind instance.

Returns:

Enum instance.

Return type:

LanguageKind

BASIC = 'Basic'
BEANS = 'Beans'
JAVA = 'Java'
JAVASCRIPT = 'JavaScript'
PYTHON = 'Python'