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.2.tar.gz (57.6 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.2-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dharitri_sdk_cli-0.0.2.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for dharitri_sdk_cli-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f4def289a73a834120f742e78d1c1fbd4d7a6c8439c164980c7cb4d4e9c46dba
MD5 3ce41c0acc89ccf68c38eb21c830bed2
BLAKE2b-256 68053cdeb20bf77134e9a6600d47dc3e5420976c0d5cc7b6b18e8e48517c3fb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dharitri_sdk_cli-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4b1e16b27032f34d782cecca08b485446b16d2512673b536672ce1652c1ffe7
MD5 efbd208610b6fdca2602b801539b96f4
BLAKE2b-256 acaf8f0382775ebc248941b6a3d854f6ad231dcb33e0c9dcb71127146f25a497

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