Skip to main content

datasette-render-image-tags

PyPI Changelog Tests License

Turn any URLs ending in .jpg/.png/.gif into img tags with width 200

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-render-image-tags

Usage

Once installed, any cells contaning a URL that ends with .png or .jpg or .jpeg or .gif will be rendered using an image tag, with a width of 200px.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-render-image-tags
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for datasette-render-image-tags 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasette-render-image-tags 0.1
File Size Uploaded Provenance Actions
datasette-render-image-tags-0.1.tar.gz 6.3 kB Without provenance Details for datasette-render-image-tags-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasette-render-image-tags 0.1
File Interpreter ABI Platform Actions
datasette_render_image_tags-0.1-py3-none-any.whl Python 3 none any Details for datasette_render_image_tags-0.1-py3-none-any.whl

Total release size: 13.1 kB

Release files / datasette-render-image-tags-0.1.tar.gz

Download URL datasette-render-image-tags-0.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
54c389e867d3339579cfa72e2fd88497855f815f503fdb42e12137676811c40d
BLAKE2b-256 checksum
How to use checksums
a94d5ba009e3a72e6a95a2f3baa70fff10832a101df3767ceba87432f41f7e26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / datasette_render_image_tags-0.1-py3-none-any.whl

Download URL datasette_render_image_tags-0.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c88a7cc77a3681439d7c3b79376c9618f724b63fef9a8e83db1dcc8c83f553e
BLAKE2b-256 checksum
How to use checksums
0f47ee0865b04b1c73ce6d027e3ab2ce997498be53b40320dcfe53c3f6b35222
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for datasette-render-image-tags 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page