Metadata-Version: 2.1
Name: mx-sdk-erdpy-network-providers
Version: 0.6.2
Summary: MultiversX: network providers for erdpy.
Project-URL: Homepage, https://github.com/ElrondNetwork/mx-sdk-erdpy-network-providers
Author: MultiversX
License-Expression: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: mx-sdk-erdpy-core==0.3.0
Requires-Dist: requests==2.24.0
Description-Content-Type: text/markdown

# sdk-erdpy-network-providers

Network providers for **erdpy**.

## Distribution
 
 - GitHub: `git+https://git@github.com/ElrondNetwork/mx-sdk-erdpy-network-providers.git@v{Version}#egg=erdpy_network_providers`
 - [PyPi](https://pypi.org/user/elrond/)

## Documentation
[docs.elrond.com](https://docs.elrond.com/sdk-and-tools/erdpy/erdpy/)

## Development setup

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`](https://github.com/microsoft/pyright) as follows:

```
npm install --global pyright
```

Run `pyright`:

```
pyright
```

Run `flake8`:

```
flake8 erdpy_core
```
