From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2JeCNas/nWEsYwEAgWs5BA (envelope-from ) for ; Tue, 23 Nov 2021 20:23:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UAEeMas/nWFzTAAAbx9fmQ (envelope-from ) for ; Tue, 23 Nov 2021 19:23:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 46BF415ED6 for ; Tue, 23 Nov 2021 20:23:23 +0100 (CET) Received: from localhost ([::1]:56180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpbNy-0008Hn-EI for larch@yhetil.org; Tue, 23 Nov 2021 14:23:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpbNf-0008Fx-6f for guix-patches@gnu.org; Tue, 23 Nov 2021 14:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpbNe-000299-ND for guix-patches@gnu.org; Tue, 23 Nov 2021 14:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpbNe-00034v-Jj for guix-patches@gnu.org; Tue, 23 Nov 2021 14:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52064] [PATCH] gnu: Add python-sodapy. Resent-From: Luis Felipe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Nov 2021 19:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52064 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52064@debbugs.gnu.org X-Debbugs-Original-To: Luis Felipe via Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.163769537611802 (code B ref -1); Tue, 23 Nov 2021 19:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2021 19:22:56 +0000 Received: from localhost ([127.0.0.1]:52294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpbNR-000348-KC for submit@debbugs.gnu.org; Tue, 23 Nov 2021 14:22:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:57548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpbNP-000340-4s for submit@debbugs.gnu.org; Tue, 23 Nov 2021 14:22:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpbNO-00083J-WB for guix-patches@gnu.org; Tue, 23 Nov 2021 14:22:47 -0500 Received: from mail-0201.mail-europe.com ([51.77.79.158]:59655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpbNK-00025L-4e for guix-patches@gnu.org; Tue, 23 Nov 2021 14:22:46 -0500 Date: Tue, 23 Nov 2021 19:22:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1637695349; bh=fcGw0XeIqmWLN4kHpRrvQHJqkz/KbUj0f0b5SOWE1rU=; h=Date:To:From:Reply-To:Subject:From; b=H9Kn+BTqHxVTYqJ1mBxtJhqbX9ppN38knWU0BHwtpLjnLUH+BZ2w+S36gHrujU3gk FxXbBi5E8+tnxF7Aks7+EWIQ/bMNRVLt4qv9cXtH9BMXhdFjm8rP6KH7LXfGCt1a+M oYHDUQGsqySLHbnFzt1SdWmhRNtePrFXkGUbKUhw= Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------300108a9de9cbeff83b374db690cd8d1842fa35af79cb4704cf80b43134162df"; charset=utf-8 Received-SPF: pass client-ip=51.77.79.158; envelope-from=luis.felipe.la@protonmail.com; helo=mail-0201.mail-europe.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) AC_FROM_MANY_DOTS=0.553, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Luis Felipe X-ACL-Warn: , Luis Felipe via Guix-patches From: Luis Felipe via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637695403; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=fcGw0XeIqmWLN4kHpRrvQHJqkz/KbUj0f0b5SOWE1rU=; b=K5Q6nVXvtVR7OZENo3EYPueB0yP0Py+ggPtgBsEaNWFQsARUDLj5fOhtaQ5fzvQj0yhzkp rq0SG5wkyM7Ma0l23V1m6mFMPQ4QgMaz6rEcMSU4y3woZzRsScY/pkL8pIV1oKtQVXrA1C EFuu7H9Shm8A2vnplKIBUO+uDa4VmBVoFgDN4WcMwQGkXCUFsWze408DDIw2kLkDy8fRne 90t7DcxpINGt7jG0NQzRoiOdUfY0gVYl+QdlOK7mN0x65br1F6OW5NX4kaniOUbY6Yo7n0 D7IHawmr9kio2vhojOBD5sbwRyxkB9l7vVSlV8glx7ZIjbI/hFLfxRBySpj6Vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637695403; a=rsa-sha256; cv=none; b=RXgkL+KTunSmZsDDZi2i2U9y9h/rtuJcNZPkljRuCTb7wK6+U/lbNxmp7SmU5JsNmHKdRM gkFb0Ya9ewYysC8sgIUgSRBLBMUviAks03cwuBX99aj2ML7H28LNVHbuicE/CyKDtLyA6E a9V28az+2/rXftIwtdTGfXSFm8uc7wMun4yU1/YZM4zaxEPzpUECz6JCHdehPOepHG9UNg eGjTCRPsksnWrgHC1vRAM6QtAjb2R9bKfudYJDRcb7yaSxghQeJ34KE16aYTAA3gF2x4pY SZlZHjsvIQg+CHQDQnWx/NusD1a9BCIsgt6PNLXb+9KuNOjrp4Yw38bwcbAM2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=H9Kn+BTq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.49 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=H9Kn+BTq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 46BF415ED6 X-Spam-Score: -5.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: rzuYyyye68dr This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------300108a9de9cbeff83b374db690cd8d1842fa35af79cb4704cf80b43134162df Content-Type: multipart/mixed;boundary=---------------------06415a6e786fc6ebff32a9a47a6ed1e8 -----------------------06415a6e786fc6ebff32a9a47a6ed1e8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Hi, this is a new package pretty much imported by Guix from Pypi. I instal= led it, tried it out with the following code in a Python interpreter, and = it worked. ~~~ from sodapy import Socrata client =3D Socrata("www.datos.gov.co", None) # First 100 results, returned as JSON from API / converted to Python list = of # dictionaries by sodapy. results =3D client.get("gt2j-8ykr", limit=3D100) results ~~~ I then generated the attached patch by following the packaging videos (htt= ps://guix.gnu.org/en/videos/2020/packaging-part-one/). I hope it works (but I can make changes if it doesn't), --- Luis Felipe L=C3=B3pez Acevedo https://luis-felipe.gitlab.io/ -----------------------06415a6e786fc6ebff32a9a47a6ed1e8 Content-Type: text/x-patch; filename="0001-gnu-Add-python-sodapy.patch"; name="0001-gnu-Add-python-sodapy.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-gnu-Add-python-sodapy.patch"; name="0001-gnu-Add-python-sodapy.patch" RnJvbSA4ZjYwNWRhOGFjMzE1N2I0NjdjYzJmY2M2YjVlYzgzY2ZhNDM2ZGFmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBMdWlzIEZlbGlwZSA8bHVpcy5mZWxpcGUubGFAcHJvdG9ubWFp bC5jb20+CkRhdGU6IFR1ZSwgMjMgTm92IDIwMjEgMTM6MzA6MDQgLTA1MDAKU3ViamVjdDogW1BB VENIXSBnbnU6IE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gcHJvamVjdHMgd2l0aCBsZWdhY3kgZGF0YSBhbmQgZGl2 ZXJzZSBzdG9yYWdlIHByb3ZpZGVycy4iKQogICAgIChsaWNlbnNlIGxpY2Vuc2U6ZXhwYXQpKSkK KworKGRlZmluZS1wdWJsaWMgcHl0aG9uLXNvZGFweQorICAocGFja2FnZQorICAgIChuYW1lICJw eXRob24tc29kYXB5IikKKyAgICAodmVyc2lvbiAiMi4xLjAiKQorICAgIChzb3VyY2UKKyAgICAg KG9yaWdpbgorICAgICAgIChtZXRob2QgdXJsLWZldGNoKQorICAgICAgICh1cmkgKHB5cGktdXJp ICJzb2RhcHkiIHZlcnNpb24pKQorICAgICAgIChzaGEyNTYKKyAgICAgICAgKGJhc2UzMiAiMDN5 d2YxNGZwbGdyejE1Y2k2bHZqMWttYnJkMHNnaHZjbWpibmFyeDQwMzZxN3BoM3JzNCIpKSkpCisg ICAgKGJ1aWxkLXN5c3RlbSBweXRob24tYnVpbGQtc3lzdGVtKQorICAgIChwcm9wYWdhdGVkLWlu cHV0cyBgKCgicHl0aG9uLXJlcXVlc3RzIiAscHl0aG9uLXJlcXVlc3RzKSkpCisgICAgKGhvbWUt cGFnZSAiaHR0cHM6Ly9naXRodWIuY29tL3htdW5vei9zb2RhcHkiKQorICAgIChzeW5vcHNpcyAi UHl0aG9uIGxpYnJhcnkgZm9yIHRoZSBTb2NyYXRhIE9wZW4gRGF0YSBBUEkiKQorICAgIChkZXNj cmlwdGlvbiAiUHl0aG9uIGxpYnJhcnkgZm9yIHRoZSBTb2NyYXRhIE9wZW4gRGF0YSBBUEkuIikK KyAgICAobGljZW5zZSBsaWNlbnNlOmV4cGF0KSkpCi0tIAoyLjMzLjAKCg== -----------------------06415a6e786fc6ebff32a9a47a6ed1e8 Content-Type: application/pgp-keys; filename="publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc"; name="publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey -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cNCjZPZjFoRVU3OTJY WkV4a3lBODJQZ0xCTlkrVnpOWFhLQ0g3Tlh4WlFRV1Y1blhjYlVGQ1p5Slp1ZFNnUQ0KeGsxOXNR ZjRzOXZKWDZQQzY4cXdpN2FKMTduVmZyYmNNYXlScG0yT0dKWGQrdDkxVi9Mbk5wQ1JndGwzDQpq TllzQ0JGS0RDMFl4ZEEvTkNkRWsxZ2Z1akZ6bDBiQnM3KzVKYmQzelJhRTVBZmRWUXRJbG1FWERr VzYNCjB1eUVpM050Y3E1b2RYQTFubFIrZTA0NEtGdmVaekZ1Tk5lVGdzekFCcjVIaVU3MC9FbHlz dz09DQo9ejZlNw0KLS0tLS1FTkQgUEdQIFBVQkxJQyBLRVkgQkxPQ0stLS0tLQ0K -----------------------06415a6e786fc6ebff32a9a47a6ed1e8-- --------300108a9de9cbeff83b374db690cd8d1842fa35af79cb4704cf80b43134162df Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJhnT9iACEJEDngx2N6OcapFiEEEt4VmH0cRaQ093DvOeDH Y3o5xqm2jQf/dWD6WLXXIR1jSG7fwlZ9UT48qMcwCfuYbTmxENMatMw7yyCg tKG3NqcGsU6cYMa6mtkjV4nHR5sPY50M0R+etVdWMGzfKse6O+1PzqfF6mW2 p7RIrIUWztGjQmWN2q7gN9VDY/dmn7jWvXRJnIYC8VdoC0vL4OLzdEyBs3aq fHyMwWfPnT8gt9wOU1TrAwDbIcjdBmoIJLcGraZBzHpive1zaIXWEfewYqdf 6IrrLLao1iKeKF6yP73X6uWghmaI1Att/QSx61ZiAhTPEu2x+zYuXL1Ad+58 j0cO/545HNRNtEkdDX3ETOmJZc5glpgwjpwwANm1pcO4oKSqtTVRAA== =Jfa/ -----END PGP SIGNATURE----- --------300108a9de9cbeff83b374db690cd8d1842fa35af79cb4704cf80b43134162df--