bideux
Bideux dashboards in one install. This wheel carries the seven active Python
packages, dashboard_spec, dashboard_core, dashboard_engine,
dashboard_store, dashboard_server, dashboard_report and
dashboard_authoring, under their own import names, plus a bideux namespace
that re-exports the objects a host touches.
uv add bideux # the packages, no web framework
uv add "bideux[fastapi,sqlite]" # plus the reader router and aiosqlite
uv add "bideux[fastapi,postgres]"
The granular bideux-dashboard-* wheels are unchanged and keep publishing. Pick
one family per environment: both provide the same dashboard_* modules, so
import bideux warns (BideuxInstallConflict) when it finds a granular
distribution next to it.
What you import
from bideux import Caller, DashboardService, DashboardReportService, Principal, ScopeContext
from bideux import Repositories, ServiceOptions # ports and options
from bideux import DashboardAccessError, DashboardNotFoundError
from bideux.store import DashboardModelRepository # one namespace per layer
from bideux.engine import ReferenceWarehouse, FixedClock
bideux.spec, bideux.core, bideux.engine, bideux.store, bideux.server,
bideux.report and bideux.authoring re-export every public name of the
matching layer, so a host never has to type a granular module name. The granular
names still work: every from dashboard_server import ... that runs against the
granular packages runs here unchanged. bideux is the short path, not a new
API.
One call: mount_bideux (extra fastapi)
from fastapi import FastAPI, Request
from bideux.fastapi import mount_bideux
from bideux.hosting import HostAdapter
class MyHost(HostAdapter):
async def caller(self, request: Request) -> Caller: ... # who is asking
def warehouse(self, caller: Caller) -> WarehousePort: ... # where the rows are
app = FastAPI()
bideux = mount_bideux(app, host=MyHost(), database_url="sqlite+aiosqlite:///dashboards.sqlite3")
That installs the reader, dashboard management and sharing, authoring, semantic
model and report routes under /api/dashboards, creates the store tables on
startup, and is the API BideuxDashboard, BideuxDashboardList and the
<bideux-dashboard> element expect. Every other port (locations, directory,
audit, cache, engine, report_builder, ...) has a default on
HostAdapter and is overridden by method; BideuxFeatures switches route
groups off; bideux.report_service(caller) is the port a host scheduler calls.
The bideux command
bideux demo # seeded API and page on http://127.0.0.1:5477 (needs bideux[demo] and the repo's conformance/fixtures)
bideux init my-app # writes bideux_host.py and dashboard.html to start from
bideux doctor . # checks the Python and Node install: versions, extras, mixed packages, stale node_modules
bideux.fastapi piece by piece
The four reader routes the React reader and @dlh.io/bideux's
createHttpDashboardTransport call, driven by one host-supplied factory:
from contextlib import asynccontextmanager
from bideux.fastapi import build_reader_router, install_error_handlers
@asynccontextmanager
async def service_for(request: Request):
caller = await authenticate(request) # the host's identity
async with sessions.begin() as session: # the host's database
yield DashboardService(caller=caller, repositories=repos(session), engines=engine_for, ...)
app.include_router(build_reader_router(service_for, prefix="/api/custom-dashboards"))
install_error_handlers(app)
build_dashboard_router, build_authoring_router and build_report_router are
the other groups mount_bideux installs, usable one by one the same way.
bideux.quickstart
from bideux.quickstart import DashboardDocuments, local_caller, memory_service
service = memory_service(
caller=local_caller("olive"),
dashboards=[DashboardDocuments(dashboard_yaml, [kpi_yaml, chart_yaml])],
tables={"MART.RPT_DAILY_SALES_SUMMARY": rows},
)
render = await service.get_dashboard_render("sales-overview")
No database, no warehouse: in-memory repositories and the reference SQL evaluator. Each keyword is a port a host later replaces.
Not included
Scheduling. bideux-dashboard-schedule is deprecated and left out; a host owns
its schedules and calls DashboardReportService.render for the bytes.
Version
bideux tracks the version of the packages it bundles; the release script
refuses to publish when they differ.
Metadata
Release files for bideux 0.1.2
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 |
|---|---|---|---|---|
| bideux-0.1.2.tar.gz | 317.1 kB | With provenance | Details for bideux-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bideux-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for bideux-0.1.2-py3-none-any.whl |
Total release size: 691.7 kB
Release files / bideux-0.1.2.tar.gz
| Download URL | bideux-0.1.2.tar.gz |
|---|---|
| Size | 317.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e46e43be8fab5e9096263432aeec54a6780e98ea940b870d46dfe62afe0487b
|
|
BLAKE2b-256 checksum How to use checksums |
591035ff02af6d422929939ac9b18c881f065a81038ac75a35dab1fffe228ad8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 10, 2026.
Transparency logRelease files / bideux-0.1.2-py3-none-any.whl
| Download URL | bideux-0.1.2-py3-none-any.whl |
|---|---|
| Size | 374.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a50e391e9f66fcd547a67cae13e95475ca2e909f93d1ee5412d4d99257a8199
|
|
BLAKE2b-256 checksum How to use checksums |
579190299e962643036c71c7e7bae36db930b54f451ae611f367dc773cc541a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 10, 2026.
Transparency logSecurity for bideux 0.1.2
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.
Attestation for bideux-0.1.2.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 Sep 10, 2026.
Transparency logA 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.