# Fichu
A blazingly fast formatter and [language server](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification) for [SPARQL](https://de.wikipedia.org/wiki/SPARQL), written in Rust :crab:.
# Getting Started
## Installation
Fichu is availible on [PyPi](https://pypi.org/project/fichu/):
```shell
pipx install fichu
```
Or on [crate.io](https://crates.io/crates/fichu):
```shell
cargo install fichu
```
You can also build it from source:
```shell
git clone https://github.com/IoannisNezis/sparql-language-server.git
cd sparql-language-server
cargo build --release
```
## Usage
To run Fichu as **formatter** run:
```shell
fichu format <PATH>
```
To run Fichu as **lanugage server** run:
```shell
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](https://www.npmjs.com/package/@ioannisnezis/sparql-language-server):
```shell
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](https://sparql.nezis.de).
Raw data
{
"_id": null,
"home_page": null,
"name": "fichu",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "SPARQL, formatter, lsp, wasm",
"author": "Ioannis Nezis <ioannis@nezis.de>",
"author_email": "Ioannis Nezis <ioannis@nezis.de>",
"download_url": "https://files.pythonhosted.org/packages/32/88/b265fcada283feaa5350e0c3c49158da1e58e974ee0ed3745b04aa7a996a/fichu-0.1.7.tar.gz",
"platform": null,
"description": "# Fichu\n\nA blazingly fast formatter and [language server](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification) for [SPARQL](https://de.wikipedia.org/wiki/SPARQL), written in Rust :crab:.\n\n# Getting Started\n\n## Installation\n\nFichu is availible on [PyPi](https://pypi.org/project/fichu/):\n\n```shell\npipx install fichu\n```\n\nOr on [crate.io](https://crates.io/crates/fichu):\n\n```shell\ncargo install fichu\n```\n\nYou can also build it from source:\n\n\n```shell\ngit clone https://github.com/IoannisNezis/sparql-language-server.git\ncd sparql-language-server\ncargo build --release\n```\n\n## Usage\n\nTo run Fichu as **formatter** run:\n\n```shell\nfichu format <PATH>\n```\n\nTo run Fichu as **lanugage server** run:\n\n```shell\nfichu server\n```\n\nThis will create a language server listening on stdio.\n\n\n# use in web\n\nIf you want to connect from a web-based-editor, you can use this package as well. \nFor this purpouse this can be compiled to wasm and is availible on [npm](https://www.npmjs.com/package/@ioannisnezis/sparql-language-server):\n\n\n```shell\nnpm i @ioannisnezis/sparql-language-server\n```\n\nYou will have to wrap this in a Web Worker and provide a language server client.\nThere will be more documentation on this in the future...\n\n## Demo\n\nIn the mean time, check out the [demo](https://sparql.nezis.de).\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A formatter for SPARQL queries",
"version": "0.1.7",
"project_urls": {
"Source Code": "https://github.com/IoannisNezis/sparql-language-server"
},
"split_keywords": [
"sparql",
" formatter",
" lsp",
" wasm"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5ce48c7e84749329868cc361ce499d9c8175eb47879acc3a8b901d6e0e6c7acf",
"md5": "4f0752eb3ae4d911e998f0fea650a9d6",
"sha256": "576ae45a6f40eda61cb3da44b1d8568e8f8239efde5ef46f9f68452321092251"
},
"downloads": -1,
"filename": "fichu-0.1.7-py3-none-manylinux_2_34_x86_64.whl",
"has_sig": false,
"md5_digest": "4f0752eb3ae4d911e998f0fea650a9d6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 1228126,
"upload_time": "2024-09-18T11:22:20",
"upload_time_iso_8601": "2024-09-18T11:22:20.309617Z",
"url": "https://files.pythonhosted.org/packages/5c/e4/8c7e84749329868cc361ce499d9c8175eb47879acc3a8b901d6e0e6c7acf/fichu-0.1.7-py3-none-manylinux_2_34_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "3288b265fcada283feaa5350e0c3c49158da1e58e974ee0ed3745b04aa7a996a",
"md5": "f3a0e35d568aaf506e0417f36806831f",
"sha256": "c95a69c9ebc158fbe10b7c3218548c11897447fde3a0d49d7d550b59faba8b40"
},
"downloads": -1,
"filename": "fichu-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "f3a0e35d568aaf506e0417f36806831f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 29641,
"upload_time": "2024-09-18T11:22:22",
"upload_time_iso_8601": "2024-09-18T11:22:22.086153Z",
"url": "https://files.pythonhosted.org/packages/32/88/b265fcada283feaa5350e0c3c49158da1e58e974ee0ed3745b04aa7a996a/fichu-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-18 11:22:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "IoannisNezis",
"github_project": "sparql-language-server",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fichu"
}