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.7.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.7.1
File Size Uploaded
oembedpy-0.7.1.tar.gz 11.1 kB Details

Built distribution (wheel)

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

Total release size: 24.4 kB

Release files / oembedpy-0.7.1.tar.gz

Download URL oembedpy-0.7.1.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9a22e272cd78c82f7dd5f599e0510eec2f8fd4a56f092ff5bdf7bd84e7244835
BLAKE2b-256 checksum
How to use checksums
225bdd48fcb28763d57da5e2fa27e3e44c52c47ee297125f2331d6900cd870b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

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

Download URL oembedpy-0.7.1-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2fa6a0b0407e5e9ea66215a078a4e7f46bc94caef5da5941974d43c9c6aaf72
BLAKE2b-256 checksum
How to use checksums
3304f144dffb62a5d4dfca47d1b92c3c869625223e51cf6e60c77a6766a244c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

0.9.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

This release

0.7.1 This release

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