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