Development

Development dependencies

Code generation:

  • ply

Performance testing:

  • faker

Documentation:

  • sphinx

  • myst-parser

  • sphinx-argparse

Running codegen

Generate types and client

python -m tools.codegen protocol-a protocol-a-current.txt

Generate errors

python -m tools.codegen errors errors.json

Running tests

To run tests, make sure that pytest is installed and simply run:

pytest