Skip to main content

ETL Entities lib for onETL

Project description

Repo Status PyPI PyPI License PyPI Python Version Documentation Build Status Coverage

What is ETL Entities?

Collection of classes used for handling High Water Mark (HWM) and gathering Lineage graph.

Currently implemented:
  • IntHWM

  • DateHWM

  • DateTimeHWM

  • FileListHWM

  • Column

  • Table

  • RemoteFolder

  • Process

How to install

pip install etl-entities

Documentation

See https://etl-entities.readthedocs.io/

Contribution guide

See CONTRIBUTING.rst

Security

See SECURITY.rst

Develop

Clone repo

Clone repo:

git clone git@github.com:MobileTeleSystems/etl-entities.git -b develop

cd etl-entities

Setup environment

Create virtualenv and install dependencies:

# create virtual environment
python -m venv venv
source venv/bin/activate
pip install -U wheel
pip install -U pip setuptools

# install requirements
pip install -U -r requirements.txt

Install dependencies for development:

# install linters, formatters, etc
pip install -U -r requirements-dev.txt

Enable pre-commit hooks

Install pre-commit hooks:

pre-commit install --install-hooks

Test pre-commit hooks run:

pre-commit run

Run tests

# install requirements for testing
pip install -U -r requirements-test.txt

# run tests
pytest

Build documentation

# install requirements for documentation
pip install -U -r requirements-docs.txt

cd docs

# generate html documentation
make html

Then open docs/_build/html/index.html file in browser.

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

etl-entities-1.3.1.tar.gz (22.8 kB view hashes)

Uploaded Source

Built Distribution

etl_entities-1.3.1-py3-none-any.whl (43.2 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