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.0.tar.gz (75.1 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.0-py3-none-any.whl (107.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mxpy-11.4.0.tar.gz
  • Upload date:
  • Size: 75.1 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.0.tar.gz
Algorithm Hash digest
SHA256 26e3c4d3deb0fc99c9b155637b070272325c74c98e59078115a2fa633759c82a
MD5 888e92fd89d154b5b275e34e64c2f6d3
BLAKE2b-256 5c8797ad8802149ff99f7f84d4b7f0a6368c14486bb99c504a53403422afb869

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mxpy-11.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14e339351f6508dd756be6e5bb0d56619d0abf9980c747b9be987aee432e02dc
MD5 5d091955fb2d4d21b6f98bfcdde3abed
BLAKE2b-256 7f68b5431224fb93243cd22d414fddaf3c9faa8e707ead942eba847530649e88

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