Skip to main content

PyOpenGraph

PyOpenGraph is a library written in Python for parsing Open Graph protocol information from web sites.

Learn more about the protocol at:

http://opengraphprotocol.org

Installation

To install, download the archive at http://pypi.python.org/pypi/PyOpenGraph and decompress, run python setup.py install.

Usage

import PyOpenGraph

og = PyOpenGraph('http://www.rottentomatoes.com/m/10011268-oceans/')

print og.metadata # => {'url': 'http://www.rottentomatoes.com/m/10011268-oceans/', 'site_name': 'Rotten Tomatoes', 'image': 'http://images.rottentomatoes.com/images/movie/custom/68/10011268.jpg', 'type': 'movie', 'title': 'Oceans'}

print og.metadata['title'] # => Oceans

og.is_valid() # => return True or False

Metadata

Release files for PyOpenGraph 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for PyOpenGraph 0.2
File Size Uploaded Provenance Actions
PyOpenGraph-0.2.zip 4.5 kB Without provenance Details for PyOpenGraph-0.2.zip
PyOpenGraph-0.2.tar.gz 2.8 kB Without provenance Details for PyOpenGraph-0.2.tar.gz

Release files / PyOpenGraph-0.2.zip

Download URL PyOpenGraph-0.2.zip
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
90e6935128804bb7139611964bf22793f8fd10e7733fedb31d0ca466e8bb0f89
BLAKE2b-256 checksum
How to use checksums
d512bcb4668bc39e8f38af36d7d808682c7bc0b8b534e25372288cc67610ae6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / PyOpenGraph-0.2.tar.gz

Download URL PyOpenGraph-0.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
630b543f0ad7e322db2798e0709b0c97c648db73301edbd7ddd4796e3c982d20
BLAKE2b-256 checksum
How to use checksums
621439de9ffd91b181493e3fe0527dc5b2039ff91d591cb0ecb4d9fc8286dd71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for PyOpenGraph 0.2

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.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

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