Metadata-Version: 2.5
Name: scitex-sdk
Version: 0.3.1
Summary: SciTeX app contracts, UI components, and host capabilities in one SDK.
Project-URL: Homepage, https://github.com/scitex-ai/scitex-sdk
Project-URL: Repository, https://github.com/scitex-ai/scitex-sdk
Author-email: Yusuke Watanabe <ywatanabe@scitex.ai>
License-Expression: AGPL-3.0-only
License-File: LICENSE
Keywords: app-sdk,django,scitex,typescript,ui
Requires-Python: >=3.10
Requires-Dist: click>=8.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: scitex-config>=0.3.6
Requires-Dist: scitex-logging>=0.1.0
Provides-Extra: all
Requires-Dist: anthropic>=0.25.0; extra == 'all'
Requires-Dist: django>=4.2; extra == 'all'
Requires-Dist: fastmcp>=2.0.0; extra == 'all'
Requires-Dist: litellm>=1.0.0; extra == 'all'
Requires-Dist: requests>=2.28.0; extra == 'all'
Requires-Dist: scitex-dev>=0.11.7; extra == 'all'
Requires-Dist: scitex-dev>=0.62.0; extra == 'all'
Provides-Extra: chat
Requires-Dist: anthropic>=0.25.0; extra == 'chat'
Requires-Dist: litellm>=1.0.0; extra == 'chat'
Requires-Dist: requests>=2.28.0; extra == 'chat'
Provides-Extra: cli
Requires-Dist: scitex-dev>=0.11.7; extra == 'cli'
Provides-Extra: gui
Requires-Dist: django>=4.2; extra == 'gui'
Provides-Extra: mcp
Requires-Dist: fastmcp>=2.0.0; extra == 'mcp'
Provides-Extra: project
Requires-Dist: scitex-dev>=0.62.0; extra == 'project'
Description-Content-Type: text/markdown

# scitex-sdk

One implementation owner for SciTeX app contracts and UI components:
`scitex_sdk.app` and `scitex_sdk.ui`. The SDK ships the Python code, Django
templates/static assets, translations, and packaged `@scitex/sdk` frontend.

```python
from scitex_sdk.app import get_files
from scitex_sdk.app.embed import ScitexAppConfig, run_standalone
from scitex_sdk import ui, get_frontend_package_dir
```

Leaf apps own their GUI under `src/<leaf_pkg>/_django`, use this SDK, and run
standalone or as a plugin. Hub mounts apps generically and supplies authorized
capabilities. See the [app/UI contract](src/scitex_sdk/_docs/APP_DEVELOPER_GUIDE.md)
and [workflow skill](src/scitex_sdk/_skills/scitex-sdk/SKILL.md).

```bash
# Install the GUI runtime for SDK 0.3.0 or newer.
pip install 'scitex-sdk[gui]>=0.3.0'
scitex-sdk app --help
scitex-sdk ui --help
scitex-sdk gui serve
```

Add the `chat`, `mcp`, `cli` or `project` extras for those capabilities, or
install `scitex-sdk[all]`. The `project` and `all` extras require
scitex-dev>=0.62.0. SDK publication verifies a normal built-wheel `[all]`
installation and `pip check` against published dependencies before uploading.
Contributor dependencies use `pip install -e . --group dev`.

Migration changes imports to `scitex_sdk.app/ui` and resource prefixes to
`scitex_sdk/app/` and `scitex_sdk/ui/`. Existing Django database labels,
template block names and App/UI environment settings retain their identity.
The predecessor [App](https://github.com/scitex-ai/scitex-app) and
[UI](https://github.com/scitex-ai/scitex-ui) repositories are public archives.
Sequential SDK publication can still observe transitive predecessor packages
and reports dependency retirement as incomplete. Consumer migration and strict
published dependency retirement remain separate gates; see
[the release sequence](docs/RELEASE_BOOTSTRAP.md).
