This project will be deprecated in the near future. All the functionality has been moved to the new repository.
The migration guide as a GitHub issue can be found here.
Network providers for MultiversX Python SDK.
- GitHub:
git+https://[email protected]/multiversx/mx-sdk-py-network-providers.git@v{Version}#egg=multiversx_sdk_network_providers
- PyPi
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
.
Run the tests as follows:
pytest .
First, install pyright
as follows:
npm install --global pyright
Run pyright
:
pyright
Run flake8
:
flake8 multiversx_sdk_network_providers