Skip to main content

QwenPaw-Data Console

Reusable local browser portal for the official Host HTTP/SSE service and DataBridge. Wheels include the prebuilt chat UI and DataBridge management UI; users do not need Node.js, an npm build, or a copied frontend.

pip install qwenpaw-data-console
# Set QWENPAW_DATA_API_TOKEN to the running Host's token.
qwenpaw-data-console --host-url http://127.0.0.1:8766 \
  --bridge-url http://127.0.0.1:8765 --port 8767

Open http://127.0.0.1:8767/console. DataBridge is at /databridge/. Host, DataBridge and Neo4j retain their own lifecycles. Omit --bridge-url to run only the chat portal. QWENPAW_DATA_CONTEXT_API_TOKEN can supply a separate DataBridge token. The portal binds to loopback and keeps service credentials on the server; it is intended for local research, not multiuser hosting.

Domain applications

from qwenpaw_data.console import ConsoleConfig, create_app

app = create_app(
    host_url="http://127.0.0.1:18767",
    token=host_token,
    bridge_url="http://127.0.0.1:18766",
    config=ConsoleConfig(
        title="My research platform",
        assistant_name="Research Analyst",
        welcome_description="Ask a question about your research data.",
        workspace_name="Research",
    ),
)

The CLI also accepts these public settings as JSON via --config. Branding is applied at runtime; the same wheel serves different domains. Domain routes can be registered before the final SPA fallback with create_app(..., routers=[router]). Skills, datasource setup and database reconstruction belong to the consuming application. API/model keys are not presentation settings and must never be placed in ConsoleConfig.

The Host contract is /api/v1 with replayable SSE, sessions, model settings, artifacts and scheduled jobs. Skills/MCP/channel management pages remain disabled because Host 0.3.3 does not expose their management APIs. The two UIs have separate dependency trees (React 18 chat / React 19 DataBridge); the portal serves both from one origin.

Development and releases

From the monorepo root:

python scripts/build_console.py
uv build --package qwenpaw-data-console
uv run pytest packages/qwenpaw-data-console/tests
npm test --prefix packages/qwenpaw-data-console/frontend

scripts/build_console.py emits three browser applications: static/chat (server mode), static/databridge, and static/chat-embed. The embed bundle uses a relative asset base and hash routing so a host can serve it from a deep static path, for example QwenPaw's PawApp gateway (/api/frontend_plugin/<app>/files/...). It takes its API base at runtime from window.QWENPAW_DATA_CONSOLE.api_base_url and falls back to the build-time VITE_API_BASE_URL; a host that injects that global must do so before the module bundle loads. The embed build is a supported export of this package, so downstream hosts should consume it from the wheel instead of rebuilding the UI from another checkout.

npm ci uses each application's lockfile. The build excludes private environment configuration. Both wheel and sdist carry the built assets; wheel builds fail if any of the three UIs is absent. Rebuilding a release sdist does not require Node.js. Editable source installs require the asset build once.

The pinned Chat SDK's @ant-design/x dependency declares an Ant Design 6 peer while @agentscope-ai/design requires Ant Design 5. npm reports this upstream peer mismatch; the existing UI remains on Ant Design 5. CI builds and tests that locked tree, audits all dependencies at the high threshold, and generates its installed-package SBOM with --legacy-peer-deps for inventory only (recorded in the SBOM metadata). Installs and audits do not use that override. A coordinated SDK/design upgrade should resolve the peer mismatch before claiming support for Ant Design 6.

Chat frontend provenance: QwenPaw-Geo frontend at ff69ce72abf2424fc14883e911c3bc6a9d8fa53e, adapted in QwenPaw-Econ, then generalized here. DataBridge UI is built directly from the official qwenpaw-data-context/frontend sources, using the supported console mode.

Metadata

Release files for qwenpaw-data-console 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qwenpaw-data-console 2.0.0
File Size Uploaded Provenance Actions
qwenpaw_data_console-2.0.0.tar.gz 32.9 MB With provenance Details for qwenpaw_data_console-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qwenpaw-data-console 2.0.0
File Interpreter ABI Platform Actions
qwenpaw_data_console-2.0.0-py3-none-any.whl Python 3 none any Details for qwenpaw_data_console-2.0.0-py3-none-any.whl

Total release size: 53.7 MB

Release files / qwenpaw_data_console-2.0.0.tar.gz

Download URL qwenpaw_data_console-2.0.0.tar.gz
Size 32.9 MB
Tags Source
SHA-256 checksum
How to use checksums
2b76ccacd6a4a4bb50b50ac4c4d625ee450e27274e6b1ad6748266005826c3dd
BLAKE2b-256 checksum
How to use checksums
3880f1c3764d4b4ab1d5643500f6b23d1a52dee252f71d3958255de1e0bdd308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / qwenpaw_data_console-2.0.0-py3-none-any.whl

Download URL qwenpaw_data_console-2.0.0-py3-none-any.whl
Size 20.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f40169af3bc2ca073e653a0bd2859d145955707c54f3b16419063e2be315da6c
BLAKE2b-256 checksum
How to use checksums
a5c5a52db1bd6483ea037f8588d5b2652e5c877cb481cee3519df2f7714ddb1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for qwenpaw-data-console 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qwenpaw_data_console-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page