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.0

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.0
File Size Uploaded
oembedpy-0.8.0.tar.gz 12.4 kB Details

Built distribution (wheel)

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

Total release size: 27.8 kB

Release files / oembedpy-0.8.0.tar.gz

Download URL oembedpy-0.8.0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4851b691a56fb63c7b93d138ef250f0c3d0bf09744afee02d496efc3d17cfcc4
BLAKE2b-256 checksum
How to use checksums
db02558749219c914b6b34380ae2902461757a0a87e590efc26fabb20260eecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

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

Download URL oembedpy-0.8.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dd9fd7d2740a66eb515e727b3af15baa0c46b56e9589f37c079a46f8b434f07
BLAKE2b-256 checksum
How to use checksums
2975e3a228769a041767409501a9b5e08a863d30519fa26dd638cdbe86d5a262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

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

This release

0.8.0 This release

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