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

pipx (PyPI)

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.1.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.1-py3-none-any.whl (106.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: claw_sdk_cli-11.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e71824053fa09654e154345691dceb9ae288c98e8c0db04823acc6604031c95f
MD5 493882b7d9a91335fb6e4b2dab932add
BLAKE2b-256 b5018ec29998fd875c10332109ea2fcc4d3ec35fc04e2066a7c3d9c679c85849

See more details on using hashes here.

File details

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

File metadata

  • Download URL: claw_sdk_cli-11.3.1-py3-none-any.whl
  • Upload date:
  • Size: 106.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0efb3717689bfdd41d9d2fd972cc706e32fd9fd727ad21a32f2517738a8a9acc
MD5 45656aec21d1b064d880559d13d18ee7
BLAKE2b-256 920564613ecdd885069116298d6954a7e62252eb2e0a1500e3209c9ac16aad1e

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