qlever 0.3.8__py3-none-any.whl → 0.3.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of qlever might be problematic. Click here for more details.

qlever/config.py CHANGED
@@ -125,6 +125,7 @@ class QleverConfig:
125
125
  f"want to use it, disable this warning as follows:"
126
126
  f"\n\n"
127
127
  f"export QLEVER_ARGCOMPLETE_CHECK_OFF")
128
+ log.info("")
128
129
 
129
130
  # Create a temporary parser only to parse the `--qleverfile` option, in
130
131
  # case it is given, and to determine whether a command was given that
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qlever
3
- Version: 0.3.8
3
+ Version: 0.3.9
4
4
  Summary: Script for using the QLever SPARQL engine.
5
5
  Author-email: Hannah Bast <bast@cs.uni-freiburg.de>
6
6
  License: Apache License
@@ -215,13 +215,25 @@ License-File: LICENSE
215
215
  Requires-Dist: psutil
216
216
  Requires-Dist: termcolor
217
217
 
218
- # QLever Control
218
+ # QLever
219
219
 
220
- This is a small repository, which provides a script `qlever` that can control
221
- everything that QLever does. The script is supposed to be very easy to use and
222
- pretty much self-explanatory as you use it. If you use Docker, you don't even
223
- have to download any QLever code (Docker will pull the required images) and the
224
- script is all you need.
220
+ QLever is a very fast SPARQL engine, much faster than most existing engines. It
221
+ can handle graphs with more than hundred billion triples on a single machine
222
+ with moderate resources. See https://qlever.cs.uni-freiburg.de for more
223
+ information and many public SPARQL endpoints that use QLever
224
+
225
+ This project provides a Python script that can control everything that QLever
226
+ does, in particular, creating SPARQL endpoints for arbitrary RDF datasets. It
227
+ is supposed to be very easy to use and self-explanatory as you use it. In
228
+ particular, the tool provides context-sensitive autocompletion of all its
229
+ commands and options. If you use a container system (like Docker or Podman),
230
+ you don't even have to download any QLever code, but the script will download
231
+ the required image for you.
232
+
233
+ NOTE: There has been a major update on 24.03.2024, which changed some of the
234
+ Qleverfile variables and command-line options (all for the better, of course).
235
+ If you encounter any problems, please contact us by opening an issue on
236
+ https://github.com/ad-freiburg/qlever-control/issues.
225
237
 
226
238
  # Installation
227
239
 
@@ -231,17 +243,18 @@ that is not the case and tell you what to do.
231
243
 
232
244
  # Usage
233
245
 
234
- First, create an empty directory, with a name corresponding to the dataset you
235
- want to work with. For the following example, take `olympics`. Go to that
236
- directory, and do the following:
246
+ Create an empty directory, with a name corresponding to the dataset you want to
247
+ work with. For the following example, take `olympics`. Go to that directory
248
+ and do the following. After the first call, `qlever` will tell you how to
249
+ activate autocompletion for all its commands and options (it's very easy, but
250
+ `pip` cannot do that automatically).
237
251
 
238
252
  ```
239
- qlever # Basic help + lists of available pre-configs
240
- qlever setup-config olympics # Get examplary Qleverfile (config file)
241
- qlever get-data # Download the dataset (see below)
253
+ qlever setup-config olympics # Get Qleverfile (config file) for this dataset
254
+ qlever get-data # Download the dataset
242
255
  qlever index # Build index data structures for this dataset
243
256
  qlever start # Start a QLever server using that index
244
- qlever test-query # Launch a test query
257
+ qlever example-queries # Launch some example queries
245
258
  qlever ui # Launch the QLever UI
246
259
  ```
247
260
 
@@ -254,25 +267,34 @@ seconds.
254
267
  Each command will also show you the command line it uses. That way you can
255
268
  learn, on the side, how QLever works internally. If you just want to know the
256
269
  command line for a particular command, without executing it, you can append
257
- "show" like this:
270
+ `--show` like this:
258
271
 
259
272
  ```
260
- qlever index show
273
+ qlever index --show
261
274
  ```
262
275
 
263
- There are many more commands and options, see `qlever --help`. The script
264
- supports autocompletion for all its commands and options. You can (and should)
265
- activate it following the instructions given when you just type `qlever`
266
- without any arguments.
276
+ There are many more commands and options, see `qlever --help` for general help,
277
+ `qlever <command> --help` for help on a specific command, or just the
278
+ autocompletion.
267
279
 
268
280
  # For developers
269
281
 
270
282
  The (Python) code for the script is in the `*.py` files in `src/qlever`. The
271
283
  preconfigured Qleverfiles are in `src/qlever/Qleverfiles`.
272
284
 
273
- If you want to make changes to the script, git clone this repository, make any
274
- changes you want, and run `pip install -e .`. Then you can use the script (with
275
- whatever modifications you have made), just as if you had installed it via `pip
276
- install qlever`. Note that unless you change the directory structure, you have
277
- to execute `pip install -e .` only once (this local installation will not copy
278
- your files but link to them).
285
+ If you want to make changes to the script, or add new commands, do as follows:
286
+
287
+ ```
288
+ git clone https://github.com/ad-freiburg/qlever-control
289
+ cd qlever-control
290
+ pip install -e .
291
+ ```
292
+
293
+ Then you can use `qlever` just as if you had installed it via `pip install
294
+ qlever`. Note that you don't have to rerun `pip install -e .` when you modify
295
+ any of the `*.py` files and not even when you add new commands in
296
+ `src/qlever/commands`. The exceutable created by `pip` simply links and refers
297
+ to the files in your working copy.
298
+
299
+ If you have bug fixes or new useful features or commands, please open a pull
300
+ request. If you have questions or suggestions, please open an issue.
@@ -2,7 +2,7 @@ qlever/__init__.py,sha256=IyfS1OhlVE7-rjtv6FPlL0R56VxcNsS6KS7NJQhTDIM,1367
2
2
  qlever/__main__.py,sha256=MqM37bEzQeJEGUXZvuLcilIvnObZiG2eTGIkfKGpdnw,62016
3
3
  qlever/argcomplete-test.py,sha256=MJosqJc313c9aiPfuGJiaI2vwCf-dwAu-SVZ2TX5Wzk,463
4
4
  qlever/command.py,sha256=yOr0Uc8D8-AM7EjwDsVzbc3KNYjPH-FVOZhIHkqO588,2749
5
- qlever/config.py,sha256=BuAIWKq14KFHWBWrKz5OdD7OnvIvS9RHwboxV5l20mU,9992
5
+ qlever/config.py,sha256=LOVW8alFCVgZz_GAWm7vnjZVMVE7m3QTecy34lHgjGE,10017
6
6
  qlever/containerize.py,sha256=p8g3O3G8a_0XLzSTzl_e5t9dqjbCQ-ippoA8vI2Z9pI,4193
7
7
  qlever/customhelp-test.py,sha256=fYLu-KMCHJQkQ8-XE6PtaYqPTMwI-Ew5B_EnIdHKxv4,1505
8
8
  qlever/log.py,sha256=k9Mq4hxQ_d2k0e-5ZVgcB2XIRhOsGMO9I3rIR7YQyDA,1376
@@ -42,9 +42,9 @@ qlever/commands/status.py,sha256=5S6EdapZEwFKV9cQZtNYcZhMbAXAY-FP6ggjIhfX8ek,163
42
42
  qlever/commands/stop.py,sha256=TZs4bxKHvujlZAU8BZmFjA5eXSZNAa6EeNzvPpEZsuI,4139
43
43
  qlever/commands/ui.py,sha256=rV8u017WLbfz0zVT_c9GC4d9v1WWwrTM3kfGONbeCvQ,2499
44
44
  qlever/commands/warmup.py,sha256=WOZSxeV8U_F6pEEnAb6YybXLQMxZFTRJXs4BPHUhsmc,1030
45
- qlever-0.3.8.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
46
- qlever-0.3.8.dist-info/METADATA,sha256=y6kTTCztfGGJDnQvAk1rWFNeCBTOUEEhRrQpnJjiC9Y,16097
47
- qlever-0.3.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
48
- qlever-0.3.8.dist-info/entry_points.txt,sha256=s0iWBHKRUzsJ7B6nVGiyMdOJtiOS84IJMSSxgbNU6LU,85
49
- qlever-0.3.8.dist-info/top_level.txt,sha256=kd3zsYqiFd0--Czh5XTVkfEq6XR-XgRFW35X0v0GT-c,7
50
- qlever-0.3.8.dist-info/RECORD,,
45
+ qlever-0.3.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
46
+ qlever-0.3.9.dist-info/METADATA,sha256=xSj11QMM7EztxVfk0Yi1N7F65h2XKfNsghyWxF96wg8,17049
47
+ qlever-0.3.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
48
+ qlever-0.3.9.dist-info/entry_points.txt,sha256=s0iWBHKRUzsJ7B6nVGiyMdOJtiOS84IJMSSxgbNU6LU,85
49
+ qlever-0.3.9.dist-info/top_level.txt,sha256=kd3zsYqiFd0--Czh5XTVkfEq6XR-XgRFW35X0v0GT-c,7
50
+ qlever-0.3.9.dist-info/RECORD,,
File without changes