Skip to main content

Language Server Protocol and CLI tools for ABINIT input files

Project description

abinit-lsp

abinit-lsp is an MVP Language Server Protocol and CLI toolkit for ABINIT files used in MatMaster workflows.

The first version is intentionally deterministic and lightweight: static parsing, lint diagnostics, safe formatting, and machine-readable JSON output live here. Full scientific execution, Bohrium submission, and heavy workflow automation stay outside the LSP and should be invoked explicitly by higher-level tools.

CLI Surface

abinit-lsp --stdio
abinit-lint ./case --json
abinit-fmt -w input.file
abinit-test static ./case --json

Diagnostic JSON uses the shared newtontech LSP shape: file, line, column, severity, code, message, evidence, suggested_fix, and confidence.

Development

python -m pip install -e ".[dev]"
pytest
ruff check src tests
ruff format --check src tests
mypy src

Scope

This repository is seeded from MatMaster skill contracts and evaluation fixtures. The roadmap is tracked in GitHub issues and should converge toward parser-backed diagnostics, completion, hover documentation, formatting, OpenQC integration, and regression fixtures.

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

abinit_lsp-0.1.1rc1.tar.gz (81.9 kB view details)

Uploaded Source

Built Distribution

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

abinit_lsp-0.1.1rc1-py3-none-any.whl (52.7 kB view details)

Uploaded Python 3

File details

Details for the file abinit_lsp-0.1.1rc1.tar.gz.

File metadata

  • Download URL: abinit_lsp-0.1.1rc1.tar.gz
  • Upload date:
  • Size: 81.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for abinit_lsp-0.1.1rc1.tar.gz
Algorithm Hash digest
SHA256 3983fd0e99eee5d349d75ca377b4cbdd35767733ae71d3717d7b35b3eb6b1dbd
MD5 f3b9bdc65785a8266288a65b4626b22b
BLAKE2b-256 e71143ac49664192d793b0e9b549512d5ce2d804818f190aa52cc63ab8d3b879

See more details on using hashes here.

File details

Details for the file abinit_lsp-0.1.1rc1-py3-none-any.whl.

File metadata

  • Download URL: abinit_lsp-0.1.1rc1-py3-none-any.whl
  • Upload date:
  • Size: 52.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for abinit_lsp-0.1.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 db08384a876499704f21d3c2f506aa1be5303466d4293485b699817838658c7f
MD5 a7523a914d0180dffffb664a7c2c91e0
BLAKE2b-256 98c01a46869f063d73fad9525017271a7fa93474663f8f408d7b94abc5916c4f

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