nousviz-client
Auto-generated Python client for the NousViz API.
Generated from /openapi.json via openapi-python-client. Do not edit
nousviz_client/ by hand — re-run scripts/regenerate-clients.sh from the
repo root.
Distinct from
nousviz_sdk(the plugin SDK that runs inside NousViz). This package is for external integrations that talk to a NousViz instance over HTTP.
Install
pip install nousviz-client
Three-line example
from nousviz_client import AuthenticatedClient
from nousviz_client.api.auth import auth_me
from nousviz_client.api.plugins import plugins_list
client = AuthenticatedClient(base_url="https://nousviz.online", token="<your-session-token>")
me = auth_me.sync(client=client)
plugins = plugins_list.sync(client=client)
For unauthenticated calls (public endpoints like /api/health), use
Client instead of AuthenticatedClient:
from nousviz_client import Client
from nousviz_client.api.health import health_check
client = Client(base_url="https://nousviz.online")
status = health_check.sync(client=client)
Auth
AuthenticatedClient(token=...) sets the X-Session-Token header on
every request. Issue a session token via POST /api/auth/login:
from nousviz_client import Client
from nousviz_client.api.auth import auth_login
from nousviz_client.models import LoginRequest
client = Client(base_url="https://nousviz.online")
resp = auth_login.sync(client=client, body=LoginRequest(email="me@example.com", password="..."))
print(resp.token) # → "abc123..."
Operation naming
Every endpoint module is nousviz_client.api.<tag>.<resource_verb>:
| HTTP | Module |
|---|---|
GET /api/auth/me |
nousviz_client.api.auth.auth_me |
GET /api/plugins |
nousviz_client.api.plugins.plugins_list |
POST /api/plugins/{id}/install |
nousviz_client.api.plugins.plugins_install |
POST /api/auth/impersonate/{user_id} |
nousviz_client.api.auth.auth_impersonate_start |
Each module exposes:
sync(client, ...)— synchronous request, returns the parsed response.asyncio(client, ...)— async via httpx.AsyncClient.sync_detailed(client, ...)/asyncio_detailed(client, ...)— return the fullResponse[T]wrapper with status code + headers.
Types
Every Pydantic response model is exported from nousviz_client.models:
from nousviz_client.models import MeResponse, PluginEntry, JobsListResponse
See /docs/api for the live schema
panels and try-it-out form.
Versioning
Each release of nousviz-client matches the platform VERSION file.
Spec changes are PR-reviewable through the OpenAPI snapshot test
(tests/test_openapi_stability.py) — when the snapshot updates,
regenerate the client in the same PR.
Metadata
Release files for nousviz-client 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nousviz_client-1.0.0.tar.gz | 205.5 kB | Without provenance | Details for nousviz_client-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nousviz_client-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for nousviz_client-1.0.0-py3-none-any.whl |
Total release size: 844.5 kB
Release files / nousviz_client-1.0.0.tar.gz
| Download URL | nousviz_client-1.0.0.tar.gz |
|---|---|
| Size | 205.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0b99033b9d75a2f1cec37a399b29434140a02a5bd253c83de63ad5f105c70f8
|
|
BLAKE2b-256 checksum How to use checksums |
ae27466104d761c6cb978721a6ed561c2376db27f67fa40b3d91276dfecb0271
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / nousviz_client-1.0.0-py3-none-any.whl
| Download URL | nousviz_client-1.0.0-py3-none-any.whl |
|---|---|
| Size | 639.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbcb555a0491249d7b26148fafb71d13bd8ddede5ca9d360cc95ae58f3209147
|
|
BLAKE2b-256 checksum How to use checksums |
fe5cc6b910ed9cc184aabfa599d1938d4dc1e0bfd01176f680bdcdbb9b26ee12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for nousviz-client 1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.