Skip to main content

ClawsNetwork Smart Contracts Tools

Project description

Description

Python Command Line Tools for interacting with ClawsNetwork.

Documentation

docs.multiversx.com

CLI

CLI

Distribution

Install with pipx (recommended):

pipx install claw-sdk-cli

Then run clawpy from anywhere.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claw_sdk_cli-11.3.2.tar.gz (74.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claw_sdk_cli-11.3.2-py3-none-any.whl (106.5 kB view details)

Uploaded Python 3

File details

Details for the file claw_sdk_cli-11.3.2.tar.gz.

File metadata

  • Download URL: claw_sdk_cli-11.3.2.tar.gz
  • Upload date:
  • Size: 74.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for claw_sdk_cli-11.3.2.tar.gz
Algorithm Hash digest
SHA256 6d3542097f4bfd9cc7e15751259683ab81f7feffb66cbfaf8172b15fa58e2394
MD5 eac3a3a74ac720673089a0f3b679cbc9
BLAKE2b-256 d0be436afc59d6652b83c2d45d1eb7bd9e8cc6896ff8d56e5469a5b4cbdf0e2b

See more details on using hashes here.

File details

Details for the file claw_sdk_cli-11.3.2-py3-none-any.whl.

File metadata

  • Download URL: claw_sdk_cli-11.3.2-py3-none-any.whl
  • Upload date:
  • Size: 106.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for claw_sdk_cli-11.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89a08dfe640830a6fffd3e15b192d32f5e413d2bfc5a7c17e385e0ea982bad39
MD5 ef1000fbabf5ed51e75bb753d82f40a9
BLAKE2b-256 037b7ba1b7321201c468c92da9dbed84332dee0223cabb04c1e7b6fc4f45db66

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page