Skip to main content

MultiversX Smart Contracts Tools

Project description

Description

Python Command Line Tools for interacting with MultiversX.

Documentation

docs.multiversx.com

CLI

CLI

Distribution

pipx (PyPi)

Development setup

Clone this repository and cd into it:

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

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 mxpy

If you want to test the modifications you locally made to mxpy, set PYTHONPATH with the path to your local repository path.

For example, if you cloned the repository at ~/mx-sdk-py-cli, run:

export PYTHONPATH="~/mx-sdk-py-cli"

Then mxpy 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

mxpy-11.4.1.tar.gz (75.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mxpy-11.4.1-py3-none-any.whl (107.5 kB view details)

Uploaded Python 3

File details

Details for the file mxpy-11.4.1.tar.gz.

File metadata

  • Download URL: mxpy-11.4.1.tar.gz
  • Upload date:
  • Size: 75.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mxpy-11.4.1.tar.gz
Algorithm Hash digest
SHA256 453bf43519b0f4021a270ebe54e88462bd7ed8e35d01e34ad844082ad6d0b2db
MD5 ccb9b80dae368a705d5d2a3a6d114a45
BLAKE2b-256 1161d567bb10fc5f77b6ccde65d1d190e7615619756bc0929660c13fd44612d2

See more details on using hashes here.

File details

Details for the file mxpy-11.4.1-py3-none-any.whl.

File metadata

  • Download URL: mxpy-11.4.1-py3-none-any.whl
  • Upload date:
  • Size: 107.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mxpy-11.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9fcd40b7c6b244a0efab4016b9b7baabb077921f04aeb5288ac6ec4b55feb38
MD5 97fcaece579a68a4eb60a91a5636367d
BLAKE2b-256 db1ab1cdec2448b64a4048fd6b3a42175fe3715041dafd0068ad05c1bce7fc11

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