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.3.0.tar.gz (73.7 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.3.0-py3-none-any.whl (106.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mxpy-11.3.0.tar.gz
Algorithm Hash digest
SHA256 3f32dbc977bb46f07889aa80820d13f901f7af890f7cd805eb56f97bda680b4f
MD5 8011c00534c1f9972bb65e70aa2ab204
BLAKE2b-256 b59b67b71522f1b3ddd75fc743cc583904749ef3d094f471382d13b1517bcd77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mxpy-11.3.0-py3-none-any.whl
  • Upload date:
  • Size: 106.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f90d7f7fae23ea6bc9e324dd9b469a9a570518664fb4a2fd8248fd9b3d20ec28
MD5 73fdad1409fe03cae673a6d7e79bff19
BLAKE2b-256 a26758309f90130c344da3617804dd8520664a56c066a696c05b4684b40366ff

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