londonaicentre-mesa-types 2.0.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.
- londonaicentre_mesa_types-2.0.0/PKG-INFO +8 -0
- londonaicentre_mesa_types-2.0.0/pyproject.toml +24 -0
- londonaicentre_mesa_types-2.0.0/setup.cfg +4 -0
- londonaicentre_mesa_types-2.0.0/src/londonaicentre_mesa_types.egg-info/PKG-INFO +8 -0
- londonaicentre_mesa_types-2.0.0/src/londonaicentre_mesa_types.egg-info/SOURCES.txt +10 -0
- londonaicentre_mesa_types-2.0.0/src/londonaicentre_mesa_types.egg-info/dependency_links.txt +1 -0
- londonaicentre_mesa_types-2.0.0/src/londonaicentre_mesa_types.egg-info/requires.txt +1 -0
- londonaicentre_mesa_types-2.0.0/src/londonaicentre_mesa_types.egg-info/top_level.txt +1 -0
- londonaicentre_mesa_types-2.0.0/src/mesa_types/__init__.py +6 -0
- londonaicentre_mesa_types-2.0.0/src/mesa_types/document.py +23 -0
- londonaicentre_mesa_types-2.0.0/src/mesa_types/py.typed +0 -0
- londonaicentre_mesa_types-2.0.0/src/mesa_types/training_example.py +12 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: londonaicentre-mesa-types
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: MESA types
|
|
5
|
+
Author-email: "Dr. Joe Zhang" <jzhang@nhs.net>, Sophie Ratkai <s.ratkai@nhs.net>, Martin Chapman <contact@martinchapman.co.uk>
|
|
6
|
+
License-Expression: CC-BY-NC-ND-4.0
|
|
7
|
+
Requires-Python: >=3.12
|
|
8
|
+
Requires-Dist: pydantic>=2.12.5
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "londonaicentre-mesa-types"
|
|
3
|
+
description = "MESA types"
|
|
4
|
+
authors = [
|
|
5
|
+
{ name = "Dr. Joe Zhang", email = "jzhang@nhs.net" },
|
|
6
|
+
{ name = "Sophie Ratkai", email = "s.ratkai@nhs.net" },
|
|
7
|
+
{ name = "Martin Chapman", email = "contact@martinchapman.co.uk" },
|
|
8
|
+
]
|
|
9
|
+
version = "2.0.0"
|
|
10
|
+
requires-python = ">=3.12"
|
|
11
|
+
license = "CC-BY-NC-ND-4.0"
|
|
12
|
+
dependencies = [
|
|
13
|
+
"pydantic>=2.12.5",
|
|
14
|
+
]
|
|
15
|
+
[build-system]
|
|
16
|
+
requires = ["setuptools>=80.9.0"]
|
|
17
|
+
build-backend = "setuptools.build_meta"
|
|
18
|
+
[tool.setuptools]
|
|
19
|
+
package-data = {"mesa_types" = ["py.typed"]}
|
|
20
|
+
[dependency-groups]
|
|
21
|
+
dev = [
|
|
22
|
+
"mypy>=1.18.2",
|
|
23
|
+
"ruff>=0.14.6",
|
|
24
|
+
]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: londonaicentre-mesa-types
|
|
3
|
+
Version: 2.0.0
|
|
4
|
+
Summary: MESA types
|
|
5
|
+
Author-email: "Dr. Joe Zhang" <jzhang@nhs.net>, Sophie Ratkai <s.ratkai@nhs.net>, Martin Chapman <contact@martinchapman.co.uk>
|
|
6
|
+
License-Expression: CC-BY-NC-ND-4.0
|
|
7
|
+
Requires-Python: >=3.12
|
|
8
|
+
Requires-Dist: pydantic>=2.12.5
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
pyproject.toml
|
|
2
|
+
src/londonaicentre_mesa_types.egg-info/PKG-INFO
|
|
3
|
+
src/londonaicentre_mesa_types.egg-info/SOURCES.txt
|
|
4
|
+
src/londonaicentre_mesa_types.egg-info/dependency_links.txt
|
|
5
|
+
src/londonaicentre_mesa_types.egg-info/requires.txt
|
|
6
|
+
src/londonaicentre_mesa_types.egg-info/top_level.txt
|
|
7
|
+
src/mesa_types/__init__.py
|
|
8
|
+
src/mesa_types/document.py
|
|
9
|
+
src/mesa_types/py.typed
|
|
10
|
+
src/mesa_types/training_example.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pydantic>=2.12.5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
mesa_types
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""
|
|
2
|
+
document.py
|
|
3
|
+
|
|
4
|
+
Data model for document JSONs
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from pydantic import BaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Document(BaseModel):
|
|
11
|
+
"""
|
|
12
|
+
This is the standard format for documents in MESA documents,
|
|
13
|
+
used as input for training data generation.
|
|
14
|
+
|
|
15
|
+
Attributes:
|
|
16
|
+
content: document text content
|
|
17
|
+
source: descriptive source identifier (e.g., "docsynth-oncology", "wikipedia-paragraphs")
|
|
18
|
+
timestamp: creation timestamp
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
content: str
|
|
22
|
+
source: str
|
|
23
|
+
timestamp: str
|
|
File without changes
|