Metadata-Version: 2.4
Name: curvtools
Version: 0.0.9
Summary: CLI tools for the Curv RISC-V CPU project
Author: Mike Goelzer
License: MIT
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Requires-Dist: click>=8.1.0
Requires-Dist: curv>=0
Requires-Dist: curvpyutils>=0
Requires-Dist: importlib-metadata>=6.0.0
Requires-Dist: jinja2>=3
Requires-Dist: python-dotenv>=1.1.0
Requires-Dist: rich
Requires-Dist: shtab
Requires-Dist: tomli-w
Requires-Dist: tomli>=2; python_version < '3.11'
Description-Content-Type: text/markdown

# `curvtools` package

CLI tools for the Curv RISC-V CPU project.

## Prerequisites

- Follow the [developer setup instructions](../.github/CONTRIBUTING.md#editable-installation) including installing `uv` and running `make setup` (only needed once per machine).

## Development/testing of CLI tools

We'll use the `memmap2` tool as an example.  Here are some common tasks:

- Run one of the CLI tools (they're in your `PATH` after `make setup`):

    ```shell
    curv-memmap2 --help
    ```

- Run tests just for one tool using `pytest` from its source directory:

    ```shell
    # from the repo root
    $ cd packages/curvtools/src/curvtools/cli/memmap2
    $ pytest
    ```
