nickynicolson/geonomia-MY / plugins /external_links.py
nickynicolson's picture
download
raw
325 Bytes
from datasette import hookimpl
from markupsafe import Markup
@hookimpl
def render_cell(value, column, table, database, datasette):
# Check for your specific column name
if column == "gbifID" and value:
url = f"https://gbif.org/occurrence/{value}"
return Markup(f'<a href="{url}">{value}</a>')

Xet Storage Details

Size:
325 Bytes
·
Xet hash:
ed6f7d6c4c6952244a5f5f6dc1b2df899c84a46089313a8739c0fbb213b487e9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.