From 3d7d4e125a8be2d8dfa785efb15b270418932d20 Mon Sep 17 00:00:00 2001 From: "Kevin A. Mitchell" Date: Fri, 20 Feb 2026 16:24:18 -0600 Subject: [PATCH 1/2] pyproject: Enhance metadata and add Python version classifiers - Updated `readme` entry to include content type. - Added `maintainers`, `keywords`, and `classifiers` fields. - Defined support for Python 3.10 to 3.14 using `requires-python` and `classifiers`. - Added project URLs for homepage, documentation, and source repository. Assisted-by: Codex --- pyproject.toml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a022a92..6e14a10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,10 +2,34 @@ name = "pdfrest" version = "1.0.0" description = "Python client library for interacting with the PDFRest API" -readme = "README.md" +readme = {file = "README.md", content-type = "text/markdown"} authors = [ {name = "Datalogics"}, ] +maintainers = [ + {name = "Datalogics"}, +] +keywords = [ + "api", + "document-processing", + "pdf", + "pdfrest", + "sdk", +] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Topic :: Software Development :: Libraries :: Python Modules", +] requires-python = ">=3.10" dependencies = [ "exceptiongroup>=1.3.0", @@ -14,6 +38,11 @@ dependencies = [ "pydantic>=2.12.0", ] +[project.urls] +Homepage = "https://pdfrest.com/" +Documentation = "https://python.pdfrest.com/" +Source = "https://github.com/pdfrest/pdfrest-python" + [build-system] requires = ["uv_build>=0.8.22,<0.10.0"] build-backend = "uv_build" From 4858f1496b0ed57dd19cbd2d76910566fd1111f2 Mon Sep 17 00:00:00 2001 From: "Kevin A. Mitchell" Date: Fri, 20 Feb 2026 16:24:28 -0600 Subject: [PATCH 2/2] pyproject: Remove deprecated no-build configuration for UV tool - Dropped the `no-build` configuration from `[tool.uv]` in `pyproject.toml`. - Ensures compatibility with updated UV tool requirements. Assisted-by: Codex --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6e14a10..e67f314 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -158,5 +158,4 @@ trailing_comma_inline_array = true [tool.uv] keyring-provider = "subprocess" -no-build = true no-binary-package = ["pdfrest"]