datasette-render-image-tags
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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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
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.