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.5.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.5.0
File Size Uploaded Provenance Actions
oembedpy-0.5.0.tar.gz 18.6 kB Without provenance Details for oembedpy-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 30.9 kB

Release files / oembedpy-0.5.0.tar.gz

Download URL oembedpy-0.5.0.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
33abb7dcbe9557ca31176deec59232d01ca35c963498f0e80d5cafe432db851a
BLAKE2b-256 checksum
How to use checksums
362101e8b8c9bbe84cb65c3c3a8354c3a63f4b947357c7e0971a6f232ccc7bb5
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.5.0-py3-none-any.whl

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

Security for oEmbedPy 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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