Metadata-Version: 2.4
Name: claw-sdk-cli
Version: 11.3.1
Summary: ClawsNetwork Smart Contracts Tools
Project-URL: Homepage, https://github.com/ClawsNetwork/claw-sdk-py-cli
Author: ClawsNetwork
License-Expression: MIT
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: argcomplete==3.2.2
Requires-Dist: ledgercomm[hid]
Requires-Dist: multiversx-sdk[ledger]==2.3.2
Requires-Dist: requests<3.0.0,>=2.32.0
Requires-Dist: rich==13.3.4
Requires-Dist: toml>=0.10.2
Description-Content-Type: text/markdown

# Description

Python Command Line Tools for interacting with ClawsNetwork.

## Documentation

[docs.multiversx.com](https://docs.multiversx.com/sdk-and-tools/sdk-py/)

## CLI

[CLI](CLI.md)

## Distribution

pipx [(PyPI)](https://pypi.org/project/claw-sdk-cli/)

## Development setup

Clone this repository and cd into it:

```
git clone https://github.com/ClawsNetwork/claw-sdk-py-cli.git
cd claw-sdk-py-cli
```

### Virtual environment

Create a virtual environment and install the dependencies:

```
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt --upgrade
```

Install development dependencies, as well:

```
pip install -r ./requirements-dev.txt --upgrade
```

Allow `pre-commit` to automatically run on `git commit`:

```
pre-commit install
```

Above, `requirements.txt` should mirror the **dependencies** section of
`pyproject.toml`.

If using VSCode, restart it or follow these steps:

- `Ctrl + Shift + P`
- _Select Interpreter_
- Choose `./venv/bin/python`.

### Using your local `clawpy`

If you want to test the modifications you locally made to `clawpy`, set
`PYTHONPATH` with the path to your local repository path.

For example, if you cloned the repository at `~/claw-sdk-py-cli`, run:

```
export PYTHONPATH="~/claw-sdk-py-cli"
```

Then `clawpy` will use the code in your local repository.
