Skip to content
#

argument-parsing

Here are 126 public repositories matching this topic...

picocli

Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.

  • Updated Apr 9, 2022
  • Java
Enolerobotti
Enolerobotti commented Feb 20, 2021

TAP works very slow:
to reproduce

from tap import Tap
from argparse import ArgumentParser
from profilehooks import profile, timecall


class SimpleArgumentParser(Tap):
    name: str  # Your name
    language: str = 'Python'  # Programming language
    package: str = 'Tap'  # Package name
    stars: int  # Number of stars
    max_stars: int = 5  # Maximum stars


@profile(dirs=T
enhancement good first issue
SimpleParsing
aoikaneko
aoikaneko commented Jan 15, 2022

Is your feature request related to a problem? Please describe.
'choices' does not seem to be checked in load() method and invalid value can be set via the method.

To reproduce:

config.yml

animal: bird

argtest.py

import dataclasses
import simple_parsing as sp
from simple_parsing.helpers import Serializable

@dataclasses.dataclass
class Config(Serializabl
help wanted good first issue

Improve this page

Add a description, image, and links to the argument-parsing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the argument-parsing topic, visit your repo's landing page and select "manage topics."

Learn more