pyLoDStorage
python List of Dict (Table) Storage library
| PyPi | |
| GitHub | |
| Code | |
| Docs | |
| Cite |
Cite as
If you use pyLoDStorage in your research, please cite it via its Zenodo concept DOI (which always resolves to the latest version):
Fahl, W., & Holzheim, T. pyLoDStorage — python List of Dict (Table) Storage library. Zenodo. https://doi.org/10.5281/zenodo.17805335
Machine-readable metadata is available in CITATION.cff;
GitHub's "Cite this repository" button and Zenodo pick it up automatically.
For a specific release, use the version DOI shown on the corresponding
Zenodo record.
What it is
pyLoDStorage allows to store table like data (List of Dicts) via
- Sqlite3
- JSON
- SPARQL
Installation
pip install pylodstorage
Get Sources
git clone https://github.com/WolfgangFahl/pyLoDStorage
cd pyLodStorage
scripts/install
Testing
scripts/test
Usage
see test cases
Command Line Interface
sparqlquery
sparqlquery -h
usage: sparqlquery [-h] [-d] [-ep ENDPOINTPATH] [-fp FORMATSPATH] [-li]
[--limit LIMIT] [--params PARAMS] [-le] [-sq]
[-qp QUERIESPATH] [-q QUERY] [-qf QUERYFILE]
[-qn QUERYNAME] [-en ENDPOINTNAME] [--method METHOD]
[-f {csv,json,html,xml,tsv,latex,mediawiki,raw,github}]
[-m MIMETYPE] [-p] [-raw] [-V]
commandline query of endpoints in diverse languages such as SPARQL/SQL
Created by Wolfgang Fahl on 2020-09-10.
Copyright 2020-2025 Wolfgang Fahl. All rights reserved.
Licensed under the Apache License 2.0
http://www.apache.org/licenses/LICENSE-2.0
Distributed on an "AS IS" basis without warranties
or conditions of any kind, either express or implied.
USAGE
options:
-h, --help show this help message and exit
-d, --debug set debug [default: False]
-ep ENDPOINTPATH, --endpointPath ENDPOINTPATH
path to yaml file to configure endpoints to use for
queries
-fp FORMATSPATH, --formatsPath FORMATSPATH
path to yaml file to configure formats to use for
query result documentation
-li, --list show the list of available queries
--limit LIMIT set limit parameter of query
--params PARAMS query parameters as Key-value pairs in the format
key1=value1,key2=value2
-le, --listEndpoints show the list of available endpoints
-sq, --showQuery show the query
-qp QUERIESPATH, --queriesPath QUERIESPATH
path to YAML file with query definitions
-q QUERY, --query QUERY
the query to run
-qf QUERYFILE, --queryFile QUERYFILE
the query file to run
-qn QUERYNAME, --queryName QUERYNAME
run a named query
-en ENDPOINTNAME, --endpointName ENDPOINTNAME
Name of the endpoint to use for queries. Available by
default: ['wikidata', 'wikidata-main', 'wikidata-
scholarly', 'wikidata-legacy-full', 'wikidata-dbis',
'wikidata-qlever', ...]
--method METHOD method to be used for SPARQL queries
-f {csv,json,html,xml,tsv,latex,mediawiki,raw,github}, --format {csv,json,html,xml,tsv,latex,mediawiki,raw,github}
-m MIMETYPE, --mimeType MIMETYPE
MIME-type to use for the raw query
-p, --prefixes add predefined prefixes for endpoint
-raw return the raw query result from the endpoint. (MIME
type defined over -f or -m)
-V, --version show program's version number and exit
Documentation
Authors
Metadata
Release files for pyLodStorage 0.19.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pylodstorage-0.19.7.tar.gz | 667.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pylodstorage-0.19.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 767.7 kB
Release files / pylodstorage-0.19.7.tar.gz
| Download URL | pylodstorage-0.19.7.tar.gz |
|---|---|
| Size | 667.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4514440cb77ae9c2776111e198c569a26c91dc9be8a1ce1c73cf38a54968145b
|
|
BLAKE2b-256 checksum How to use checksums |
341d6703be58848cc56fce11c488265c0c7047323b9e40e9a73d5a7a191f426e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logRelease files / pylodstorage-0.19.7-py3-none-any.whl
| Download URL | pylodstorage-0.19.7-py3-none-any.whl |
|---|---|
| Size | 100.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
057639fba42e20f8a207a9ed566287e75f9770434922d01ccac17f37554972ac
|
|
BLAKE2b-256 checksum How to use checksums |
f2ac5df958f76b198bfa9cd5fad0ffe35fb1b742a7c29bb25bcaa121c7205350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency log