ilc-models 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ # Python-generated files
2
+ __pycache__/
3
+ *.py[oc]
4
+ build/
5
+ dist/
6
+ wheels/
7
+ *.egg-info
8
+
9
+ # Virtual environments
10
+ .venv
11
+
12
+ # Test coverage
13
+ .coverage
14
+
15
+ # Mac OS files
16
+ .DS_Store
17
+
18
+ # Sphinx documentation
19
+ docs/make.bat
20
+ docs/Makefile
@@ -0,0 +1 @@
1
+ 3.13
@@ -0,0 +1,22 @@
1
+ # Read the Docs configuration file for Sphinx projects
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ # Required
5
+ version: 2
6
+
7
+ # Set the OS, Python version and other tools you might need
8
+ build:
9
+ os: ubuntu-22.04
10
+ tools:
11
+ python: "3.13"
12
+
13
+ # Build documentation in the "docs/" directory with Sphinx
14
+ sphinx:
15
+ configuration: docs/source/conf.py
16
+
17
+ # Optional but recommended, declare the Python requirements required
18
+ # to build your documentation
19
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20
+ python:
21
+ install:
22
+ - requirements: docs/requirements.txt
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Neil Martin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,33 @@
1
+ Metadata-Version: 2.4
2
+ Name: ilc-models
3
+ Version: 0.1.0
4
+ Summary: Data models for the ILC project
5
+ Project-URL: Repository, https://github.com/fourtreestech/ilc-models
6
+ Author-email: Neil Martin <neil@fourtrees.tech>
7
+ License-Expression: MIT
8
+ License-File: LICENSE.txt
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Natural Language :: English
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Topic :: Software Development :: Libraries
16
+ Classifier: Typing :: Typed
17
+ Requires-Python: >=3.11
18
+ Requires-Dist: pydantic>=2.10.6
19
+ Description-Content-Type: text/markdown
20
+
21
+ # ilc-models
22
+
23
+ ![version](https://img.shields.io/badge/version-0.1.0-blue)
24
+ ![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Ffourtreestech%2Filc-models%2Fmain%2Fpyproject.toml)
25
+ ![coverage](https://img.shields.io/badge/coverage-100%25-green)
26
+
27
+ **ilc-models** contains all data models for the *ILC* project.
28
+
29
+ ## Installation
30
+
31
+ (.venv) $ pip install ilc-models
32
+
33
+
@@ -0,0 +1,13 @@
1
+ # ilc-models
2
+
3
+ ![version](https://img.shields.io/badge/version-0.1.0-blue)
4
+ ![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2Ffourtreestech%2Filc-models%2Fmain%2Fpyproject.toml)
5
+ ![coverage](https://img.shields.io/badge/coverage-100%25-green)
6
+
7
+ **ilc-models** contains all data models for the *ILC* project.
8
+
9
+ ## Installation
10
+
11
+ (.venv) $ pip install ilc-models
12
+
13
+
@@ -0,0 +1,28 @@
1
+ alabaster==1.0.0
2
+ annotated-types==0.7.0
3
+ babel==2.17.0
4
+ certifi==2025.1.31
5
+ charset-normalizer==3.4.1
6
+ docutils==0.21.2
7
+ idna==3.10
8
+ imagesize==1.4.1
9
+ jinja2==3.1.6
10
+ markupsafe==3.0.2
11
+ packaging==24.2
12
+ pydantic==2.10.6
13
+ pydantic-core==2.27.2
14
+ pygments==2.19.1
15
+ requests==2.32.3
16
+ roman-numerals-py==3.1.0
17
+ snowballstemmer==2.2.0
18
+ sphinx==8.2.3
19
+ sphinx-rtd-theme==3.0.2
20
+ sphinxcontrib-applehelp==2.0.0
21
+ sphinxcontrib-devhelp==2.0.0
22
+ sphinxcontrib-htmlhelp==2.1.0
23
+ sphinxcontrib-jquery==4.1
24
+ sphinxcontrib-jsmath==1.0.1
25
+ sphinxcontrib-qthelp==2.0.0
26
+ sphinxcontrib-serializinghtml==2.0.0
27
+ typing-extensions==4.12.2
28
+ urllib3==2.3.0
@@ -0,0 +1,6 @@
1
+ API
2
+ ===
3
+
4
+ .. automodule:: ilc_models
5
+ :members:
6
+ :exclude-members: model_config
@@ -0,0 +1,42 @@
1
+ # Configuration file for the Sphinx documentation builder.
2
+ #
3
+ # For the full list of built-in configuration values, see the documentation:
4
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
5
+
6
+ import sys
7
+ from pathlib import Path
8
+
9
+ # Add import path for sphinx autodoc
10
+ sys.path.insert(0, str(Path("..", "..", "src").resolve()))
11
+
12
+ # -- Project information -----------------------------------------------------
13
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
14
+
15
+ project = "ilc-models"
16
+ copyright = "2025, Neil Martin"
17
+ author = "Neil Martin"
18
+ release = "0.1.0"
19
+
20
+ # -- General configuration ---------------------------------------------------
21
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
22
+
23
+ extensions = [
24
+ "sphinx.ext.autodoc",
25
+ "sphinx.ext.duration",
26
+ "sphinx.ext.intersphinx",
27
+ "sphinx.ext.viewcode",
28
+ "sphinx_rtd_theme",
29
+ ]
30
+
31
+ templates_path = ["_templates"]
32
+ exclude_patterns = []
33
+
34
+ intersphinx_mapping = {
35
+ "python": ("https://docs.python.org/3", None),
36
+ }
37
+
38
+ # -- Options for HTML output -------------------------------------------------
39
+ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
40
+
41
+ html_theme = "sphinx_rtd_theme"
42
+ html_static_path = ["_static"]
@@ -0,0 +1,10 @@
1
+ ilc-models
2
+ ==========
3
+
4
+ **Data models for the *ILC* project**
5
+
6
+ .. toctree::
7
+ :maxdepth: 2
8
+ :caption: Contents:
9
+
10
+ api
@@ -0,0 +1,52 @@
1
+ [project]
2
+ name = "ilc-models"
3
+ dynamic = ["version"]
4
+ description = "Data models for the ILC project"
5
+ readme = "README.md"
6
+ authors = [
7
+ { name = "Neil Martin", email = "neil@fourtrees.tech" }
8
+ ]
9
+ requires-python = ">=3.11"
10
+ license = "MIT"
11
+ dependencies = [
12
+ "pydantic>=2.10.6",
13
+ ]
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Intended Audience :: Developers",
17
+ "Natural Language :: English",
18
+ "Topic :: Software Development :: Libraries",
19
+ "Typing :: Typed",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Programming Language :: Python :: 3.13",
23
+ ]
24
+
25
+ [project.urls]
26
+ Repository = "https://github.com/fourtreestech/ilc-models"
27
+
28
+ [build-system]
29
+ requires = ["hatchling"]
30
+ build-backend = "hatchling.build"
31
+
32
+ [tool.hatch.version]
33
+ path = "src/ilc_models/__init__.py"
34
+
35
+ [tool.mypy]
36
+ packages = ["ilc_models", "tests.conftest"]
37
+
38
+ [tool.uv.sources]
39
+ ilc-provider = { path = "../ilc-provider", editable = true }
40
+
41
+ [dependency-groups]
42
+ dev = [
43
+ "faker>=37.0.0",
44
+ "ilc-provider",
45
+ "mypy>=1.15.0",
46
+ "pytest>=8.3.5",
47
+ "pytest-cov>=6.0.0",
48
+ "pytest-randomly>=3.16.0",
49
+ "rich>=13.9.4",
50
+ "sphinx>=8.2.3",
51
+ "sphinx-rtd-theme>=3.0.2",
52
+ ]