Skip to main content

DharitrI Smart Contracts Tools

Project description

Description

Python Command Line Tools for interacting with DharitriX.

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.3.tar.gz (72.9 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.3-py3-none-any.whl (106.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dharitri_sdk_cli-0.0.3.tar.gz
  • Upload date:
  • Size: 72.9 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.3.tar.gz
Algorithm Hash digest
SHA256 5a712d86969c2eb413b932d0bbf672d918d0aff0cb99abfdaa1540ab978870fd
MD5 9764fe2c2eb981f1a0b23d5c4d8ec620
BLAKE2b-256 41edb14810c49a7267596d6a2b7693f77b3b23261c1b1f1edba7d930593d4893

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dharitri_sdk_cli-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 276ed0c7c432656b3467794060bcdd773a6dfe822bacedb5d259def2d5ce2f49
MD5 7015e450f04875f08186b7c65d299328
BLAKE2b-256 373c12385b5b6b12b799baee3511223d6f08e365c343d33565d7354df03d78cc

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