Added datasette-haversine to plugins list

pages
Simon Willison 2019-11-27 06:04:32 -08:00 zatwierdzone przez GitHub
rodzic df2879ee2a
commit f9d0ce4233
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -110,6 +110,15 @@ datasette-pretty-json
`datasette-pretty-json <https://github.com/simonw/datasette-pretty-json>`__ seeks out JSON values in Datasette's table browsing interface and pretty-prints them, making them easier to read.
datasette-haversine
-------------------
`datasette-haversine <https://github.com/simonw/datasette-haversine>`__ provides a SQL ``haversine()`` function which can calculate the haversine distance between two geographical points. You can then sort by this distance to find records closest to a specified location.
::
select haversine(lat1, lon1, lat2, lon2, 'mi');
datasette-sqlite-fts4
---------------------
@ -123,4 +132,4 @@ datasette-bplist
datasette-cors
--------------
`datasette-cors <https://github.com/simonw/datasette-cors>`__ allows you to configure `CORS headers <https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS>`__ for your Datasette instance. You can use this to enable JavaScript running on a whitelisted set of domains to make ``fetch()`` calls to the JSON API provided by your Datasette instance.
`datasette-cors <https://github.com/simonw/datasette-cors>`__ allows you to configure `CORS headers <https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS>`__ for your Datasette instance. You can use this to enable JavaScript running on a whitelisted set of domains to make ``fetch()`` calls to the JSON API provided by your Datasette instance.