Skip to main content

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

Code style: black License: MIT codecov

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


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)

Uploaded Source

Built Distribution

lido_sdk-0.1.0-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 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