Python SDK for plane.so
Repo makeplane/plane-python-sdk, read from GitHub 12 h ago. makeplane has not joined Take My Repo.
Full Changelog: v0.3.1...v0.3.2
Full Changelog: v0.3.0...v0.3.1
A client for the v2 API, under client.v2 — 407 operations across 90
resources. Everything you use today is untouched: v2 is a new namespace beside
the existing surface, not a replacement for it.
There are two ways in, and they compose:
# Flat path — each segment consumes exactly one URL path id client.v2.workspaces.projects.states.list("acme", "ENG") # Loaded rows — a fetched row carries its ids, so nothing repeats project = client.v2.workspaces.projects.retrieve("acme", "ENG") project.cycles.list() project.work_items.create(CreateWorkItem(name="Ship it"))
Path ids are named after the resource they identify, singular, with no _id
suffix: retrieve(slug, project, state).
Loaded* types. A fetched workspace reaches 25fields= and expand= wherever the API declares them,Literal aliases so editors complete the valid values. ReadingFieldNotRequested, naming what the serverTypedDict keyword arguments; order_by= is likewise typed.per_page, offset) and cursorcursor). iterate() follows pages on either, so the difference stays out offind_by_name(...), and find_by_display_name(...) onadd / remove on relationship collections, e.g.cycle.work_items.add([...]), up to 100 ids per call.bulk_create / bulk_update / bulk_delete where the APIpy.typed — the package now ships a PEP 561 marker, so type checkers seev2 exceptions, including FieldNotRequested, are importable from plane.api.v2.
Full Changelog: v0.2.24...v0.3.0
Full Changelog: v0.2.23...v0.2.24
Full Changelog: v0.2.22...v0.2.23
Full Changelog: v0.2.21...v0.2.22