Skip to content

This repository contains Python samples for EDC REST API. For instructions on running the samples, see the Usage files in the python directory.

License

Notifications You must be signed in to change notification settings

jacbeekers/Informatica-EDC-REST-API-Samples

 
 

Repository files navigation

Informatica EDC REST-API-Samples for Python

This repository contains Python samples for EDC's REST API. Forked from Informatica-EIC/REST-API-Samples. Removed Java source.

Official REST API documents can be found here

Getting Started

  • Create a virtual environment: python3 -m venv venv
  • Activate the virtual environment: source venv/bin/activate
  • Install the package
    • The latest version from test.pypi.org:

      pip3 install --extra-index-url https://test.pypi.org/simple/ informatica-edc-rest-api-samples

    • The tested version from pypi.org:

      pip3 install informatica-edc-rest-api-samples

  • Run the code
    • python3 run_edc_lineage.py
    • Note: Check the run_edc_lineage code if you want to use your own config.json

Note: Check the coverage information available in coverage overview

Contributing

Steps to setup your development environment

  • Clone this repository
  • This repository uses one submodules. Run the following the get it:
    git submodule init
    git submodule update

The git repository metadata-registry-interface-specifications will be located in Informatica-EDC-REST-API-Samples/python/metadata-registry-specifications

  • Create a virtual environment in the main directory:

      cd <your_directory>/Informatica-EDC-REST-API-Samples
      python3 -m venv venv
  • Source it

      source venv/bin/activate

    On Windows:

      venv\bin\Scripts\activate.cmd
    
  • Upgrade pip get rid of annoying 'you should bla bla':

    python3 -m pip install --upgrade pip
  • create the directory temp in the directory python:

    cd <your_directory>/Informatica-EDC-REST-API-Samples/python
    mkdir temp
  • install requirements file that exists in the python directory: (make sure the venv is active)

    cd <your_directory>/Informatica-EDC-REST-API-Samples/python
    pip3 install -r requirements.txt    

    Note: This also install the package itself. You may want to uninstall it:

    pip3 uninstall informatica-edc-rest-api-samples

More info on the metadata_utilities

Dependency Graph

Documentation

Documentation as html

Usage

More info on the edc_utilities

(these are used by the metadata_utilities)

Dependency Graph

Documentation

Documentation as html

Usage

Package on PyPI

We are on PyPI

About

This repository contains Python samples for EDC REST API. For instructions on running the samples, see the Usage files in the python directory.

Resources

License

Stars

Watchers

Forks

Languages

  • HTML 90.9%
  • Python 8.1%
  • JavaScript 0.6%
  • CSS 0.3%
  • Shell 0.1%
  • TSQL 0.0%