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.1.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.1-py3-none-any.whl (106.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mxpy-11.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 96f3ffc39e78dc6fcfd1ef34cbc71aec37e1f55c0b122e5f306e8c532282a1fd
MD5 40389b1d70475d6cadf9520dee214c83
BLAKE2b-256 6324cb53f3dddaef91b54550506703ecf2651adcbb9b749f56afd1b15557f1f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mxpy-11.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5daac368779df67ce0b54db7b5f9b04cfd46437dca3e74503619c3a41ba768d
MD5 e6934047d3cc0d186e2b9de033fcde7d
BLAKE2b-256 1da7716d1c20b88eeb49e19b3538eabd6b5978d0b43e08621dce265296a73fad

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