tombi (version 0.9.18) is a comprehensive TOML Language Server and toolkit designed to provide rich editor features like auto-completion, validation, and navigation for TOML files. It focuses particularly on project configuration files such as `pyproject.toml` and `Cargo.toml`. The project is actively maintained with frequent minor releases addressing features, fixes, and dependency updates.
pip install tombiNo compatibility data collected yet for this library.
This quickstart demonstrates how to programmatically start `tombi` as an LSP server. Most users will integrate `tombi` directly with their editor's LSP client (e.g., VS Code, NeoVim, Helix), which handles the server startup and communication automatically. Direct programmatic use for TOML *data manipulation* is not `tombi`'s primary function; for that, use dedicated TOML parsing libraries.
If you rely on document links for git, path, or workspace dependencies, you must explicitly enable them in your `tombi` configuration (e.g., within your editor's LSP client settings or `tombi.toml`).
For parsing and manipulating TOML files in your Python code, use standard libraries like `tomllib` (built-in from Python 3.11) or third-party libraries like `toml` or `tomli`.
Consult your editor's documentation for integrating LSP servers (e.g., `vscode-toml`, `nvim-lspconfig`, `helix` `languages.toml` settings) and ensure `tombi` is specified as the TOML language server. This typically involves setting the correct command path for `tombi`.
Use a dedicated Python TOML parsing library instead. For Python 3.11+, use `import tomllib`. For older Python versions, install `tomli` or `toml` (`pip install tomli`) and use `import tomli`.
Ensure `tombi` is installed in an environment accessible by your editor's LSP client (e.g., `pip install tombi` in the activated virtual environment or globally). Verify your editor's LSP client configuration points to the correct `python -m tombi` command or the `tombi` executable.
No dependency data recorded yet.