Bez popisu

ogert 60abdd6dc6 Merge branch 'master' of https://intra.acdp.at/gogs/tanja/cdplib před 3 roky
cdplib 60abdd6dc6 Merge branch 'master' of https://intra.acdp.at/gogs/tanja/cdplib před 3 roky
hooks ee2def1fea Silenced exception for dispose_engine před 4 roky
.gitignore 9c3bf2cef9 Add an ignore file před 5 roky
Pipfile 362220280f removed mysql from Pipefile před 3 roky
Pipfile.lock db6b97772a made TypedDict import compatible with python < 3.8 před 3 roky
README.md 48552de24b added information how to install a package from a branch před 5 roky
classes.png 7fbd2c2b6c update int před 5 roky
packages.png 7fbd2c2b6c update int před 5 roky
setup.py b1851d563e upate setup.py před 4 roky

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

Install via Pipfile

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