Nav apraksta

tanja 17e4d68b1c corrected small bug in CleaningUtils 5 gadi atpakaļ
cdplib 17e4d68b1c corrected small bug in CleaningUtils 5 gadi atpakaļ
.gitignore 9c3bf2cef9 Add an ignore file 5 gadi atpakaļ
Pipfile dc34ca6290 Create better log messages 5 gadi atpakaļ
Pipfile.lock 2efced997d Generate new lock file 5 gadi atpakaļ
README.md 1b8875631e Update 'README.md' 5 gadi atpakaļ
classes.png 7fbd2c2b6c update int 5 gadi atpakaļ
packages.png 7fbd2c2b6c update int 5 gadi atpakaļ
setup.py e7be1dcfc8 test docker pipfile 5 gadi atpakaļ

README.md

Install the package

Install cdplib via pipenv: pipenv install -e git+https://readonly:readonly@intra.acdp.at/gogs/tanja/cdplib.git#egg=cdplib

Adding new Features/Folders/Packages

How to set up a new Package:

  • Copy folder to respository into cdplib folder
  • Add the Package/Folder name to cdplib/init.py
    • Open it and add all python packages which schould be included
    • Package name is Preprocessing the line to add would be: from .Preprocessing import *
  • Add a cdplib/package_name/init.py file inside the new package folder
    • Open it and add all python skript which schould be included
    • Script name is FeatureSelection.py the line to add would be: from .FeatureSelection import *

Import into Script

from cdplib.db_migration import DataFrameToCollection

Update lib locally or in Docker

  • If changes are made run pipenv update in the wokring directory