Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onetaskgraph_sdk-0.2.3.tar.gz (50.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onetaskgraph_sdk-0.2.3-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file onetaskgraph_sdk-0.2.3.tar.gz.

File metadata

  • Download URL: onetaskgraph_sdk-0.2.3.tar.gz
  • Upload date:
  • Size: 50.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","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}

File hashes

Hashes for onetaskgraph_sdk-0.2.3.tar.gz
Algorithm Hash digest
SHA256 70e696b1058a2a79a38d3499f02d7e30f2f4f967afc7846f3da330c61766ecf1
MD5 a27e66216e045bc06e8614e4556b3d8b
BLAKE2b-256 e54471961e3e9e108d9e0ac1f9ae069337fe7649f10e43a7e41f3397dabcb147

See more details on using hashes here.

File details

Details for the file onetaskgraph_sdk-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: onetaskgraph_sdk-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 30.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","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}

File hashes

Hashes for onetaskgraph_sdk-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c7082b61f804dd4a95b30b82282e4ead3823e515a96aad90a286eea027130f7c
MD5 c58f37024de6cb517234eff51bc52991
BLAKE2b-256 78674b21e1a2cbf12790c3b11ce105dc8c3cb8cef85810f29a0facaebd18998e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

This release

0.2.3 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

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