onETL Plugin for Horizon store
Project description
horizon-hwm-store is a Python library to interact with Horizon service by saving and retrieving HWM.
Requirements
Python 3.7+
Documentation
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
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
horizon-hwm-store-0.1.4.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for horizon_hwm_store-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 847e7d8b0d06a2bccd69342eff422d321795074772c2ffe21628bf80c6552cb0 |
|
MD5 | 9d8fe1826f78a880498e8ee3dea2c871 |
|
BLAKE2b-256 | 2b640de26f0662617574e8897ddcf91c9e1d6783f927b507cadb002575df557a |