onetaskgraph-sdk
The typed Python client for onetaskgraph. Its request vocabulary, response models,
and method surface are generated from the JSON Schema and command help emitted by the
real binary; the workspace's just lint rejects committed output that has drifted.
import asyncio
from onetaskgraph_sdk import Client
tasks = asyncio.run(Client().task_list(status=["todo"]))
Each async call runs one binary subprocess and validates its JSON response. The executable is
resolved in this order: the binary= constructor argument, the
ONETASKGRAPH_SDK_BINARY environment variable, then the onetaskgraph executable supplied
on PATH by the packaged binary distribution. Pass cwd= to select the directory from
which configuration is discovered. Partial query exit status 4 is parsed and returned,
so callers can inspect each typed SourceFailure; other non-zero statuses raise
OnetaskgraphError with the exit code.
Every call also passes --no-interactive, so no call ever waits on a prompt: a template
variable nothing answers takes its default, and a required one left unanswered raises with
exit code 2. template_render(file, search_path=..., answers={...}, var=[...]) hands the
answers mapping to the binary on standard input, and each var (NAME=VALUE) outranks it.
Metadata
Release files for onetaskgraph-sdk 0.2.46
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| onetaskgraph_sdk-0.2.46.tar.gz | 69.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onetaskgraph_sdk-0.2.46-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 147.4 kB
Release files / onetaskgraph_sdk-0.2.46.tar.gz
| Download URL | onetaskgraph_sdk-0.2.46.tar.gz |
|---|---|
| Size | 69.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bebf480c77c85c80f9d6d5ebc695b583aaec9506bf058290ababa13acd0dd47
|
|
BLAKE2b-256 checksum How to use checksums |
21ee5806f52e33a8b77f9f09cbe09610ccd3c9ea8e22b500ca44d5e68c2cb41f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / onetaskgraph_sdk-0.2.46-py3-none-any.whl
| Download URL | onetaskgraph_sdk-0.2.46-py3-none-any.whl |
|---|---|
| Size | 78.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
59ead214afa520f898f8425d7bb94f9a06f30a143ee8ae69e8a543510c85dba2
|
|
BLAKE2b-256 checksum How to use checksums |
35d17a23b844c005900104c05e4a311f657d4fb33c8ac1f7d96f7d0567b2bb4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|