guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add python-geoip2fast.


From: guix-commits
Subject: branch master updated: gnu: Add python-geoip2fast.
Date: Thu, 08 Feb 2024 13:21:27 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 24e87f64cf gnu: Add python-geoip2fast.
24e87f64cf is described below

commit 24e87f64cfaf6fb5c3ac1fda9ac67c277c610c5e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Feb 8 19:19:44 2024 +0100

    gnu: Add python-geoip2fast.
    
    * gnu/packages/geo.scm (python-geoip2fast): New variable.
    
    Change-Id: Ia1ca57ac281c487db65ad3474940e8326082b7a1
---
 gnu/packages/geo.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 7ceb3cd54a..aeb3a9fbd2 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3106,6 +3106,30 @@ path loss.")
      "This is a python implementation of the geodesic routines in 
GeographicLib.")
     (license license:expat)))
 
+(define-public python-geoip2fast
+  (package
+    (name "python-geoip2fast")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "geoip2fast" version))
+       (sha256
+        (base32 "1cmdjlwjd4pg3qvsb8d4vghqj1im58npxb6dmrd5q90wjga4rfvm"))))
+    (build-system pyproject-build-system)
+    ;; The tests are speed tests or development tests to compare results with
+    ;; a different library.
+    (arguments (list #:tests? #false))
+    (home-page "https://github.com/rabuchaim/geoip2fast";)
+    (synopsis
+     "Fast GeoIP2 country/city/asn lookup library")
+    (description
+     "@code{GeoIP2Fast} is a fast @code{GeoIP2} country/city/asn lookup
+library that supports IPv4 and IPv6.  A search takes less than 0.00003
+seconds.  It has its own data file updated twice a week with
+Maxmind-Geolite2-CSV, supports IPv4/IPv6 and is pure Python.")
+    (license license:expat)))
+
 (define-public python-geopy
   (package
     (name "python-geopy")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]