Skip to main content

Types for creating language servers that can speak with klighd clients.

Project description

KLighD Python Types

This project holds automatically generated types that can be used to implement language servers that can speak the language server protocol variant understood by klighd.

Getting Started

Setup a virtual environment and install the required packages.

python -m venv ls-env
source ls-env/bin/activate
pip install -r requirements.txt

Generating the KGraph data structure from schema

The schema is defined in klighd-vscode.

The generated types are committed in this repository to be published as a python package. If the schemas are updated they can be rebuilt using the rebuild_types.sh build script. For this to work the initial setup under getting started has to have been done.

Releasing Python package

Automatic Build and Release with Github Workflow

TODO

Manual Release Process

Update the version number using hatch.

hatch version major/minor/patch

Build the distribution files with Hatchling.

python3 -m build

Upload the package to PyPI with twine.

python -m twine upload --repository pypi dist/*

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

kieler_klighd_types-0.0.4.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

kieler_klighd_types-0.0.4-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file kieler_klighd_types-0.0.4.tar.gz.

File metadata

  • Download URL: kieler_klighd_types-0.0.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for kieler_klighd_types-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0afd6928ce4e05dda127e38c2a26ff92bedb787b6fae568eef6d5295cf976ef5
MD5 9d07698b85a7fa91a1392b1754f5d387
BLAKE2b-256 330c65a281b64bbb1e728a50328bc24d14815afc97fdc98cb5fd8847b75511f3

See more details on using hashes here.

File details

Details for the file kieler_klighd_types-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for kieler_klighd_types-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 acaf9fac03b0e100b3fbe1554e1aebc07899a0392d5c1d4da702aebec7e54b1d
MD5 aa9c79b45004fcc1365348f1108f7bf2
BLAKE2b-256 dd668f8993dbaf1811e7a71daaadee7f28c0722818a54255ccbbbae315dd970d

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