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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dharitri_sdk_cli-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 43ab501751543eddca559c11b8b98a6293be641fd712321a0212a796281e28d7
MD5 a8c76882c9cb1f626d42d9be2e1a7885
BLAKE2b-256 76743035855e63bd8799f295b0d74e3ca185039708bf9a8676f92de474e41e15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dharitri_sdk_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7cef33c9cbeae30f28113efddeb647aa72f82f594f0f2a3987f27bfcd36edafc
MD5 f8d5e635a2b9366b4a63d268ab1541d1
BLAKE2b-256 1e32b4f2bf9f66ec1ea58f16bdfa734a41539f4182d17a9affd579ae3dd81fb6

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