gnu: Add python-folium.

* gnu/packages/python-xyz.scm (python-folium): New variable.
master
Nicolas Goaziou 2019-08-20 01:53:49 +02:00
parent 2bdb5716d8
commit dfe8a7048e
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 31 additions and 0 deletions

View File

@ -16058,3 +16058,34 @@ one-off scripts.")
time-or-computationally-expensive properties quick and easy and works in Python
2 or 3.")
(license license:bsd-3)))
(define-public python-folium
(package
(name "python-folium")
(version "0.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "folium" version))
(sha256
(base32
"18fzxijsgrb95r0a8anc9ba5ijyw3nlnv3rpavfbkqa5v878x84f"))))
(build-system python-build-system)
(propagated-inputs
`(("python-branca" ,python-branca)
("python-jinja2" ,python-jinja2)
("python-numpy" ,python-numpy)
("python-requests" ,python-requests)))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://github.com/python-visualization/folium")
(synopsis "Make beautiful maps with Leaflet.js & Python")
(description "@code{folium} makes it easy to visualize data thats been
manipulated in Python on an interactive leaflet map. It enables both the
binding of data to a map for @code{choropleth} visualizations as well as
passing rich vector/raster/HTML visualizations as markers on the map.
The library has a number of built-in tilesets from OpenStreetMap, Mapbox, and
Stamen, and supports custom tilesets with Mapbox or Cloudmade API keys. It
supports Image, Video, GeoJSON and TopoJSON overlays.")
(license license:expat)))