wszystkie opcje
trixie  ] [  forky  ] [  sid  ]
[ Pakiet 藕r贸d艂owy: flexparser  ]

Pakiet: python3-flexparser (0.4-2)

Odno艣niki dla python3-flexparser

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu 藕r贸d艂owego flexparser:

Opiekunowie:

Zasoby zewn臋trzne:

Podobne pakiety:

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`.

Inne pakiety zwi膮zane z python3-flexparser

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie python3-flexparser

Pobierz dla wszystkich dost臋pnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 42,1 KiB211,0 KiB [lista plik贸w]