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

Uploaded Python 3

File details

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

File metadata

  • Download URL: onetaskgraph_sdk-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3407a5c29db98abf21141c8abe29c2c61bfd259a0c3f53a8adb36738d651a8f5
MD5 8e78828fee12d94923b686d43b622578
BLAKE2b-256 15a698e851f7cf197b7fc9c368982a0b65da52ad37bc45d53e76f5bdedaae58e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onetaskgraph_sdk-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae08905c5d9b4c81d0f2912c0496939f7232b3f6d2c3ab78bb2b8d553dba1f3a
MD5 89b1d0cbddb9e6747893c8351ca37e5a
BLAKE2b-256 4cd6a68d4c3b66f4899ee585c53c670e18da17fca74232dd6a48f355e2289fbb

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

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

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