Current collected state Current
Observed since 21 Oct, 11:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Async Python client for Obsidian CLI and Local REST API
Async Python client for Obsidian. CLI-first: works out of the box with the Obsidian CLI (v1.12+). Optional REST support via the Local REST API plugin.
pip install aiobsidian
For REST API support (requires httpx):
pip install aiobsidian[rest]
import asyncio
from aiobsidian import ObsidianCLI
async def main():
async with ObsidianCLI("MyVault") as cli:
# Read a note
content = await cli.vault.read("notes/hello.md")
print(content)
# Search the vault
results = await cli.search.query("python")
# List tags
tags = await cli.tags.list()
# Daily note
await cli.daily.append("- [ ] New task")
asyncio.run(main())
import asyncio
from aiobsidian import ObsidianClient
async def main():
async with ObsidianClient("your-api-key") as client:
status = await client.system.status()
print(status.versions.obsidian)
content = await client.vault.get("notes/hello.md")
print(content)
asyncio.run(main())
| Resource | Access | Description |
|---|---|---|
| vault | cli.vault | Read, create, append, prepend, move, rename, delete, list |
| daily | cli.daily | Daily note operations |
| search | cli.search | Full-text search |
| properties | cli.properties | YAML frontmatter properties |
| tags | cli.tags | Tag listing, lookup, rename |
| links | cli.links | Outgoing links, backlinks, unresolved, orphans |
| tasks | cli.tasks | Task listing, creation, completion, toggle |
| commands | cli.commands | List and execute Obsidian commands |
| templates | cli.templates | List, read, insert templates |
| bookmarks | cli.bookmarks | List and add bookmarks |
| plugins | cli.plugins | Plugin management |
| themes | cli.themes | Theme management |
| snippets | cli.snippets | CSS snippet management |
| sync | cli.sync | Obsidian Sync operations |
| publish | cli.publish | Obsidian Publish operations |
| history | cli.history | Local file history |
| workspaces | cli.workspaces | Workspace management |
| hotkeys | cli.hotkeys | Hotkey operations |
| outline | cli.outline | Document outline (headings) |
| random | cli.random | Random note |
| aliases | cli.aliases | Note aliases |
| bases | cli.bases | Obsidian Bases / databases |
| system | cli.system | Version, reload, restart, vaults |
| tabs | cli.tabs | Tab management, recents |
| web | cli.web | Open URLs in web viewer |
| dev | cli.dev | Developer/debugging tools |
| Resource | Access | Description |
|---|---|---|
| vault | client.vault | CRUD operations on any file |
| active | client.active | Operations on the currently open file |
| periodic | client.periodic | Daily, weekly, monthly, quarterly, yearly notes |
| commands | client.commands | List and execute Obsidian commands |
| search | client.search | Simple text search, Dataview DQL, JsonLogic |
| open | client.open | Open files in Obsidian UI |
| system | client.system | Server status, OpenAPI spec |
Full documentation is available at kudato.github.io/aiobsidian.
Contributions are welcome! Please see the Contributing Guide for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.4.0 | 29 Mar 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:42 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:26b64a24a67c67715b8681800bf2b57c6580ff81b539a74f844dedfa2c4a28df