Hello Wikidata folks,
I would like to bring your attention to an open source Python package I've
been developing called qwikidata. It is pip installable and has minimal
requirements (most limiting is python>=3.6). You can read the docs here (
https://qwikidata.readthedocs.io/en/stable/readme.html). My hope is that
it will help people interact with the linked data service, the sparql query
service, and the raw JSON dump files. The linked README above provides
short examples of each.
My design goal was to provide a small set of python classes that handle
items, properties, and lexemes (i.e. entities). These entity classes
provide methods to access things like labels, claims/statements, snaks,
forms, senses, and other data. A more detailed look at one item can be
found here (
https://qwikidata.readthedocs.io/en/stable/entity.html).
I am especially excited about the growing Lexeme dataset and had fun
implementing the classes to store that data. Feel free to reach out via
email or create issues on the github page of the project.
best,
-Gabriel