项目作者: speedcell4

项目描述 :
An interactive annotation-driven ArgumentParser generator
高级语言: Python
项目地址: git://github.com/speedcell4/aku.git
创建时间: 2018-01-05T07:48:23Z
项目社区:https://github.com/speedcell4/aku

开源协议:

下载




logo

GitHub Workflow Status (with event)
PyPI - Version
PyPI - Downloads

—-

An interactive annotation-driven ArgumentParser generator

Installation

python -m pip aku

Type Annotations

  • Primitive types, e.g., int, str, bool, float, Path.
  • Container types,
    • List, i.e., List[T]
    • Tuple, i.e., homogeneous Tuple[T, ...] and heterogeneous Tuple[T1, T2, T3]
    • Set and FrozenSet, i.e., Set[T] and FrozenSet[T]
    • Literal, e.g., Literal[42, 1905]
  • Nested types
    • Function, e.g., Type[F]
    • Union of functions, e.g., Union[Type[F1], Type[F2], Type[F3]]