# kisters.network_store.model_library
Base models and associated utilities for the KISTERS Network Store.
## A Note on Entrypoints
To publish a model library using entrypoints, add the domain and path to the
root directory of your library to the entrypoint
`kisters.network_store.model_library.util`. For example, the model library for
the water domain looks as follows:
```python
entry_points = {
"kisters.network_store.model_library.util": [
"water = kisters.network_store.model_library.water"
],
}
```
For the entrypoint to correctly identify the models in the library, the root
`__init__.py` must include the `links` and `nodes` modules. Furthermore, the
parent node of your library's nodes is expected to be called `_Node` and the
parent link is expected to be called `_Link`. All links and nodes in your
library will inherit from these two elements.
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/kisters/network-store/model-library",
"name": "kisters.network-store.model-library",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Jesse VanderWees",
"author_email": "jesse.vanderwees@kisters-bv.nl",
"download_url": "https://files.pythonhosted.org/packages/28/17/b95d29d06ce0c4953a14eadfae141919ff821d198f05af4a7b2050526bf6/kisters.network_store.model_library-0.5.2.tar.gz",
"platform": null,
"description": "# kisters.network_store.model_library\n\nBase models and associated utilities for the KISTERS Network Store.\n\n## A Note on Entrypoints\n\nTo publish a model library using entrypoints, add the domain and path to the\nroot directory of your library to the entrypoint\n`kisters.network_store.model_library.util`. For example, the model library for\nthe water domain looks as follows:\n\n```python\nentry_points = {\n \"kisters.network_store.model_library.util\": [\n \"water = kisters.network_store.model_library.water\"\n ],\n}\n```\n\nFor the entrypoint to correctly identify the models in the library, the root\n`__init__.py` must include the `links` and `nodes` modules. Furthermore, the\nparent node of your library's nodes is expected to be called `_Node` and the\nparent link is expected to be called `_Link`. All links and nodes in your\nlibrary will inherit from these two elements.\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Model library for the Kisters Network Store ecosystem",
"version": "0.5.2",
"project_urls": {
"Homepage": "https://gitlab.com/kisters/network-store/model-library"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0adf82a642f64737c70938e5657e8b7f00e2f1a482f92c7bfe86d91d47a800e6",
"md5": "b4f69a1a9d41f6321c476bd4150c6738",
"sha256": "31abddcb3729f32bf66e05e5aebe1dfc4bbe87e50a796654bfc876e71186acce"
},
"downloads": -1,
"filename": "kisters.network_store.model_library-0.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b4f69a1a9d41f6321c476bd4150c6738",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15321,
"upload_time": "2024-06-19T15:45:48",
"upload_time_iso_8601": "2024-06-19T15:45:48.022753Z",
"url": "https://files.pythonhosted.org/packages/0a/df/82a642f64737c70938e5657e8b7f00e2f1a482f92c7bfe86d91d47a800e6/kisters.network_store.model_library-0.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2817b95d29d06ce0c4953a14eadfae141919ff821d198f05af4a7b2050526bf6",
"md5": "e0d44bf00ef501d772a0df45c74b8a74",
"sha256": "82e1222c1757b39e09886aacc2eca03a268bb61f53622ee0c343755c16f96c59"
},
"downloads": -1,
"filename": "kisters.network_store.model_library-0.5.2.tar.gz",
"has_sig": false,
"md5_digest": "e0d44bf00ef501d772a0df45c74b8a74",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15832,
"upload_time": "2024-06-19T15:45:50",
"upload_time_iso_8601": "2024-06-19T15:45:50.827848Z",
"url": "https://files.pythonhosted.org/packages/28/17/b95d29d06ce0c4953a14eadfae141919ff821d198f05af4a7b2050526bf6/kisters.network_store.model_library-0.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-19 15:45:50",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "kisters",
"gitlab_project": "network-store",
"lcname": "kisters.network-store.model-library"
}