A formatter for SPARQL queries
Project description
Fichu
A blazingly fast formatter and language server for SPARQL, written in Rust :crab:.
Getting Started
Installation
Fichu is availible on PyPi:
pipx install fichu
Or on crate.io:
cargo install fichu
You can also build it from source:
git clone https://github.com/IoannisNezis/sparql-language-server.git
cd sparql-language-server
cargo build --release
Usage
To run Fichu as formatter run:
fichu format <PATH>
To run Fichu as lanugage server run:
fichu server
This will create a language server listening on stdio.
use in web
If you want to connect from a web-based-editor, you can use this package as well.
For this purpouse this can be compiled to wasm and is availible on npm:
npm i @ioannisnezis/sparql-language-server
You will have to wrap this in a Web Worker and provide a language server client. There will be more documentation on this in the future...
Demo
In the mean time, check out the demo.
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
Built Distribution
File details
Details for the file fichu-0.1.6.tar.gz
.
File metadata
- Download URL: fichu-0.1.6.tar.gz
- Upload date:
- Size: 29.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47e95d01c7afa93692640bbab2d02100ea9d036ff4615f9e232480b58108bd9d |
|
MD5 | 6e9338ae10df8d3f1185c1ef30604d45 |
|
BLAKE2b-256 | 7d8e71cd79da32a3eb5556f318974d4ee567dcd5e5cc264fc08ccd26a9fdd1ea |
File details
Details for the file fichu-0.1.6-py3-none-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: fichu-0.1.6-py3-none-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f1a6de9e42e3a0122bf25b3dd9d81061153de2b3f8a7b9ec2881ecedeba33e |
|
MD5 | 52128d6e0f814010ea880d198e4dd37f |
|
BLAKE2b-256 | 8b05874f2c84f0f173c078d57ba12ac923f4428c23adac70a1ab897d1202aa48 |