Turtle Language Server
This is a LSP server implementation for RDF graphs serialized as Turtle.
Install with: pip install turtle_language_server
Commands and Features
-
Use the
loadGraphscommand to pull in the graph definitions listed as prefixes in your Turtle file:# caches graphs in-memory for NeoVim session :CocCommand loadGraphs# overrides cache and pulls graphs anyway :CocCommand loadGraphs force -
syntax checking your Turtle file (including undefined namespaces)
-
auto-complete when adding statements to the file (relies on
loadGraphs)
TODOs:
- verify shapes and add validation information to UI
Setup With NeoVim and CoC
If you are using coc.nvim, you can configure the language server as follows:
-
Make sure Vim correctly detects turtle files and sets the filetype. One way to achieve this is by adding the following line to your
.vimrcorinit.nvim:au BufRead,BufNewFile *.ttl set filetype=turtle
-
Modify your CoC settings to use the
turtle_language_serverwhen you open a Turtle file.- First, run
:CocConfigor editcoc-settings.json - Add the following (merge with existing keys in
"languageserver"if needed):{ "languageserver": { "turtle": { "command": "turtle_langserver", "filetypes": ["ttl", "turtle"] } } }
- First, run
Metadata
Release files for turtle-language-server 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| turtle-language-server-0.1.2.tar.gz | 5.4 kB | Without provenance | Details for turtle-language-server-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| turtle_language_server-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for turtle_language_server-0.1.2-py3-none-any.whl |
Total release size: 11.5 kB
Release files / turtle-language-server-0.1.2.tar.gz
| Download URL | turtle-language-server-0.1.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2c8b5e668bff2830e501e4aeef033bdb068b776d36fd559d958ec1ca5f5f549
|
|
BLAKE2b-256 checksum How to use checksums |
c2f5efc148eb011c79c0883a48e585484240a978374ac454c2c000301adb3c02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-7630-generic
|
Release files / turtle_language_server-0.1.2-py3-none-any.whl
| Download URL | turtle_language_server-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8d26975b60f54899f0a6862187ad54d994504bd17bad87f3e27f2783925082d
|
|
BLAKE2b-256 checksum How to use checksums |
62d02397915fdebf18fc14a0b415a94680b511965e03848ce4650cc04e83ab0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-7630-generic
|
Security for turtle-language-server 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.