Skip to main content

Core components of the MultiversX Python SDK.

Project description

mx-sdk-py-core

Core components of the MultiversX Python SDK.

Distribution

  • GitHub: git+https://git@github.com/multiversx/mx-sdk-py-core.git@v{Version}#egg=multiversx_sdk_core
  • PyPi

Documentation

docs.multiversx.com

Development setup

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

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.

Tests

Run the tests as follows:

pytest .

Linting

First, install pyright as follows:

npm install --global pyright

Run pyright:

pyright

Run flake8:

flake8 multiversx_sdk_core

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

multiversx_sdk_core-0.4.3.tar.gz (18.5 kB view hashes)

Uploaded Source

Built Distribution

multiversx_sdk_core-0.4.3-py3-none-any.whl (29.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page