Skip to main content

onETL Plugin for Horizon store

Project description

Repo Status Build Status PyPI License PyPI Python Version Documentation Coverage

  • horizon-hwm-store is a Python library to interact with Horizon service by saving and retrieving HWM.

Requirements

  • Python 3.7+

Documentation

See https://horizon-hwm-store.readthedocs.io/

Installation

pip install horizon-hwm-store

Develop

Clone repo

Clone repo:

git clone https://github.com/MobileTeleSystems/horizon-hwm-store.git -b develop

cd horizon-hwm-store

Setup environment

Create virtualenv and install dependencies:

python -m venv venv
source venv/bin/activate
pip install -U wheel
pip install -U pip setuptools
pip install -U \
    -r requirements.txt \
    -r requirements-dev.txt \
    -r requirements-docs.txt \
    -r requirements-test.txt

Enable pre-commit hooks

Install pre-commit hooks:

pre-commit install --install-hooks

Test pre-commit hooks run:

pre-commit run

Tests

Start all containers with dependencies:

docker-compose up -d

Load environment variables with connection properties:

source .env.local

Run tests:

./run_tests.sh

You can pass additional arguments, they will be passed to pytest:

./run_tests.sh -k sometest -lsx -vvvv --log-cli-level=INFO

Stop all containers and remove created volumes:

docker-compose down -v

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

horizon-hwm-store-0.1.4.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

horizon_hwm_store-0.1.4-py3-none-any.whl (10.6 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