kopia lustrzana https://github.com/simonw/datasette
Added datasette-haversine to plugins list
rodzic
df2879ee2a
commit
f9d0ce4233
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue