Skip to content

Commit 587dcc6

Browse files
authored
Merge pull request #21 from bci-oss/publish-loader-on-PyPi
Publish loader on PyPi
2 parents 1dc0775 + eb323b6 commit 587dcc6

File tree

2 files changed

+26
-15
lines changed

2 files changed

+26
-15
lines changed

core/esmf-aspect-meta-model-python/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
# Aspect Meta Model
1+
The aspect model loader as part of the Python SDK provided by the [*Eclipse Semantic Modeling Framework*](
2+
https://projects.eclipse.org/projects/dt.esmf])
23

3-
The `esmf-aspect-meta-model-python` package provides the Python implementation for the SAMM Aspect Meta Model, or SAMM.
4+
# An Aspect of the Meta Model
5+
6+
The `esmf-aspect-model-loader` package provides the Python implementation for the SAMM Aspect Meta Model, or SAMM.
47
Each Meta Model element and each Characteristic class is represented by an interface with a corresponding
58
implementation.
69

710
## Usage
811

9-
An Aspect of the Meta Model can be instantiated as follows using the provided `AspectInstantiator`.
12+
An Aspect of the Meta Model can be created as follows using the provided `AspectInstantiator`.
1013

1114
```
1215
aspect_loader = AspectLoader()
@@ -22,15 +25,13 @@ aspect = aspect_loader.load_aspect_model_from_multiple_files(["list/of/paths/to/
2225

2326
## Automatic Deployment
2427

25-
A [release GitHub action](https://github.com/eclipse-esmf/esmf-sdk-py-aspect-model-loader/actions/workflows/tagged_release.yml)
26-
has been setup for the
27-
`esmf-aspect-meta-model` component where the module will be build and checked to ensure code quality by running test
28-
files and the [static type checker MyPy](https://github.com/python/mypy) and
28+
A [GitHub action called 'Release'](https://github.com/eclipse-esmf/esmf-sdk-py-aspect-model-loader/actions/workflows/tagged_release.yml)
29+
has been set up for the `esmf-aspect-model-loader`. This action checks the code quality by running tests, the [static type checker MyPy](https://github.com/python/mypy) and
2930
the [code formatter 'Black'](https://github.com/psf/black).
3031

31-
## Set Up SAMM Aspect Meta Model für development
32+
## Set Up SAMM Aspect Meta Model for development
3233

33-
In order to download the SAMM sources, it is required to run `poetry install` once in the `esmf-aspect-meta-model-python`
34+
In order to download the SAMM sources, it is required to run `poetry install` once in the `esmf-aspect-model-loader`
3435
module. There are two possibilities to download the SAMM files and extract the Turtle sources for the Meta Model.
3536

3637
### Possibility 1 (downloading a release)

core/esmf-aspect-meta-model-python/pyproject.toml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,26 @@
11
[tool.poetry]
2-
name = "esmf-aspect-meta-model-python"
2+
name = "esmf-aspect-model-loader"
33
version = "0.0.1"
4-
description = ""
4+
description = "Load Aspect Models based on the Semantic Aspect Meta Model"
55
authors = [
6-
"Aghyad Farrouh <[email protected]>",
7-
"Georg Schmidt-Dumont <[email protected]>",
8-
"Nico Makowe <[email protected]>",
6+
"Eclipse Semantic Modeling Framework",
7+
"Hanna Shalamitskaya <[email protected]>",
8+
"Andreas Textor <[email protected]> ",
9+
"Georg Schmidt-Dumont <[email protected]>",
10+
"Nico Makowe",
11+
"Aghyad Farrouh",
912
]
13+
packages = [{include = "esmf_aspect_meta_model_python"}]
1014
include = ["esmf_aspect_meta_model_python/samm_aspect_meta_model/samm/**/*"]
15+
license = "MPL-2.0"
16+
readme = "README.md"
17+
keywords = ["samm", "esmf", "digital twin", "idta", "model loader", "semantic api", "semantics", "aspect"]
18+
homepage = "https://projects.eclipse.org/projects/dt.esmf"
19+
repository = "https://github.com/bci-oss/esmf-sdk-py-aspect-model-loader"
20+
documentation = "https://eclipse-esmf.github.io/python-sdk-guide/index.html"
1121

1222
[tool.poetry.dependencies]
13-
python = "^3.10"
23+
python = ">=3.10"
1424
rdflib = "^6.2.0"
1525
requests = "^2.28.1"
1626
tox = "^4.5.2"

0 commit comments

Comments
 (0)