doc-store-client 0.1.13__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,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: doc-store-client
3
+ Version: 0.1.13
4
+ Summary: Client library for the doc-store documentation service.
5
+ Author: Vasiliy Zdanovskiy
6
+ License-Expression: MIT
7
+ Keywords: documentation,client,search,json-rpc
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Topic :: Documentation
17
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
+ Requires-Python: >=3.11
19
+ Requires-Dist: chunk-metadata-adapter>=1.0
20
+ Requires-Dist: mcp-proxy-adapter>=8.10.19
21
+ Provides-Extra: test
22
+ Requires-Dist: pytest>=8; extra == "test"
23
+ Requires-Dist: pytest-asyncio>=0.23; extra == "test"
24
+ Provides-Extra: dev
25
+ Requires-Dist: doc-store-client[test]; extra == "dev"
26
+ Requires-Dist: ruff>=0.5; extra == "dev"
27
+ Requires-Dist: mypy>=1.10; extra == "dev"
28
+ Requires-Dist: build>=1.2; extra == "dev"
@@ -0,0 +1,66 @@
1
+ [build-system]
2
+ requires = ["setuptools>=69", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "doc-store-client"
7
+ version = "0.1.13"
8
+ description = "Client library for the doc-store documentation service."
9
+ requires-python = ">=3.11"
10
+ authors = [{ name = "Vasiliy Zdanovskiy" }]
11
+ license = "MIT"
12
+ keywords = ["documentation", "client", "search", "json-rpc"]
13
+ classifiers = [
14
+ "Development Status :: 3 - Alpha",
15
+ "Intended Audience :: Developers",
16
+ "Operating System :: OS Independent",
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Programming Language :: Python :: 3.13",
21
+ "Programming Language :: Python :: 3.14",
22
+ "Topic :: Documentation",
23
+ "Topic :: Software Development :: Libraries :: Python Modules",
24
+ ]
25
+ dependencies = [
26
+ "chunk-metadata-adapter>=1.0",
27
+ "mcp-proxy-adapter>=8.10.19",
28
+ ]
29
+
30
+ [project.optional-dependencies]
31
+ test = [
32
+ "pytest>=8",
33
+ "pytest-asyncio>=0.23",
34
+ ]
35
+ dev = [
36
+ "doc-store-client[test]",
37
+ "ruff>=0.5",
38
+ "mypy>=1.10",
39
+ "build>=1.2",
40
+ ]
41
+
42
+ [tool.setuptools]
43
+ include-package-data = true
44
+
45
+ [tool.setuptools.packages.find]
46
+ where = ["src"]
47
+ include = ["doc_store_client*"]
48
+ exclude = ["tests*", "test_environment*", "logs*"]
49
+
50
+ [tool.setuptools.package-data]
51
+ doc_store_client = ["py.typed"]
52
+
53
+ [tool.pytest.ini_options]
54
+ testpaths = ["tests"]
55
+
56
+ [tool.ruff]
57
+ line-length = 100
58
+ src = ["src", "tests"]
59
+
60
+ [tool.mypy]
61
+ python_version = "3.11"
62
+ packages = ["doc_store_client"]
63
+
64
+ [[tool.mypy.overrides]]
65
+ module = ["chunk_metadata_adapter"]
66
+ ignore_missing_imports = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,95 @@
1
+ """Public API for the transport-neutral doc-store client package."""
2
+
3
+ from importlib.metadata import PackageNotFoundError as _PackageNotFoundError
4
+ from importlib.metadata import version as _distribution_version
5
+ from pathlib import Path as _Path
6
+ import tomllib as _tomllib
7
+
8
+ from .client import DOC_STORE_COMMANDS, DocStoreClient, DocStoreClientError
9
+ from .models import (
10
+ ChapterGetRequest,
11
+ ChapterGetResult,
12
+ DocumentChunkRequest,
13
+ DocumentChunkResult,
14
+ DocumentCreateRequest,
15
+ DocumentCreateResult,
16
+ DocumentDeleteRequest,
17
+ DocumentDeleteResult,
18
+ DocumentGetRequest,
19
+ DocumentGetResult,
20
+ DocumentRebindRequest,
21
+ DocumentRebindResult,
22
+ DocumentUpdateRequest,
23
+ DocumentUpdateResult,
24
+ DocumentWriteRequest,
25
+ DocumentWriteResult,
26
+ EntityGetRequest,
27
+ EntityGetResult,
28
+ EntityIdsRequest,
29
+ EntityLifecycleResult,
30
+ EntityListRequest,
31
+ EntityListResult,
32
+ EntityReferencesRequest,
33
+ EntityReferencesResult,
34
+ OperationState,
35
+ ParagraphGetByNumberRequest,
36
+ ParagraphGetByNumberResult,
37
+ ParagraphGetRequest,
38
+ ParagraphGetResult,
39
+ ProcessingStatusRequest,
40
+ ProcessingStatusResult,
41
+ RankedSearchHit,
42
+ RetrievalRequest,
43
+ RetrievalResult,
44
+ SearchResult,
45
+ ServerError,
46
+ )
47
+
48
+ try:
49
+ __version__ = _distribution_version("doc-store-client")
50
+ except _PackageNotFoundError:
51
+ _pyproject = _Path(__file__).resolve().parents[2] / "pyproject.toml"
52
+ __version__ = _tomllib.loads(_pyproject.read_text(encoding="utf-8"))["project"]["version"]
53
+
54
+ # The package includes ``py.typed`` in its distribution metadata.
55
+ __all__ = [
56
+ "ChapterGetRequest",
57
+ "ChapterGetResult",
58
+ "DOC_STORE_COMMANDS",
59
+ "DocStoreClient",
60
+ "DocStoreClientError",
61
+ "DocumentCreateRequest",
62
+ "DocumentCreateResult",
63
+ "DocumentChunkRequest",
64
+ "DocumentChunkResult",
65
+ "DocumentDeleteRequest",
66
+ "DocumentDeleteResult",
67
+ "DocumentGetRequest",
68
+ "DocumentGetResult",
69
+ "DocumentRebindRequest",
70
+ "DocumentRebindResult",
71
+ "DocumentUpdateRequest",
72
+ "DocumentUpdateResult",
73
+ "DocumentWriteRequest",
74
+ "DocumentWriteResult",
75
+ "EntityGetRequest",
76
+ "EntityGetResult",
77
+ "EntityIdsRequest",
78
+ "EntityLifecycleResult",
79
+ "EntityListRequest",
80
+ "EntityListResult",
81
+ "EntityReferencesRequest",
82
+ "EntityReferencesResult",
83
+ "OperationState",
84
+ "ParagraphGetByNumberRequest",
85
+ "ParagraphGetByNumberResult",
86
+ "ParagraphGetRequest",
87
+ "ParagraphGetResult",
88
+ "ProcessingStatusRequest",
89
+ "ProcessingStatusResult",
90
+ "RankedSearchHit",
91
+ "RetrievalRequest",
92
+ "RetrievalResult",
93
+ "SearchResult",
94
+ "ServerError",
95
+ ]