Skip to main content

Command line utility to interact with Obsidian, providing much needed features.

Project description

Obsidian CLI

PyPI Package

Command line utility to interact with Obsidian. Notable features:

  • List Obsidian vaults (obsidian ls -l)
  • Open folders as vaults from the command line (obsidian open {PATH})
  • Create vaults from templates (obsidian new {PATH})
    • You can share vault settings (e.g. keybindings) with the template via hardlinks, so when you edit the template keybindings, it affects all vaults
  • Customize the new vault template and create new vaults (obsidian template edit)

Installation and Usage

Python 3.11 or newer required.

uv tool install obsidian-cli
obsidian --install-completion
obsidian --help

This package can also be used as a Python API for Obsidian:

from obsidian_cli import ObsidianConfig, open_vault
from pathlib import Path

print(ObsidianConfig.load())

open_vault(Path(R"C:\example-vault"))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

obsidian_cli-1.0.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obsidian_cli-1.0.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file obsidian_cli-1.0.0.tar.gz.

File metadata

  • Download URL: obsidian_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for obsidian_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8778c2f2267e42b21c6d1c004e357589b6e443825ad6414353df9d44611df491
MD5 3b949008eca6ae81633dc7435c2b2740
BLAKE2b-256 c9d204c8e66cc2f227e38673a04c29c43f0363e279fc8257e5cceb55b0784d08

See more details on using hashes here.

File details

Details for the file obsidian_cli-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for obsidian_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4ca166c65d8ee4a476e70f9af954939d2e6d8509b428115ae6dcaf560c2beaf
MD5 7987a139963c9d5821a587495fbe7434
BLAKE2b-256 b159a8b67a236dc54c119fb166894a16b0890e3dcec5d1f9da598624f8599f85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page