pydelity 0.0.1__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.
pydelity-0.0.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 IDinsight
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,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: pydelity
3
+ Version: 0.0.1
4
+ Summary: Under development and not yet usable. PDF to structured JSON, faithfully.
5
+ Author-email: IDinsight DSEM <dsem@idinsight.org>
6
+ Maintainer-email: IDinsight DSEM <dsem@idinsight.org>
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://github.com/IDinsight/pydelity
9
+ Project-URL: Issues, https://github.com/IDinsight/pydelity/issues
10
+ Project-URL: Repository, https://github.com/IDinsight/pydelity
11
+ Keywords: structured,JSON,PDF,genai,llm,agents
12
+ Classifier: Development Status :: 1 - Planning
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Requires-Python: >=3.13
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Dynamic: license-file
18
+
19
+ # pydelity
20
+
21
+ Under development and not yet usable.
22
+
23
+ pydelity will turn PDFs into faithful, structured JSON. This release only
24
+ reserves the name on PyPI and contains no working code. The first usable release
25
+ will be 0.1.0 or later.
26
+
27
+ Source code: <https://github.com/IDinsight/pydelity>
@@ -0,0 +1,9 @@
1
+ # pydelity
2
+
3
+ Under development and not yet usable.
4
+
5
+ pydelity will turn PDFs into faithful, structured JSON. This release only
6
+ reserves the name on PyPI and contains no working code. The first usable release
7
+ will be 0.1.0 or later.
8
+
9
+ Source code: <https://github.com/IDinsight/pydelity>
@@ -0,0 +1,173 @@
1
+ # BUILD SYSTEM CONFIGS #
2
+ [build-system]
3
+ build-backend = "setuptools.build_meta"
4
+ # 77+ supports SPDX `license` expressions with `license-files`.
5
+ requires = ["setuptools>=77"]
6
+
7
+ [tool.setuptools]
8
+ package-dir = {"" = "src"}
9
+
10
+ [tool.setuptools.packages.find]
11
+ include = ["pydelity*"]
12
+ where = ["src"]
13
+
14
+ # PROJECT METADATA #
15
+ [project]
16
+ authors = [{name = "IDinsight DSEM", email = "dsem@idinsight.org" }]
17
+ classifiers = [
18
+ "Development Status :: 1 - Planning",
19
+ "Programming Language :: Python :: 3.13",
20
+ ]
21
+ dependencies = []
22
+ description = "Under development and not yet usable. PDF to structured JSON, faithfully."
23
+ keywords = ["structured", "JSON", "PDF", "genai", "llm", "agents"]
24
+ license = "MIT"
25
+ license-files = ["LICENSE"]
26
+ maintainers = [{name = "IDinsight DSEM", email = "dsem@idinsight.org" }]
27
+ name = "pydelity"
28
+ readme = "README.md"
29
+ requires-python = ">=3.13"
30
+ version = "0.0.1"
31
+
32
+ [project.urls]
33
+ Homepage = "https://github.com/IDinsight/pydelity"
34
+ Issues = "https://github.com/IDinsight/pydelity/issues"
35
+ Repository = "https://github.com/IDinsight/pydelity"
36
+
37
+ # DEV ENVIRONMENT #
38
+ # Dev tools live in a dependency group, so they never appear in published metadata.
39
+ [dependency-groups]
40
+ dev = [
41
+ "black==25.9.0",
42
+ "detect-secrets==1.5.0",
43
+ "interrogate==1.7.0",
44
+ "isort==6.1.0",
45
+ "mypy==1.18.2",
46
+ "mypy-extensions==1.1.0",
47
+ "pre-commit==4.3.0",
48
+ "pylint==3.3.8",
49
+ "pylint-pytest==1.1.8",
50
+ "pytest==8.2.0",
51
+ "pytest-asyncio==1.2.0",
52
+ "pytest-bdd==8.1.0",
53
+ "pytest-cov==7.0.0",
54
+ "pytest-mock==3.15.1",
55
+ "pytest-order==1.3.0",
56
+ "pytest-randomly==4.0.1",
57
+ "pytest-xdist==3.8.0",
58
+ "ruff==0.13.3",
59
+ "types-aiofiles==24.1.0.20250822",
60
+ "types-requests==2.32.4.20260107",
61
+ ]
62
+
63
+ [tool.uv]
64
+ # Reinstall the project when any packaged file changes, so new modules are picked up
65
+ # by the strict editable install below.
66
+ cache-keys = [{ file = "pyproject.toml" }, { file = "src/**/*" }]
67
+ # Strict editable install: the environment sees only the files a wheel would contain,
68
+ # instead of the whole `src/` directory, so packaging mistakes fail the tests.
69
+ config-settings-package = { pydelity = { editable_mode = "strict" } }
70
+ # One exact uv for everyone, so a lock written by one uv can be read by the others.
71
+ required-version = "==0.13.8"
72
+
73
+ # TOOLS #
74
+
75
+ # black
76
+ [tool.black]
77
+ exclude = '''
78
+ /(
79
+ \.git
80
+ | \.hg
81
+ | \.mypy_cache
82
+ | \.tox
83
+ | \.venv
84
+ | _build
85
+ | buck-out
86
+ | build
87
+ | dist
88
+ )/
89
+ setup.py
90
+ '''
91
+ include = '\.pyi?$'
92
+ line-length = 88
93
+
94
+ # interrogate
95
+ [tool.interrogate]
96
+ badge-format = "svg"
97
+ color = true
98
+ exclude = ["*/__init__.py"]
99
+ ext = []
100
+ generate-badge = "." # Output file location (the repo root)
101
+ ignore-magic = false
102
+ ignore-init-method = false
103
+ ignore-init-module = false
104
+ ignore-private = false
105
+ ignore-property-decorators = false
106
+ ignore-module = false
107
+ ignore-nested-classes = false
108
+ ignore-nested-functions = false
109
+ ignore-overloaded-functions = false
110
+ ignore-semiprivate = false
111
+ ignore-setters = false
112
+ ignore-regex = ["__init__.py*", "^mock_.*"]
113
+ fail-under = 100
114
+ omit-covered-files = false
115
+ quiet = false
116
+ verbose = 0 # Possible values: 0 (minimal output), 1 (-v), 2 (-vv)
117
+ whitelist-regex = []
118
+
119
+ # isort
120
+ [tool.isort]
121
+ atomic = true
122
+ filter_files = true
123
+ import_heading_firstparty = "Package Library"
124
+ import_heading_future = "Future Library"
125
+ import_heading_localfolder = "Local Folder"
126
+ import_heading_stdlib = "Standard Library"
127
+ import_heading_thirdparty = "Third Party Library"
128
+ include_trailing_comma = true
129
+ known_first_party = "pydelity"
130
+ known_third_party = "git, mpi4py, ntpath, numpy, pexpect, pytest, sphinx_rtd_theme, yaml"
131
+ line_length = 88
132
+ lines_between_types = 1
133
+ multi_line_output = 3
134
+ profile = "black"
135
+
136
+ # mypy
137
+ [tool.mypy]
138
+ disallow_untyped_defs = true
139
+ ignore_missing_imports = true
140
+ plugins = ["pydantic.mypy"]
141
+
142
+ # pytest
143
+ # Tests import `pydelity` as installed in the environment; nothing adds `src` to the path.
144
+ [tool.pytest.ini_options]
145
+ asyncio_mode = "auto"
146
+ bdd_features_base_dir = "tests/features/"
147
+ markers = ["costs-money"]
148
+ testpaths = ["tests"]
149
+
150
+ # pytest coverage
151
+ [tool.coverage.report]
152
+ exclude_lines = [
153
+ 'if __name__ == "__main__"',
154
+ "if __name__ == '__main__'",
155
+ "def cli",
156
+ "if TYPE_CHECKING:",
157
+ "pragma: no cover",
158
+ ]
159
+ omit = ["./src/pydelity/__init__.py"]
160
+
161
+ [tool.coverage.run]
162
+ branch = true
163
+ concurrency = ["thread"]
164
+ omit = ["*/tests/*", "*/__init__.py"]
165
+ source = ["pydelity"]
166
+
167
+ # ruff
168
+ [tool.ruff]
169
+ line-length = 88
170
+ target-version = "py313"
171
+
172
+ [tool.ruff.lint.mccabe]
173
+ max-complexity = 10
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,4 @@
1
+ """pydelity: PDF to structured JSON, faithfully.
2
+
3
+ The package is under development and has no public API yet.
4
+ """
File without changes
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: pydelity
3
+ Version: 0.0.1
4
+ Summary: Under development and not yet usable. PDF to structured JSON, faithfully.
5
+ Author-email: IDinsight DSEM <dsem@idinsight.org>
6
+ Maintainer-email: IDinsight DSEM <dsem@idinsight.org>
7
+ License-Expression: MIT
8
+ Project-URL: Homepage, https://github.com/IDinsight/pydelity
9
+ Project-URL: Issues, https://github.com/IDinsight/pydelity/issues
10
+ Project-URL: Repository, https://github.com/IDinsight/pydelity
11
+ Keywords: structured,JSON,PDF,genai,llm,agents
12
+ Classifier: Development Status :: 1 - Planning
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Requires-Python: >=3.13
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Dynamic: license-file
18
+
19
+ # pydelity
20
+
21
+ Under development and not yet usable.
22
+
23
+ pydelity will turn PDFs into faithful, structured JSON. This release only
24
+ reserves the name on PyPI and contains no working code. The first usable release
25
+ will be 0.1.0 or later.
26
+
27
+ Source code: <https://github.com/IDinsight/pydelity>
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/pydelity/__init__.py
5
+ src/pydelity/py.typed
6
+ src/pydelity.egg-info/PKG-INFO
7
+ src/pydelity.egg-info/SOURCES.txt
8
+ src/pydelity.egg-info/dependency_links.txt
9
+ src/pydelity.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ pydelity