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

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

drtpy-0.0.1-py3-none-any.whl (85.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drtpy-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 drtpy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a7f4ca5442b24e5e002342c82f992454bed38697669b25db544ab519c7a14007
MD5 d636a6a611c5f4de5ed9612e4fd226bb
BLAKE2b-256 bf2887b18928f102096c6f92e41d98f2c89d202603dd678c10e31e30ae911520

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drtpy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 85.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for drtpy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf91eead6b8c9aec733ccfa044cfefd1ff7558b1b03db80091ef3bad49e6b129
MD5 540f8c0a946923433d5dd042f32286c6
BLAKE2b-256 486dcd19dd16100aa0118f52d5cd6370fc31c145afb3122f09512ed6558f60a0

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