CastTube
casttube provides a way to interact with the Youtube Chromecast api.
Install:
pip install casttube
Features
- Play video
- Play a playlist
- Add video to the end of the play queue
- Play next
- Remove video
- Clear the entire queue
from casttube import YouTubeSession
session = YouTubeSession(screen_id)
# YouTube video id is http://youtube.com/watch?v=video_id
session.play_video(video_id)
The library requires 2 things:
- screen id
- The Chromecast youtube app needs to be open
There is a small script in https://github.com/ur1katz/CastTube-Scripts to print the screen id and launch the app.
Metadata
Release files for casttube 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| casttube-0.2.1.tar.gz | 5.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| casttube-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / casttube-0.2.1.tar.gz
| Download URL | casttube-0.2.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54d2af8c7949aa9c5db87fb11ef0a478a5d3e7ac6d2d2ac8dd1711e3a516fc82
|
|
BLAKE2b-256 checksum How to use checksums |
7854f7e80d701c587940cf1c871fb6327b4a2682df4287896fbf9400cd0bbf21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.9
|
Release files / casttube-0.2.1-py3-none-any.whl
| Download URL | casttube-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36f118007f9eead3959cf30de03c1640b53a263569ff2a3971c0521826c835b2
|
|
BLAKE2b-256 checksum How to use checksums |
0ad20f5006892e07ea342d57dbeda46027e99a097ffb6218bee1e37f9776ed95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.9
|
Security for casttube 0.2.1
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.