Skip to main content

Dharitri Smart Contracts Tools

Project description

Description

Documentation

docs.dharitri.com

CLI

CLI

Distribution

drtpy-up and PyPi

Development setup

Clone this repository and cd into it:

git clone https://github.com/DharitriOne/drt-sdk-py-cli.git
cd drt-sdk-py-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

Above, requirements.txt should mirror the dependencies section of setup.py.

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-sdk-py-cli, run:

export PYTHONPATH="~/drt-sdk-py-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

drt_sdk_cli-0.0.1.tar.gz (69.7 kB view hashes)

Uploaded Source

Built Distribution

drt_sdk_cli-0.0.1-py3-none-any.whl (107.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page