Skip to main content

DharitrI Smart Contracts Tools

Project description

Description

Python Command Line Tools for interacting with MultiversX.

Documentation

docs.dharitri.org

CLI

CLI

Distribution

pipx (PyPi)

Development setup

Clone this repository and cd into it:

git clone https://github.com/TerraDharitri/drt-py-sdk-cli.git
cd drt-py-sdk-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 drtpy

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

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

export PYTHONPATH="~/drt-py-sdk-cli"

Then drtpy 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

dharitri_sdk_cli-0.0.4.tar.gz (73.2 kB view details)

Uploaded Source

Built Distribution

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

dharitri_sdk_cli-0.0.4-py3-none-any.whl (105.3 kB view details)

Uploaded Python 3

File details

Details for the file dharitri_sdk_cli-0.0.4.tar.gz.

File metadata

  • Download URL: dharitri_sdk_cli-0.0.4.tar.gz
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for dharitri_sdk_cli-0.0.4.tar.gz
Algorithm Hash digest
SHA256 482e88449eda40e5fb98205cbe12ebb60e3ba27f9cf75890ab8e35f092ca5c55
MD5 645a24d7085ddbf8758c3547dc35e4a2
BLAKE2b-256 8cf328b75cbd5fbf94045af6359009a6417a5907976811b4ffb81138e8352838

See more details on using hashes here.

File details

Details for the file dharitri_sdk_cli-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for dharitri_sdk_cli-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 75c9ccf529d0e14d8a60bc0ff4e1e6b8f42a7fabb5f8a6b31f1a9011b8d3f5bc
MD5 1c1c709ce8bad79964b8055bbfc0aa49
BLAKE2b-256 e4d17886be47c618f78dfef783d3cbb4dcb8f1aa672c91fd671e84f3b792a592

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