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)
| File | Size | Uploaded | |
|---|---|---|---|
| oembedpy-0.8.0.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|