From: Pjotr Prins <pjotr.public12@thebird.nl>
To: swedebugia <swedebugia@riseup.net>
Cc: guix-devel@gnu.org
Subject: Re: [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes
Date: Fri, 2 Nov 2018 16:37:56 +0100 [thread overview]
Message-ID: <20181102153756.kaf3wcau3smbhi3s@thebird.nl> (raw)
In-Reply-To: <bf66028d-f788-d6eb-a201-465adaa0e232@riseup.net>
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.
next prev parent reply other threads:[~2018-11-02 15:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-01 9:44 [Feature idea] Adding wikidata, wikipedia & screenshot-url fields to package-recipes swedebugia
2018-11-01 10:21 ` Pjotr Prins
2018-11-01 22:33 ` swedebugia
2018-11-02 7:24 ` Pjotr Prins
2018-11-02 11:37 ` swedebugia
2018-11-02 15:37 ` Pjotr Prins [this message]
2018-11-01 13:37 ` Amirouche Boubekki
2018-11-01 23:25 ` swedebugia
2018-11-03 7:53 ` Catonano
2018-11-01 15:00 ` Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181102153756.kaf3wcau3smbhi3s@thebird.nl \
--to=pjotr.public12@thebird.nl \
--cc=guix-devel@gnu.org \
--cc=swedebugia@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.