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.7.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.7-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onetaskgraph_sdk-0.2.7.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.7.tar.gz
Algorithm Hash digest
SHA256 4b10c061f32cddbb2770d5d277e69e26dd7e51819c7fa8c93a14b50739a253d4
MD5 3d9e655420af408f3f93737c32960bb5
BLAKE2b-256 28317f604af213061b6c77d1a78ddf4070af3329e8350838ee014928fe275273

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onetaskgraph_sdk-0.2.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 741699765fc45562e75271c94d3564b7961e54c557e7d0b45eeb9b2f73aa6cf8
MD5 66410602a8f0786237dfe90506bdbbaf
BLAKE2b-256 624d51144fa1b1f98eb9e0e98836f7be43e94597a8907a6752e01a45a6ad4e33

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

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