Skip to main content

datasette-youtube-embed

PyPI Changelog Tests License

Turn YouTube URLs into embedded players in Datasette

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-youtube-embed

Usage

Once installed, any columns containing URLs that look like one of these:

  • https://www.youtube.com/watch?v=xyz
  • https://www.youtube.com/watch?v=xyz&start=30
  • https://www.youtube.com/watch?v=xyz&start=30&end=50

Will be turned into YouTube embeds like this:

<lite-youtube videoid="xyz" params="start=30" style="min-width: 200px"></lite-youtube>

These will then be rendered using Lite YouTube Embed, which avoids loading the full YouTube embed until someone interacts with it.

Development

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

cd datasette-youtube-embed
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-youtube-embed 0.2

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-youtube-embed 0.2
File Size Uploaded Provenance Actions
datasette_youtube_embed-0.2.tar.gz 7.1 kB With provenance Details for datasette_youtube_embed-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasette-youtube-embed 0.2
File Interpreter ABI Platform Actions
datasette_youtube_embed-0.2-py3-none-any.whl Python 3 none any Details for datasette_youtube_embed-0.2-py3-none-any.whl

Total release size: 15.9 kB

Release files / datasette_youtube_embed-0.2.tar.gz

Download URL datasette_youtube_embed-0.2.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2c61a233fba79504998be7d6e1189122f222e36fc929370b2e0221c38c0f4a55
BLAKE2b-256 checksum
How to use checksums
7ed464534924611e2a79babd560fae12ea7b0036075604a10da8fd6773cecb8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 4, 2026.

Transparency log

Release files / datasette_youtube_embed-0.2-py3-none-any.whl

Download URL datasette_youtube_embed-0.2-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3f0aac8033850bed23b5863b3a6f5129437d616f8d827a9dc17cb0e31b5ad95
BLAKE2b-256 checksum
How to use checksums
48ace9885958bd83c46f5bec6e7b621fc3d0946d12bced7dd6f52ced5b098c06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 4, 2026.

Transparency log

Security for datasette-youtube-embed 0.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for datasette_youtube_embed-0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 4, 2026.

Transparency log

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.2 This release

2 release files Full 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