Command line utility to interact with Obsidian, providing much needed features.
Project description
Obsidian CLI
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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8778c2f2267e42b21c6d1c004e357589b6e443825ad6414353df9d44611df491
|
|
| MD5 |
3b949008eca6ae81633dc7435c2b2740
|
|
| BLAKE2b-256 |
c9d204c8e66cc2f227e38673a04c29c43f0363e279fc8257e5cceb55b0784d08
|
File details
Details for the file obsidian_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: obsidian_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4ca166c65d8ee4a476e70f9af954939d2e6d8509b428115ae6dcaf560c2beaf
|
|
| MD5 |
7987a139963c9d5821a587495fbe7434
|
|
| BLAKE2b-256 |
b159a8b67a236dc54c119fb166894a16b0890e3dcec5d1f9da598624f8599f85
|