Giter VIP home page Giter VIP logo

dvtt's Introduction

Data Validation & Transfer Tool (DVTT)

Data Validation & Transfer Tool (ODVTT) is partially related to DIRBS System. It is used to validate operator data dump which is imported into DIRBS Core.

Directory structure

This repository contains code for ODVTT. Directory structure is:

  • examples/ -- Contains JSON configuratio file which is passed as command line argument
  • schemas/ -- Validation schema for JSON configuration & CSV file
  • sftp/ -- An example .pem for file transfer
  • tests/ -- Unit test scripts and Data

Prerequisites

In order to run a development environment, download and install, Python 3.6+

Downlload java based validation tool CSV Validator & Java

We also assume that this repo is cloned from Github onto the local computer, it is assumed that all commands mentioned in this guide are run from root directory of the project and inside virtual environment

On Windows, we assume that a Bash like shell is available (i.e Bash under Cygwin), with GNU make installed.

Starting a dev environment

The easiest and quickest way to get started is to use local-only environment (i.e everything runs locally). To setup the local environment, follow the section below:

Setting up local dev environment

For setting up a local dev environment we assume that the prerequisites are met already. To setup a local environment:

  • Create virtual environment using virtualenv and activate it:
virtualenv venv
source venv/bin/activate
  • For Windows, you have to install virtualenv using pip:
pip install virtualenv
virtualenv venv
venv\bin\activate.bat
  • Install the project requirements
$ pip install -r requirements.txt

Note: Please see the odvtt_example.json configuration file for inputs which are required.

  • Run the dvtt tool
python odvtt.py /your/configuration/file.json

dvtt's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.