Skip to content

Commit

Permalink
Merge pull request #19 from boschresearch/copyright-header-addition
Browse files Browse the repository at this point in the history
Copyright header addition
  • Loading branch information
AntonisKl authored Jan 23, 2023
2 parents b26024b + a303868 commit db023a5
Show file tree
Hide file tree
Showing 25 changed files with 73 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/generate-code-reference.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

"""Generate code reference using `mkdocs-gen-files` and `mkdocs-literate-nav`.
This script is run when mkdocs builds the documentation, and automatically creates
Expand Down
3 changes: 3 additions & 0 deletions examples/simple_ml_kg.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from classes import ExeKG

if __name__ == "__main__":
Expand Down
3 changes: 3 additions & 0 deletions examples/simple_stats_kg.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from classes import ExeKG

if __name__ == "__main__":
Expand Down
3 changes: 3 additions & 0 deletions examples/simple_visu_kg.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from classes import ExeKG

if __name__ == "__main__":
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from .exe_kg import ExeKG
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/data_entity.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from .entity import Entity


Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/entity.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from __future__ import annotations

from rdflib import URIRef
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/exe_kg.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

import os
from typing import Dict, Union

Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/kg_schema.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from typing import Dict

from rdflib import Graph, Namespace
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/task.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from abc import abstractmethod
from typing import Dict

Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/tasks/ml_tasks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from classes.entity import Entity
from classes.task import Task
from utils.task_utils.ml_utils import *
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/tasks/statistic_tasks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from classes.entity import Entity
from classes.task import Task
from utils.task_utils.statistic_utils import *
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/classes/tasks/visual_tasks.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from abc import abstractmethod

from classes.entity import Entity
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/cli/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

"""CLI entry point."""

import typer
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/kg_construction.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from classes import ExeKG
from utils.cli_utils import input_pipeline_info

Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/kg_execution.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

import sys

from classes import ExeKG
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

# from . import statistic_utils
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/cli_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from typing import List, Tuple

from classes.data_entity import DataEntity
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/kg_creation_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from typing import Dict, Union

from classes.data_entity import DataEntity
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/query_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from typing import Callable, List, Optional, Tuple

from classes.entity import Entity
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/string_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

import re


Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/task_utils/ml_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from typing import List, Tuple

import numpy as np
Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/task_utils/statistic_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

import numpy as np
import pandas as pd

Expand Down
3 changes: 3 additions & 0 deletions exe_kg_lib/utils/task_utils/visual_utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2022 Robert Bosch GmbH
# SPDX-License-Identifier: AGPL-3.0

from typing import Optional, Tuple

import pandas as pd
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "exe-kg-lib"
version = "1.0.7"
version = "1.0.8"
description = "Library for executable ML pipelines represented by KGs."
license = "AGPL-3.0"
authors = ["Antonis Klironomos <antonis.klironomos@de.bosch.com>", "Mohamed Gad-Elrab <mohamed.gad-elrab@de.bosch.com>"]
Expand Down

0 comments on commit db023a5

Please sign in to comment.