From 37452aed6cc0a0c03d969d6e07f5e732a2839c96 Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Tue, 4 Mar 2025 12:05:34 +0100 Subject: battering: Add python-socid-extractor. * battering/packages/python-xyz.scm (python-socid-extractor): New variable. --- battering/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index 1afd54f..65eb932 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -682,3 +682,27 @@ that do not support Arabic text.") (description "This package provides a simple interface for HTTP(s) requests over Tor.") (license license:expat))) + +(define-public python-socid-extractor + (package + (name "python-socid-extractor") + (version "0.0.27") + (source + (origin + (method url-fetch) + (uri (pypi-uri "socid_extractor" version)) + (sha256 + (base32 "1jzk7r5nj5gkcc7kzzk8kvgn4wk6f0zbpzxjbqq2yb797942w0yj")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-beautifulsoup4 python-dateutil + python-requests)) + (native-inputs (list python-setuptools python-wheel)) + ;; Tests require internet, obviously. + (arguments (list #:tests? #f)) + (home-page "https://github.com/soxoj/socid-extractor") + (synopsis + "Extract accounts' identifiers from personal pages on various platforms") + (description + "Extract information about a user from profile webpages / API responses +and save it in machine-readable format.") + (license license:gpl3))) -- cgit v1.2.3