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.1rc2.tar.gz (84.7 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.1rc2-py3-none-any.whl (52.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: abinit_lsp-0.1.1rc2.tar.gz
  • Upload date:
  • Size: 84.7 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.1rc2.tar.gz
Algorithm Hash digest
SHA256 297fc1d55a7b2e145cc15994fb29fcb99e6e0a74be394e027bc3c8c2058238b1
MD5 a3909663483eefd7bebf82ccd188c190
BLAKE2b-256 5c14c1045b2b40fade4e12cf77ee287a258a1c40210a2c6e002ad3b4c964a28d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: abinit_lsp-0.1.1rc2-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.1rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 6cd6e3e8ed738b65e15851a9dc99b02a0631091938ee6b79056d9e32774f6e21
MD5 bd7497dbe9aafd534f342b18583b5f5b
BLAKE2b-256 aab286b52063f0dc5f4d52b78f87e86305c05472eb73a36f2668a685f195d341

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