Skip to main content

Language Server Protocol and CLI tools for ABACUS INPUT, STRU, and KPT files

Project description

abacus-lsp

abacus-lsp is a Language Server Protocol and CLI toolkit for ABACUS INPUT, STRU, and KPT files.

The project goal is to provide a fast, deterministic feedback layer for humans and coding agents that write ABACUS inputs. The LSP should stay lightweight: syntax, schema, cross-file checks, formatting, and explicit commands belong in this repository; real ABACUS calculations, Bohrium submissions, and heavier workflow automation should only run through explicit test or command entry points.

Initial CLI Surface

abacus-lsp --stdio
abacus-lint ./case --json
abacus-fmt -w INPUT STRU KPT
abacus-test static ./case

The first committed version includes a small static analyzer and formatter scaffold so roadmap work can start from a runnable baseline.

Development

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

The runtime package intentionally has no hard dependency on ABACUS, PyABACUS, or ABACUS-agent-tools. Those integrations are planned as optional backends.

Roadmap

The roadmap is tracked in GitHub issues and summarized in docs/roadmap/ROADMAP.md.

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

abacus_lsp-0.1.1rc1.tar.gz (131.0 kB view details)

Uploaded Source

Built Distribution

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

abacus_lsp-0.1.1rc1-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for abacus_lsp-0.1.1rc1.tar.gz
Algorithm Hash digest
SHA256 b16df6caf8fffd52f2257d4858640fa81c283bae5c634f1b781efb9349fc829f
MD5 c48f073baad82587669f715480c370f6
BLAKE2b-256 e2f8a1817f3d67bba53521012a0becbd1a8b1237ee52249a07cf839a3ff26906

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for abacus_lsp-0.1.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a24fef05625ab414e2bb72812c2f276c4d25abc757ce67c29f02caedcb3d00
MD5 7dbb90b2855eb0ba157ab6ae3ea5ec7e
BLAKE2b-256 9fedcf101b96259ee304d1d0cb55c50fb06cd73118fe7cd350434d3a67b2ecf6

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