Skip to main content

oEmbedPy

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.6.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.6.0
File Size Uploaded
oembedpy-0.6.0.tar.gz 20.7 kB Details

Built distribution (wheel)

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

Total release size: 33.8 kB

Release files / oembedpy-0.6.0.tar.gz

Download URL oembedpy-0.6.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d6520f194900e90e0305f7817ad4587258abf2d67d5e39717d04383fdd991836
BLAKE2b-256 checksum
How to use checksums
4c638a521a6bb30c76aa864320ae6561be04c00bda0a98ddb9b76d3317bdc0eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

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

Download URL oembedpy-0.6.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a756fd28d37a8a32e657ee23188e4df7af6326dbf2933b2ca29b7e93f691ed52
BLAKE2b-256 checksum
How to use checksums
e23ca89b90258f360531b4dd1f42b9c03bc40b2ebd1ffebc221f4178e40f5bd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

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

0.7.1

2 release files

0.7.0

2 release files

This release

0.6.0 This release

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