Dykes

Do You Know Every Selection?

dykes helps you get a handle on your tools.

Use a typed class to generate an ArgumentParser and get a nicely types instance back.

The absolute simplest program using dykes looks like:

from dataclasses import dataclass

import dykes

@dataclass
class Arguments:
    path: str

if __name__ == "__main__":
    arguments = dykes.parse_args(Arguments)
    print(arguments)

If you’d like more details, check out the User’s Guide.

If you want to know how things work internally, check out API Reference.