Skip to main content

Overview

This is oEmbed client for Python.

Features

  • Simple usage

  • Python 3.x native

  • Multiple endpoint discovery

Installation

This is uploaded on PyPI.

pip install oEmbedPy

Usage

Library

>>> from oembedpy.application import Oembed

>>> oembed = Oembed()
>>> content = oembed.fetch("https://twitter.com/attakei")
>>> print(content.type)
rich

Commandline

Simple usage for author’s video (omitted some output).

$ oEmbed.py 'https://www.youtube.com/watch?v=Oyh8nuaLASA'
title:            Yoshi ( ...
author_name:      attakei
thumbnail_height: 360
thumbnail_width:  400

If you want JSON, use --format option.

$ oEmbed.py --format=json 'https://www.youtube.com/watch?v=Oyh8nuaLASA'
{"title":"Yoshi (NES - Nint ..."}

Others

This has extension for easy-using. Please see documentation.

License

Apache License 2.0

Metadata

Release files for oEmbedPy 0.8.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 oEmbedPy 0.8.1
File Size Uploaded
oembedpy-0.8.1.tar.gz 12.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oEmbedPy 0.8.1
File Interpreter ABI Platform
oembedpy-0.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.2 kB

Release files / oembedpy-0.8.1.tar.gz

Download URL oembedpy-0.8.1.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f96ef8bcc7b1f738dd80d5423bde8538458152aa5487118c443c1cdfb15019ee
BLAKE2b-256 checksum
How to use checksums
254a4f8fc3a81dab25fd4230d86a571e37a525c5dcf2cab05c25e89cd2f1b08d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 18, 2025.

Transparency log

Release files / oembedpy-0.8.1-py3-none-any.whl

Download URL oembedpy-0.8.1-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d708e738a0c6e157a2db4f09ecb616c479b6247f44805c38b26f75e023f808
BLAKE2b-256 checksum
How to use checksums
d0c6844fc11d2971364389a1998eaa282557b73479a1c83540ff0808901c9dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 18, 2025.

Transparency log

Release history Release notifications | RSS feed

0.9.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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