umpirix/sdk/python/pyproject.toml

102 lines
3.3 KiB
TOML
Raw Permalink Normal View History

[project]
feat: rebrand OpenJev to Umpirix across README, CLI, SDKs and PyPI packages Owner rename (GitHub repo already caelum0x/openjev -> caelum0x/umpirix, origin updated): rebrands every user-facing surface while keeping full backward compatibility. - README.md: title, badges, clone/MCP commands, SDK table, model-family table and a new "Renamed from OpenJev" section (mirroring the existing "Renamed from opentypesafe" section) documenting every old->new mapping. Never claims Umpirix is or was made by TypeSafe; "Jev-compatible" kept only where it describes wire compatibility. - CLI (scripts/cli.mjs): primary bin is now `umpirix`; `openjev` and `opentypesafe` still work and print a one-line rename notice (detected via the invoked bin's basename). package.json's `name` is now "umpirix" and all three bin names are installed. - Site/app title: the single SITE_NAME constant (src/lib/seo/site.ts) is now "Umpirix", which cascades into every page's <title> and JSON-LD; the nav sidebar brand text (app-shell.tsx) and OG site title (og/site.json) updated too. - SDK package names: @openjev/sdk -> @umpirix/sdk, @openjev/lite -> @umpirix/lite, @openjev/ai-sdk -> @umpirix/ai-sdk (sdk/js, sdk/js-lite, sdk/ai-sdk, plus the dependent sdk/scribase-decisions package and its source re-export). All import sites, peer/dev dependency keys, jsr.json and doc comments updated to match. Verified free on npm (404) as of 2026-11-11. sdk/js (193 tests) and sdk/js-lite (99 tests) both typecheck and test clean after the rename; `npm pack --dry-run` confirmed real, correctly-named tarballs for both. - PyPI: openjev-client -> umpirix-client (sdk/python), openjev-adapters -> umpirix-adapters (adapters/python); both plain names confirmed free on PyPI (404) as of 2026-11-11. The importable module stays `openjev` / `openjev_adapters` for compatibility. Found and fixed a real regression from the distribution rename: both packages' `_version.py` read `importlib.metadata.version()` by the old hardcoded distribution name, which would have raised PackageNotFoundError post-rename — now tries the new name first, falls back through the old names. `uv sync` + `uv build` + `uvx twine check` pass clean for both under the new names (681 + 452 tests pass respectively); `adapters/python/pyproject.toml`'s `[tool.uv.sources]` key updated to match so the local editable override still resolves. No PyPI token exists on this machine, so nothing was published — exact commands are in PUBLISHING.md for whoever holds the credentials. - PUBLISHING.md: renamed package table, documented the verified-clean local builds above, and the owner-gated npm (@umpirix org doesn't exist yet, needs browser 2FA) / PyPI (token removed) bootstrap steps. - Root `npm run typecheck` / `npm test` (138 pass) / `npm run gold` (61 pass) all clean after every change above. - hackathons/geekroom-2026/demo-umpirix.mp4: the existing real narrated Bifrost demo capture (119.8s, Deepgram aura-2-asteria-en narration, -14.6 LUFS measured) copied to the name this task's submission expects, plus its real raw captures (media/raw, media/terminal) and a real SRT built from the narration's own word-level timestamps (media/demo-umpirix.srt) for caption generation. Known gap, not hidden: the capture's on-screen app UI still reads "OpenJev" (pre-rebrand, pre-redeploy) — a fresh re-record after this rebrand ships to the running app is a real follow-up, noted in plans/openjev.md. Also pushed a companion one-line copy fix to caelum0x/scribase (commit a8c2f72, not this repo): scribase.com/decisions now says "Built on Umpirix" instead of "Built on OpenJev", deployed live (verified 200, "Built on Umpirix" present). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 18:59:19 +03:00
name = "umpirix-client"
version = "0.7.2"
feat(oss): GOVERNANCE.md, Scribase-family branding, MCP serverInfo/tools fixes - Add GOVERNANCE.md (BDFL-style, referenced from CONTRIBUTING.md). - Scribase family branding: "Umpirix — an open-source project by Scribase" header line in README (linking scribase.com and scribase.com/decisions), a "Run it on Scribase" section next to the self-host instructions in README and SELF-HOSTING.md (self-hosting stays fully supported, nothing gated), the same line appended to every package's npm/PyPI description (root, sdk/js, sdk/js-lite, sdk/ai-sdk, sdk/scribase-decisions, skills, adapters/python, sdk/python, otsone), and the site's per-page footer brand line (10 routes) + roadmap prose, which still said the pre-rebrand "OpenJev · Apache-2.0" - now "Umpirix · Apache-2.0 · scribase.com". - Fix two real gaps in the MCP server found in a fresh clone: serverInfo still said name "openjev" / title "OpenJev typed decisions" (src/lib/jev/mcp.ts) and the stdio bridge's log prefix was still "[openjev mcp]" (scripts/mcp-stdio.mjs). Both now say Umpirix. Verified live over stdio (plain node; Docker/colima unavailable in this environment) that `initialize` reports serverInfo.name "umpirix" / title "Umpirix typed decisions", and `tools/list` returns the real tool set: choice, score, noul, decide (no "cascade"). - npm run typecheck / npm test (138/138) / npm run gold (61/61) / npm run lint (0 errors, pre-existing warnings only) all green after this change. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 19:15:28 +03:00
description = "Umpirix — an open-source project by Scribase (scribase.com). Umpirix (formerly OpenJev): an open, wire-compatible Python SDK for the TypeSafe System One /v1 API (api.typesafe.ai or a self-hosted Umpirix endpoint). Distributed as 'umpirix-client' for consistency with the project's other scoped package names; the importable module is still 'openjev' for compatibility."
readme = "README.md"
license = "MIT"
license-files = ["LICENSE", "NOTICE"]
authors = [
{ name = "openjev contributors" }
]
maintainers = [
{ name = "caelum0x" }
]
requires-python = ">=3.10"
feat: rebrand OpenJev to Umpirix across README, CLI, SDKs and PyPI packages Owner rename (GitHub repo already caelum0x/openjev -> caelum0x/umpirix, origin updated): rebrands every user-facing surface while keeping full backward compatibility. - README.md: title, badges, clone/MCP commands, SDK table, model-family table and a new "Renamed from OpenJev" section (mirroring the existing "Renamed from opentypesafe" section) documenting every old->new mapping. Never claims Umpirix is or was made by TypeSafe; "Jev-compatible" kept only where it describes wire compatibility. - CLI (scripts/cli.mjs): primary bin is now `umpirix`; `openjev` and `opentypesafe` still work and print a one-line rename notice (detected via the invoked bin's basename). package.json's `name` is now "umpirix" and all three bin names are installed. - Site/app title: the single SITE_NAME constant (src/lib/seo/site.ts) is now "Umpirix", which cascades into every page's <title> and JSON-LD; the nav sidebar brand text (app-shell.tsx) and OG site title (og/site.json) updated too. - SDK package names: @openjev/sdk -> @umpirix/sdk, @openjev/lite -> @umpirix/lite, @openjev/ai-sdk -> @umpirix/ai-sdk (sdk/js, sdk/js-lite, sdk/ai-sdk, plus the dependent sdk/scribase-decisions package and its source re-export). All import sites, peer/dev dependency keys, jsr.json and doc comments updated to match. Verified free on npm (404) as of 2026-11-11. sdk/js (193 tests) and sdk/js-lite (99 tests) both typecheck and test clean after the rename; `npm pack --dry-run` confirmed real, correctly-named tarballs for both. - PyPI: openjev-client -> umpirix-client (sdk/python), openjev-adapters -> umpirix-adapters (adapters/python); both plain names confirmed free on PyPI (404) as of 2026-11-11. The importable module stays `openjev` / `openjev_adapters` for compatibility. Found and fixed a real regression from the distribution rename: both packages' `_version.py` read `importlib.metadata.version()` by the old hardcoded distribution name, which would have raised PackageNotFoundError post-rename — now tries the new name first, falls back through the old names. `uv sync` + `uv build` + `uvx twine check` pass clean for both under the new names (681 + 452 tests pass respectively); `adapters/python/pyproject.toml`'s `[tool.uv.sources]` key updated to match so the local editable override still resolves. No PyPI token exists on this machine, so nothing was published — exact commands are in PUBLISHING.md for whoever holds the credentials. - PUBLISHING.md: renamed package table, documented the verified-clean local builds above, and the owner-gated npm (@umpirix org doesn't exist yet, needs browser 2FA) / PyPI (token removed) bootstrap steps. - Root `npm run typecheck` / `npm test` (138 pass) / `npm run gold` (61 pass) all clean after every change above. - hackathons/geekroom-2026/demo-umpirix.mp4: the existing real narrated Bifrost demo capture (119.8s, Deepgram aura-2-asteria-en narration, -14.6 LUFS measured) copied to the name this task's submission expects, plus its real raw captures (media/raw, media/terminal) and a real SRT built from the narration's own word-level timestamps (media/demo-umpirix.srt) for caption generation. Known gap, not hidden: the capture's on-screen app UI still reads "OpenJev" (pre-rebrand, pre-redeploy) — a fresh re-record after this rebrand ships to the running app is a real follow-up, noted in plans/openjev.md. Also pushed a companion one-line copy fix to caelum0x/scribase (commit a8c2f72, not this repo): scribase.com/decisions now says "Built on Umpirix" instead of "Built on OpenJev", deployed live (verified 200, "Built on Umpirix" present). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 18:59:19 +03:00
keywords = ["umpirix", "openjev", "typesafe", "sdk", "api", "ai", "system-one"]
classifiers = [
"Typing :: Typed",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"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 :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"httpx2>=2.0.0",
"pydantic>=2.12.0",
"pydantic-core>=2.41.1",
"tenacity>=9.0.0",
"typing-extensions>=4.13.0",
]
[project.urls]
feat: rebrand OpenJev to Umpirix across README, CLI, SDKs and PyPI packages Owner rename (GitHub repo already caelum0x/openjev -> caelum0x/umpirix, origin updated): rebrands every user-facing surface while keeping full backward compatibility. - README.md: title, badges, clone/MCP commands, SDK table, model-family table and a new "Renamed from OpenJev" section (mirroring the existing "Renamed from opentypesafe" section) documenting every old->new mapping. Never claims Umpirix is or was made by TypeSafe; "Jev-compatible" kept only where it describes wire compatibility. - CLI (scripts/cli.mjs): primary bin is now `umpirix`; `openjev` and `opentypesafe` still work and print a one-line rename notice (detected via the invoked bin's basename). package.json's `name` is now "umpirix" and all three bin names are installed. - Site/app title: the single SITE_NAME constant (src/lib/seo/site.ts) is now "Umpirix", which cascades into every page's <title> and JSON-LD; the nav sidebar brand text (app-shell.tsx) and OG site title (og/site.json) updated too. - SDK package names: @openjev/sdk -> @umpirix/sdk, @openjev/lite -> @umpirix/lite, @openjev/ai-sdk -> @umpirix/ai-sdk (sdk/js, sdk/js-lite, sdk/ai-sdk, plus the dependent sdk/scribase-decisions package and its source re-export). All import sites, peer/dev dependency keys, jsr.json and doc comments updated to match. Verified free on npm (404) as of 2026-11-11. sdk/js (193 tests) and sdk/js-lite (99 tests) both typecheck and test clean after the rename; `npm pack --dry-run` confirmed real, correctly-named tarballs for both. - PyPI: openjev-client -> umpirix-client (sdk/python), openjev-adapters -> umpirix-adapters (adapters/python); both plain names confirmed free on PyPI (404) as of 2026-11-11. The importable module stays `openjev` / `openjev_adapters` for compatibility. Found and fixed a real regression from the distribution rename: both packages' `_version.py` read `importlib.metadata.version()` by the old hardcoded distribution name, which would have raised PackageNotFoundError post-rename — now tries the new name first, falls back through the old names. `uv sync` + `uv build` + `uvx twine check` pass clean for both under the new names (681 + 452 tests pass respectively); `adapters/python/pyproject.toml`'s `[tool.uv.sources]` key updated to match so the local editable override still resolves. No PyPI token exists on this machine, so nothing was published — exact commands are in PUBLISHING.md for whoever holds the credentials. - PUBLISHING.md: renamed package table, documented the verified-clean local builds above, and the owner-gated npm (@umpirix org doesn't exist yet, needs browser 2FA) / PyPI (token removed) bootstrap steps. - Root `npm run typecheck` / `npm test` (138 pass) / `npm run gold` (61 pass) all clean after every change above. - hackathons/geekroom-2026/demo-umpirix.mp4: the existing real narrated Bifrost demo capture (119.8s, Deepgram aura-2-asteria-en narration, -14.6 LUFS measured) copied to the name this task's submission expects, plus its real raw captures (media/raw, media/terminal) and a real SRT built from the narration's own word-level timestamps (media/demo-umpirix.srt) for caption generation. Known gap, not hidden: the capture's on-screen app UI still reads "OpenJev" (pre-rebrand, pre-redeploy) — a fresh re-record after this rebrand ships to the running app is a real follow-up, noted in plans/openjev.md. Also pushed a companion one-line copy fix to caelum0x/scribase (commit a8c2f72, not this repo): scribase.com/decisions now says "Built on Umpirix" instead of "Built on OpenJev", deployed live (verified 200, "Built on Umpirix" present). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 18:59:19 +03:00
Homepage = "https://github.com/caelum0x/umpirix/tree/main/sdk/python"
Documentation = "https://github.com/caelum0x/umpirix/tree/main/sdk/python#readme"
Changelog = "https://github.com/caelum0x/umpirix/blob/main/sdk/python/docs/changelog.md"
Repository = "https://github.com/caelum0x/umpirix"
Issues = "https://github.com/caelum0x/umpirix/issues"
[build-system]
requires = ["uv_build>=0.12.5,<0.13"]
build-backend = "uv_build"
[tool.uv.build-backend]
# `opentypesafe_sdk` is a thin deprecated alias for the pre-rename import name.
module-name = ["openjev", "opentypesafe_sdk"]
[dependency-groups]
dev = [
"gitpython>=3.1.62",
"pyrefly>=1.2.0",
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"ruff>=0.16.6",
"sybil>=9.3.0",
"syrupy>=6.0.0",
"tach>=0.35.0",
]
docs = [
"griffe-pydantic>=1.3.1",
"mkdocstrings[python]>=1.0.6",
"ruff>=0.16.6",
"zensical>=0.0.60",
]
codegen = [
"datamodel-code-generator>=0.79.0",
]
[tool.pytest.ini_options]
addopts = "-vv -ra --capture=tee-sys -p no:tach"
log_cli = true
log_cli_level = "INFO"
log_level = "INFO"
asyncio_mode = "auto"
testpaths = ["tests"]
markers = ["integration: live API tests requiring TYPESAFE_API_KEY"]
[tool.ruff]
# The type-checker fixtures under tests/typing anchor expected errors to specific
# lines via inline `# E:` comments; reformatting them would shift those lines and
# break the pyrefly expectation tests, so they are excluded from formatting/linting.
extend-exclude = ["tests/typing"]
[tool.deptry]
extend_exclude = [".dagger"]
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true