Skip to content

usewren/client-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WREN Python Client

Official Python client for the WREN API.

pip install wren-client
from wren import WrenClient

with WrenClient("https://wren.aemwip.com", api_key="wren_...") as wren:
    doc = wren.documents.create("articles", {"title": "Hello"})
    wren.labels.set("articles", doc.id, "published")
    wren.trees.set("site", "/blog/hello", doc.id)
  • Python >= 3.9
  • Sync (WrenClient) and async (AsyncWrenClient) via httpx
  • Typed dataclass responses
  • Resources: documents, versions, labels, diff, collections, trees, keys, members, invites, permissions

Links

License

Apache-2.0

About

Python client library — sync + async, typed dataclasses

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages