.. title
What is Horizon HWM Store?
==========================
|Repo Status| |Build Status| |PyPI License| |PyPI Python Version| |Documentation| |Coverage|
.. |Repo Status| image:: https://www.repostatus.org/badges/latest/active.svg
:target: https://github.com/MobileTeleSystems/horizon-hwm-store
.. |Build Status| image:: https://github.com/MobileTeleSystems/horizon-hwm-store/workflows/Tests/badge.svg
:target: https://github.com/MobileTeleSystems/horizon-hwm-store/actions
.. |PyPI License| image:: https://img.shields.io/pypi/l/horizon-hwm-store.svg
:target: https://github.com/MobileTeleSystems/horizon-hwm-store/blob/develop/LICENSE.txt
.. |PyPI Python Version| image:: https://img.shields.io/pypi/pyversions/horizon-hwm-store.svg
:target: https://badge.fury.io/py/horizon-hwm-store
.. |Documentation| image:: https://readthedocs.org/projects/horizon-hwm-store/badge/?version=stable
:target: https://horizon-hwm-store.readthedocs.io/
.. |Coverage| image:: https://codecov.io/gh/MobileTeleSystems/horizon-hwm-store/branch/develop/graph/badge.svg?token=RIO8URKNZJ
:target: https://codecov.io/gh/MobileTeleSystems/horizon-hwm-store
* ``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/
.. install
Installation
---------------
.. code:: bash
pip install horizon-hwm-store
.. develops
Develop
-------
Clone repo
~~~~~~~~~~
Clone repo:
.. code:: bash
git clone https://github.com/MobileTeleSystems/horizon-hwm-store.git -b develop
cd horizon-hwm-store
Setup environment
~~~~~~~~~~~~~~~~~
Create virtualenv and install dependencies:
.. code:: bash
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:
.. code:: bash
pre-commit install --install-hooks
Test pre-commit hooks run:
.. code:: bash
pre-commit run
.. tests
Tests
~~~~~
Start all containers with dependencies:
.. code:: bash
docker-compose up -d
Load environment variables with connection properties:
.. code:: bash
source .env.local
Run tests:
.. code:: bash
./run_tests.sh
You can pass additional arguments, they will be passed to pytest:
.. code:: bash
./run_tests.sh -k sometest -lsx -vvvv --log-cli-level=INFO
Stop all containers and remove created volumes:
.. code:: bash
docker-compose down -v
Raw data
{
"_id": null,
"home_page": "https://github.com/MobileTeleSystems/horizon-hwm-store",
"name": "horizon-hwm-store",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "ETL,Horizon,HWM",
"author": "DataOps.ETL Team",
"author_email": "onetools@mts.ru",
"download_url": "https://files.pythonhosted.org/packages/54/b4/6d1cc717b0746fb007fc70f5001c8a823c4d533c3f2a9629e7ce38ea57b5/horizon-hwm-store-0.1.4.tar.gz",
"platform": null,
"description": ".. title\n\nWhat is Horizon HWM Store?\n==========================\n\n|Repo Status| |Build Status| |PyPI License| |PyPI Python Version| |Documentation| |Coverage|\n\n.. |Repo Status| image:: https://www.repostatus.org/badges/latest/active.svg\n :target: https://github.com/MobileTeleSystems/horizon-hwm-store\n.. |Build Status| image:: https://github.com/MobileTeleSystems/horizon-hwm-store/workflows/Tests/badge.svg\n :target: https://github.com/MobileTeleSystems/horizon-hwm-store/actions\n.. |PyPI License| image:: https://img.shields.io/pypi/l/horizon-hwm-store.svg\n :target: https://github.com/MobileTeleSystems/horizon-hwm-store/blob/develop/LICENSE.txt\n.. |PyPI Python Version| image:: https://img.shields.io/pypi/pyversions/horizon-hwm-store.svg\n :target: https://badge.fury.io/py/horizon-hwm-store\n.. |Documentation| image:: https://readthedocs.org/projects/horizon-hwm-store/badge/?version=stable\n :target: https://horizon-hwm-store.readthedocs.io/\n.. |Coverage| image:: https://codecov.io/gh/MobileTeleSystems/horizon-hwm-store/branch/develop/graph/badge.svg?token=RIO8URKNZJ\n :target: https://codecov.io/gh/MobileTeleSystems/horizon-hwm-store\n\n* ``horizon-hwm-store`` is a Python library to interact with Horizon service by saving and retrieving HWM.\n\nRequirements\n------------\n* **Python 3.7+**\n\nDocumentation\n-------------\n\nSee https://horizon-hwm-store.readthedocs.io/\n\n.. install\n\nInstallation\n---------------\n\n.. code:: bash\n\n pip install horizon-hwm-store\n\n.. develops\n\nDevelop\n-------\n\nClone repo\n~~~~~~~~~~\n\nClone repo:\n\n.. code:: bash\n\n git clone https://github.com/MobileTeleSystems/horizon-hwm-store.git -b develop\n\n cd horizon-hwm-store\n\nSetup environment\n~~~~~~~~~~~~~~~~~\n\nCreate virtualenv and install dependencies:\n\n.. code:: bash\n\n python -m venv venv\n source venv/bin/activate\n pip install -U wheel\n pip install -U pip setuptools\n pip install -U \\\n -r requirements.txt \\\n -r requirements-dev.txt \\\n -r requirements-docs.txt \\\n -r requirements-test.txt\n\nEnable pre-commit hooks\n~~~~~~~~~~~~~~~~~~~~~~~\n\nInstall pre-commit hooks:\n\n.. code:: bash\n\n pre-commit install --install-hooks\n\nTest pre-commit hooks run:\n\n.. code:: bash\n\n pre-commit run\n\n.. tests\n\nTests\n~~~~~\n\nStart all containers with dependencies:\n\n.. code:: bash\n\n docker-compose up -d\n\nLoad environment variables with connection properties:\n\n.. code:: bash\n\n source .env.local\n\nRun tests:\n\n.. code:: bash\n\n ./run_tests.sh\n\nYou can pass additional arguments, they will be passed to pytest:\n\n.. code:: bash\n\n ./run_tests.sh -k sometest -lsx -vvvv --log-cli-level=INFO\n\nStop all containers and remove created volumes:\n\n.. code:: bash\n\n docker-compose down -v\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "onETL Plugin for Horizon store",
"version": "0.1.4",
"project_urls": {
"CI/CD": "https://github.com/MobileTeleSystems/horizon-hwm-store/actions",
"Documentation": "https://horizon-hwm-store.readthedocs.io/",
"Homepage": "https://github.com/MobileTeleSystems/horizon-hwm-store",
"Source": "https://github.com/MobileTeleSystems/horizon-hwm-store",
"Tracker": "https://github.com/MobileTeleSystems/horizon-hwm-store/issues"
},
"split_keywords": [
"etl",
"horizon",
"hwm"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2b640de26f0662617574e8897ddcf91c9e1d6783f927b507cadb002575df557a",
"md5": "9d8fe1826f78a880498e8ee3dea2c871",
"sha256": "847e7d8b0d06a2bccd69342eff422d321795074772c2ffe21628bf80c6552cb0"
},
"downloads": -1,
"filename": "horizon_hwm_store-0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9d8fe1826f78a880498e8ee3dea2c871",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 10575,
"upload_time": "2024-02-14T08:33:22",
"upload_time_iso_8601": "2024-02-14T08:33:22.371464Z",
"url": "https://files.pythonhosted.org/packages/2b/64/0de26f0662617574e8897ddcf91c9e1d6783f927b507cadb002575df557a/horizon_hwm_store-0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "54b46d1cc717b0746fb007fc70f5001c8a823c4d533c3f2a9629e7ce38ea57b5",
"md5": "751702380bd5fb8a722afd3ddeb27dc5",
"sha256": "e0d2fb6d9a7066b7a0f16f9e64b37a48ea414aa48e4a9f56ed5b27c098cf4289"
},
"downloads": -1,
"filename": "horizon-hwm-store-0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "751702380bd5fb8a722afd3ddeb27dc5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 11215,
"upload_time": "2024-02-14T08:33:23",
"upload_time_iso_8601": "2024-02-14T08:33:23.940355Z",
"url": "https://files.pythonhosted.org/packages/54/b4/6d1cc717b0746fb007fc70f5001c8a823c4d533c3f2a9629e7ce38ea57b5/horizon-hwm-store-0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-14 08:33:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MobileTeleSystems",
"github_project": "horizon-hwm-store",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "horizon-hwm-store"
}