Skip to main content

ytu

https://img.shields.io/pypi/v/ytu.svg https://img.shields.io/travis/yaph/ytu.svg

A library to extract information from YouTube URLs. Currently provides the function video_id to retrieve the video ID from a YouTube URL.

Usage

import ytu

url = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'
if ytu.is_youtube(url):
    print(ytu.video_id(url))

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.0 (2019-07-27)

  • Add is_youtube function to check if a URL belongs to a recognized YouTube domain.

  • Add type hints to ytu functions and drop Python 3.4 support accordingly.

  • Rename get_param_value to param_value.

0.1.0 (2019-07-27)

  • First release on PyPI.

Metadata

Release files for ytu 0.2.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 ytu 0.2.0
File Size Uploaded
ytu-0.2.0.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ytu 0.2.0
File Interpreter ABI Platform
ytu-0.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.3 kB

Release files / ytu-0.2.0.tar.gz

Download URL ytu-0.2.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1cc92ee6bf9c60f79a31729fa4c0fc12126be899ef00b5e638e76677fefea791
BLAKE2b-256 checksum
How to use checksums
226e53eaf65b0c8534dff22c58db1582caba257147a1392f849987f984076d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / ytu-0.2.0-py2.py3-none-any.whl

Download URL ytu-0.2.0-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e2c63a41bf4a308eb5aa98852e635ae00529f37272cf325655eb152b6c05b472
BLAKE2b-256 checksum
How to use checksums
a31f4822386259154ed3d910da37ff6243444cb96312bbceba4c598fbc68b908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

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