sphinxcontrib-oembed
Embed HTML content by URL from eEmbed consumer
Overview
This is Sphinx extension to provide easy embed some third-party websites content.
Example for embed tweet from Twitter:
In defaults, you use raw directive, get and paste blockquuote and script tags from Twitter Publish.
With this, you use oembed and paste tweet URL only!
Installation
This is registered in PyPI.
pip install sphinxcontrib-oembed
Usage
Add this extension into your conf.py of Sphinx.
extensions = [
"sphinxcontrib.oembed",
]
# You can change User-agent
# Default is sphinxcontrib-oembed/{ext-version}
obmed_useragent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
Changes
v0.2.1
Published on PyPI
v0.2.0
Enable to confiugre User-agent when request oEmbed providers
License
Apache-2.0
Metadata
Release files for sphinxcontrib-oembed 0.2.2
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 |
|---|---|---|---|---|
| sphinxcontrib-oembed-0.2.2.tar.gz | 9.5 kB | Without provenance | Details for sphinxcontrib-oembed-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sphinxcontrib_oembed-0.2.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for sphinxcontrib_oembed-0.2.2-py2.py3-none-any.whl |
Total release size: 15.9 kB
Release files / sphinxcontrib-oembed-0.2.2.tar.gz
| Download URL | sphinxcontrib-oembed-0.2.2.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa2d99089c13ca41bb390b71db5dd7cf202b0634ba9ca5d397a78257bbeb92de
|
|
BLAKE2b-256 checksum How to use checksums |
ed3ca463050c6895e502ffc925d560a3a4f056f7642d1575195cd12098128b0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / sphinxcontrib_oembed-0.2.2-py2.py3-none-any.whl
| Download URL | sphinxcontrib_oembed-0.2.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
12e28bc10a97411a8e0222c4a5d75afbde7fad9a535bb63eb498a370ca9731a6
|
|
BLAKE2b-256 checksum How to use checksums |
f504c97384acdd2118eb51ed00a125de47661ad545949303f2645aa036d2bf37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for sphinxcontrib-oembed 0.2.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.
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.