[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to
From: |
Pjotr Prins |
Subject: |
Re: [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes |
Date: |
Fri, 2 Nov 2018 16:37:56 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Fri, Nov 02, 2018 at 12:37:15PM +0100, swedebugia wrote:
> Ok. Is there a json guile module?
Yup. Dave wrote one, I believe. There is one shipped with Guix. It is
probably this one https://directory.fsf.org/wiki/Guile-json#Details
> How would I go about mixing python and guile? Export the list of
> package records from guile -> JSON and import in a python script?
> Can I call a python-script from guile and receive input from it?
> So something like: iterate over record fields calling a python
> script to fetch data from wikidata acting on the data feeding it
> to the console/web template code fire up the webserver serving
> the html
That could work, for sure.
Pj.
Re: [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes, Amirouche Boubekki, 2018/11/01