всички настройки
trixie  ] [  sid  ]
[ Източник: flexparser  ]

Пакет: python3-flexparser (0.3.1-2)

Връзки за python3-flexparser

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник flexparser.

Отговорници:

Външни препратки:

Подобни пакети:

Parsing using Python typing

The idea behind flexparser is quite simple. To write a class for every type of content (called here `ParsedStatement`) one needs to parse. Each class have a `from_string` constructor. The `typing` module is used extensively to make the output structure easy to use and less error prone.

The fuse of frozen dataclass is not necessary but it convenient. Being a dataclass you get the init, str, repr, etc for free. Being frozen, sort of immutable, makes them easier to reason around.

The result is a collection of `ParsedStatement` or `ParsingError`.

Други пакети, свързани с python3-flexparser

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на python3-flexparser

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 41,6 кБ209,0 кБ [списък на файловете]