This library consolidates various functions to efficiently load network data for Lido, validate node operator keys and find key duplicates.
Project description
Lido Python SDK
This repo provides a scratch of a Python project. Its purpose is to serve as starting point for the development of a Python project based on a minimal working structure.
Development
Clone project:
git clone git@github.com:lidofinance/lido-python-sdk.git
cd lido-python-sdk
Create virtual env:
virtualenv .env --python=python3
source .env/bin/activate
Install all dependencies:
pip install -r requirements.txt
pip install -r requirements-dev.txt
How to test
Simply run in project root directory:
pytest .
Covered features
- Sphinx autodocumentation with autodoc;
- Travis CI minimal configuration;
- GitHub Actions workflows with minimal configurations for latest Ubuntu, macOS and Windows;
- Tests with pytest;
- virtualenv
- Hierarchical structure to a python package as suggested by "The Hitchhiker’s Guide to Python" (highly recommended reading);
- A Read The Docs configuration scratch;
- pre-commit to perform git hooks before commits. The following plugins are being used:
- trailing-whitespace
- end-of-file-fixer
- black (default options combined with customized line length to 100 chars per line)
- blacken-docs
- Coverage of the package with Codecov.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lido-sdk-0.1.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for lido_sdk-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd1155f324848e26e3ccedd8d11330212ef35839d65c2ca7018bfb39c037f66 |
|
MD5 | 5d515ec13448c0ad1f9121a4feeb8e03 |
|
BLAKE2b-256 | 2f70ce82b2db7bae16691fd7d3906d9ea1c0cd2eff980786ac6c63a94346460c |