@Lucas I have created a new release of qwikidata
(v0.4.0) which
supports Python 3.5. I hope this helps Wikimedia Toolforge users.
Docs and PyPI have been
updated
https://qwikidata.readthedocs.io/en/stable/readme.html
On Thu, Apr 11, 2019 at 10:48 AM Gabriel Altay
<gabriel.altay(a)gmail.com <mailto:gabriel.altay@gmail.com>> wrote:
Thanks for the information Lucas, I will look into this. The
typing will be the hardest part to back port, but I will figure
something out. I would not want it to be unavailable in Toolforge!
On Thu, Apr 11, 2019 at 10:44 AM Lucas Werkmeister
<mail(a)lucaswerkmeister.de <mailto:mail@lucaswerkmeister.de>> wrote:
That looks very interesting! But the Python 3.6 requirement is
quite unfortunate for Wikimedia Toolforge users – the default
Python version there is still 3.4, and even the latest image
available (not yet available for the 'webservice' comand) has
only Python 3.5 (T219091). Would it be difficult to support at
least Python 3.5?
Cheers,
Lucas
On 11.04.19 14:33, Gabriel Altay wrote:
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
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/wikidata
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata