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

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

drtpy-0.0.4-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drtpy-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 drtpy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 5ea64cf179c4d8c7b2262418a5c4c6daa31f3441f17f7c898fd9e41f732df22f
MD5 45e775c77688a10efcc52c25dd3e85f7
BLAKE2b-256 f7f92301a2d8fa2284a27704b427a4421a2c6d46af9f114adc6921ffe931164a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drtpy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 105.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for drtpy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ac553c1024e8c8cf0f538d521311855b173e9b8212b5ac45b21bdd583bff925d
MD5 0c7fb67dcb1e8c3d04296300170e8450
BLAKE2b-256 ef29e6dd85a3ba4a5184d0fa3f557c4ef89feab3bc08633f42afca6ca23d3d32

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