Skip to main content

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.

Metadata

Release files for mxpy 12.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mxpy 12.0.0
File Size Uploaded
mxpy-12.0.0.tar.gz 75.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mxpy 12.0.0
File Interpreter ABI Platform
mxpy-12.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 182.8 kB

Release files / mxpy-12.0.0.tar.gz

Download URL mxpy-12.0.0.tar.gz
Size 75.1 kB
Tags Source
SHA-256 checksum
How to use checksums
47d69182232f9c9c1939efa681f1a4341010c74080f783bc545fc41350d5137e
BLAKE2b-256 checksum
How to use checksums
9a8b831ec54a2f5829e5f48a43a01ec5642849cfb384f5fce1896ac9dc411c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / mxpy-12.0.0-py3-none-any.whl

Download URL mxpy-12.0.0-py3-none-any.whl
Size 107.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cc11a1b32cc9a095da9abea865529cb1d1c904a49622653dcc60cfb4202cc99
BLAKE2b-256 checksum
How to use checksums
5425aa269f4c0c37b73aebfbdf829e9b5cc2882484e90c4f53b2578dbf31e27e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page