Quick Start
Connect to a configured PostgreSQL store before running these examples. Set
SCITEX_STORE_DSN explicitly for the intended database. Store discovery is
provided by scitex-dev; these commands do not create or provision a database.
Read existing cards through the public Python API:
import scitex_cards as cards
rows = cards.list_tasks(status="in_progress")
print(f"{len(rows)} cards in progress")
Creating cards also requires a registered assignee and a creator identity.
See scitex_cards — Python API for add_task and its identity arguments.
Inspect the dependency graph without invoking a renderer:
scitex-cards render-graph --print-mermaid
scitex-cards list-tasks --json
To write a PNG, choose a destination and run:
scitex-cards render-graph -o tasks.png
Rendering uses local mmdc when available, with a network fallback to
kroki.io. See Installation for rendering requirements.
Task schema
Cards returned by list_tasks include these fields:
Field |
Required |
Meaning |
|---|---|---|
|
yes |
unique id, referenced by |
|
yes |
short label |
|
yes |
|
|
yes for creation |
registered user responsible for the card |
|
yes for creation |
creator identity; may be resolved from |
|
no |
owning repo / area |
|
no |
ids this task depends on (arrow |
|
no |
ids this task inhibits ( |
|
no |
free-text annotation |
|
no |
integer rank (lower = higher); document order if absent |
|
no |
id of the task this nests under (drill-down view) |
Where your task data lives
Card data lives in PostgreSQL. An explicit store= argument selects the
store for a Python call. Otherwise scitex-dev’s shared-store resolver selects
the database, including SCITEX_STORE_DSN configuration. A project directory
does not supply a separate Cards task store.
Set SCITEX_STORE_DSN to the intended PostgreSQL connection string before
starting the CLI or browser application. Database credentials, provisioning
and access permissions are deployment configuration. YAML exports are for
backup/interchange; they are not a second runtime backend.