すべてのオプション
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 kB209.0 kB [ファイル一覧]