Saravanan666/pypi-org huggingface dataset:
Package: youtube-search-requests
youtube-search-requestsSearch Youtube videos using python requests without Youtube API.youtube-search-requests can search unlimited videos !!!Installationpip install youtube-search-requestsCLI (Command Line Interface) Usage:ysr"fish"--json# oryoutube-search-requests"fish"--json# do this if "ysr" and "youtube_search_requests" didn't workpython3-myoutube_search_requests"fish"--json# Output: {"urls": {'title': ..., 'url': 'https://www.youtube.com/watch?v=0gT8Ty0ClHc', thumbnails: [...], ...}}UsageFor version v0.1.0 Upperclick hereFor version v0.1.0 Lowerclick here
Package: youtube-search-result-scraper
TitleYoutube ScraperDescrptionWith Youtube Scraper you can scrape search results and extract the contents produced by the search result.In youtube scraper if we provide URL for searching MsExcel in google search then it will give us the json data which contains the video title ,video link ,youtbe channel ,video length ,etc.Below you can see the sample JSON data which have been created through scraping using this scraper.JSON sample data{"Scraper_People_also_watched":[{"auto":"Technology for Teachers and Students","simple_endpoint_block_style_scope_thumbnail_link":"/watch?v=rwbho0CgEAE","simple_endpoint_style_scope_video":"The Beginner's Guide to Excel - Excel Basics Tutorial","snippet_container_one_line_style_scope_video":[{"link":"/watch?v=rwbho0CgEAE","text":"\n\n\n\n\n\n\nThe Beginner's Guide to Excel - Excel Basics Tutorial\n\n\n\n\n\n\n\n\n\n\n\n\n\nTechnology for Teachers and Students\n\n\n  \n    Technology for Teachers and Students\n  \n\n\n\n\n\n\n\u2022\n\n\n13M views\n4 years ago\n\n\n\n\n\n\n\n"},{"link":"/user/robobent","text":"\n\n\n\n\n\nTechnology for Teachers and Students\n\n\n  \n    Technology for Teachers and Students\n  \n\n\n\n\n\n\n"},{"text":"\n\n\nIf you like this video, here's my entire playlist of Excel tutorials: http://bit.ly/tech4excel Learn the basics of using Microsoft Excel,\u00a0...\n\nIf you like this video, here's my entire playlist of Excel tutorials: http://bit.ly/tech4excel Learn the basics of using Microsoft Excel,\u00a0...\n\n  From the video description\n\n\n"},{"text":""},{"text":""}],"style_scope_thumbnail":"21:47","style_scope_video":"CC","style_scope_video_block":[{"text":"13M views"},{"text":"4 years ago"}]}Download full sample dataRun Scraperfromyoutube_search_result_scraperimport*link="https://www.youtube.com/results?search_query=ms+excel"data=run_youtube_search_result_scraper(link)How it works?It takes URL of youtube page with a search keyword to scrape the data.It generates the json data which contains the information of the youtube search result.It gives the title, link , a small description of video ,video length etc in the form of json data.ExamplesBelow are some of the examples of URLs using which you can scrape:Example 1Example2Queries/ FeedbackIf you have some queries or feedback please contact us at followingTelegramEmail
Package: youtube-series-downloader
youtube-series-downloaderDownloads new YouTube episodes from configurable channels and adds them in aplexfriendly format.FeaturesDownload latest episodes from configurable channels. Configurable how many days back to look for an episode.Speed up videos. Configurable both globally and separate for each channel.Run as a daemon.Plex friendly output.Include/exclude regex filters to only download episodes matching the title.Usageusage: youtube-series-downloader [-h] [-v] [-p] [-t THREADS] [-d] [--max-days-back MAX_DAYS_BACK] [--debug]

optional arguments:
  -d, --daemon    Run the script as a daemon instead of once.
  -p, --pretend   Only pretend to download, convert, and store files.

  -t THREADS, --threads THREADS
                  How many threads you want to use (overrides config file).
  --max-days-back MAX_DAYS_BACK
                  How many days back we should check for videos (overrides config file).

  -h, --help      show this help message and exit.
  -v, --verbose   Prints out helpful messages.
  -s, --silent    Turn off all messages except errors.
  --debug         Turn on debug messages. This automatically turns on --verbose as well.InstallationRun the commands below and follow the instructions.pipinstall --user --upgrade youtube-series-downloaderyoutube-series-downloaderRequirementsffmpeg to be installed and available through the PATH environmental variable.Authorsyoutube-series-downloaderwas written byMatteus Magnusson <senth.wallace@gmail.com>.
Package: youtube-sm-parser
youtube_sm_parserOutput youtube subscriptions using subscription_manager fileFree software: Apache Software License 2.0Documentation:https://youtube-sm-parser.readthedocs.io.Installationyoutube-sm-parser can be installed using pip:pip install youtube_sm_parserAlso available on theAURUsageOnce installed, run using the commandyoutube-sm-parser. Options can be discovered using the-hoption.FeaturesReturn subscriptions using opml file exported from youtubeOutput in multiple formatsjsonyamlcustom line formatCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.4 (2019-08-12)Fix requirements0.1.2 (2019-08-12)Move subscription downloading and outputting to separate functions0.1.1 (2019-07-27)Update requests-futures dependency0.1.0 (2019-05-17)First release on PyPI.
Package: youtubeSpotifyConverter
youtubeSpotifyConverterA library that allows you to convert between Spotify, YouTube and YouTube Music URLs (only works on songs at the moment).
Includes methods for basic calls to the YouTube and Spotify APIs.Installationpip install youtubeSpotifyConverterGet startedHow to convert a YouTube URL into a Spotify and YouTube Music URLfromyoutubeSpotifyConverterimportyoutubeSpotifyConverter# Instantiate a youtubeSpotifyConverter objectconverter=youtubeSpotifyConverter([YOUTUBE_API_KEY],[SPOTIFY_CLIENT_ID],[SPOTIFY_CLIENT_SECRET])# Call the C_fromLink methodlinks=converter.C_fromLink("Youtube/Youtube Music or Spotify URL")# Call the C_fromTitle methodlinks=converter.C_fromTitle("Song Title")GitHub and PyPI pagesGitHub:https://github.com/FileNotFound7/youtubeSpotifyConverterPyPI:https://pypi.org/project/youtubeSpotifyConverter/ReadTheDocs:https://youtubespotifyconverter.readthedocs.io/en/latest/
Package: youtube-stream
Youtube Streamyoutube-stream is a console app for streaming videos quickly from Youtube. Suppose you are working on something and don't have the feeling for opening up youtube, search for the song and play it. It is also a bit more troublesome for playing multiple songs from youtube. That's why I have made a module from where you can listen and watch your favourite songs as quickly as possible. Even there is a voice search option for lazy typists. Using this app, you can stream/play multiple videos/musics at once with a single command. e.g.stream the reason, aurora runawaywill add Hoobastank's Reason and Aurora's Runaway song in your vlc playlist and play them one after another.Console DemoRequirementsVLCInstallationWindowsEasy Method (App)Download and InstallVLCDownloadyoutube-stream.exeRunyoutube-stream.exeRecommended Method (Console)Download and InstallVLCDownload and InstallPython.(Mark Add Python to Path while installation)OpenCommand PromptorPowershelland Run:python-mpipinstallyoutube-streamLinuxUbuntu, Debian, Linux-Mint, Pop-OS, MX-LinuxFrom command line, run:sudoaptinstallvlcpython3python3-pip&&pipinstall-Uyoutube-streamFedora, OpenSuse, RedHatFrom command line, run:sudodnfinstallvlcpython3python3-pip&&pipinstall-Uyoutube-streamArch Linux, Manjaro, EndeavourOSFrom command line, run:sudopacman-Syuvlcpython3python3-pip&&pipinstall-Uyoutube-streamUsage (From Console)Text SearchRun from command line (Powershell/Bash/CMD/zsh/fish)stream<songname>e.g. To Play Journey's Don't Stop BelievingstreamJourneydontstopbelievingFor multiple songs use comma(,)after each songstream<songname>,<songname>,<songname>e.g. To Play Passenger's Let her go, Hoobastank's The Reason, Majhe Majhe tobo dekha pai by arnobstream let her go, the reason hoobastank, majhe majhe tobo arnobVoice Search (Only English)Run from command line (Powershell/Bash/CMD/zsh/fish)streamNow speak the song name. e.g. Hello by adeleFor multiple songs, saythenorplusafter saying each song namee.g iridescent linkin park then yellow coldplayEnjoyUpcomingSupport for Downloading Videos in High QualitySupport for other media players e.g. MPV, KMP etc.
Package: youtube-summary
YouTube Summary CLIA simple CLI tool that summarizes YouTube videos. This tool is designed to help users quickly understand the main points of a video without having to watch the entire content. It uses AI to generate a concise summary of the video's transcript.The timestamps are also clickable, try them 🙂UsageInstallationYou can install the application usingpiporpipx:pipinstall--useryoutube-summary
pipxinstallyoutube-summaryYou can also compile directly from source:gitclonehttps://github.com/mmaorc/youtube-summary-clicdyoutube-summary-cli
pythonsetup.pyinstall--userRunPrior to running the script, ensure that theOPENAI_API_KEYenvironment variable is set up correctly.To summarize the transcript of a YouTube video, run the app with the video URL as an argument:youtube-summary"https://www.youtube.com/watch?v=your_video_id"Replaceyour_video_idwith the actual video ID.Note that generating a summary might take a couple of minutes, depending on the video's transcript length.DevelopmentFor development purposes, clone the repository, navigate to the project directory, and install in a virtual environment:gitclonehttps://github.com/mmaorc/youtube-summary-clicdyoutube-summary-cli
python-mvenv.envsource.env/bin/activate# On Windows use `.env\Scripts\activate`pipinstall--editable.Ensure that theOPENAI_API_KEYenvironment variable is set up correctly.Now you can run it:python-myoutube_summary"https://www.youtube.com/watch?v=your_video_id"Replaceyour_video_idwith the actual video ID.LicenseThis project is licensed under the MIT License. See theLICENSEfile for details.Contact MeYou can find me onTwitter.
Package: youtube-synopsis
youtube_synopsisYoutube Synopsis downloads and generates a colored "summary" of a Youtube video.InstallationUse the package managerpipto install youtube_synopsis.pipinstallyoutube-synopsisUsageimportyoutube_synopsisasyts# yts takes in a search phrase, the number of stripes, and the formatargs=[]args.append('bbibbi iu')# search phraseargs.append(100)# Number of stripesargs.append('rec')# Format, takes "square", "sqr", "rectangle", or "rec"yts.youtube_synopsis.main(args)# Returns path to the synopsis
Package: youtubetaggenerator
[]Youtube Tag GeneratorBoost your Youtube videos view by adding these tagsJust give the title and it will generate Tags to boost your Youtube ViewsInstallationpipinstallyoutubetaggeneratorUsageimportsysfromyoutubetaggenerator.youtubetaggeneratorimportYoutubeTagGeneratorobj=YoutubeTagGenerator(title="Python Data Structure ")print(obj.getTags)AuthorsSoumil Nitin ShahSoumil Nitin ShahBachelor in Electronic Engineering |
Masters in Electrical Engineering |
Master in Computer Engineering |Website :https://soumilshah.herokuapp.comGithub:https://github.com/soumilshah1995Linkedin:https://www.linkedin.com/in/shah-soumil/Blog:https://soumilshah1995.blogspot.com/Youtube :https://www.youtube.com/channel/UC_eOodxvwS_H7x2uLQa-svw?view_as=subscriberFacebook Page :https://www.facebook.com/soumilshah1995/Email :shahsoumil519@gmail.comprojects :https://soumilshah.herokuapp.com/projectHello! I’m Soumil Nitin Shah, a Software and Hardware Developer based in New York City. I have completed by Bachelor in Electronic Engineering and my Double master’s in Computer and Electrical Engineering. I Develop Python Based Cross Platform Desktop Application , Webpages , Software, REST API, Database and much more I have more than 2 Years of Experience in PythonLicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for details
Package: youtube-title-parse
youtube title parseParse the title of a YouTube video to try and get artist & song name.DescriptionVideo titles on YouTube follow no strict format, and so passing the titles directly to music APIs to fetch metadata hardly works. This module attempts to recognize common patterns (using regex) and extract artist and song name.InstallationTo installyoutube_title_parse, simply use pipenv (or pip, of course):pipenvinstallyoutube_title_parseUsageCLIyoutube_title_parsecomes with a CLI that you can use directly:$youtube_title_parse"Seoul - Stay With Us (Official Video)"Seoul-StayWithUsModuleYou can also importyoutube_title_parseas a module.fromyoutube_title_parseimportget_artist_titleartist,title=get_artist_title("Seoul - Stay With Us (Official Video)")assertartist=="Seoul"asserttitle=="Stay With Us"CreditsThis module is originally a Python3 rewrite of the equivalent npm library,get-artist-title, but adds some extra functionality to catch more patterns.ContributingPull requests and stars are always welcome. For bugs and feature requests,please create an issue.Licenseyoutube-title-parse is made available under theMIT license.
Package: youtube-to-anki
youtube-to-ankiConverts a YouTube video into Anki Cards.Takes a YouTube video with audio in your target language and transcript (subtitles) in your native language and converts it into an.apkgfile that can easily be imported into Anki. The Anki cards have the target language audio on the front and the native language transcript on the back. I hope this helps improving your listening comprehension.InstallationPyPIpip install youtube-to-ankiNote: When you install this package thoughpip, you will have to manually installffmpegafterwards. One easy way to accomplish this is withconda.conda create --name youtube-to-anki ffmpeg pip
conda activate youtube-to-anki
pip install youtube-to-anki
youtube-to-anki --helpCondaComing soon ...UsageCLIYou can use the command like interface like this:youtube-to-anki <video_id>Where<video_id>can be extracted from a YouTube URL like this:https://www.youtube.com/watch?v=<video_id>There are some CLI options you can provide, for example for choosing the transcript language. Checkyoutube-to-anki --helpfor details.Importing to Ankiyoutube-to-anki produces an.apkgfile, which can easily be imported into Anki. In Anki, just click "File" -> "Import".Listing Available Transcriptsyoutube-to-anki callsyoutube-transcript-apifor requesting the video transcripts. If you're unsure what value to provide to the--transcript-languageoption, you can list all available languages withyoutube_transcript_api --list-transcripts <video_id>.
Package: youtubetobibtex
YoutubetobibtexYoutubetobibtex is a small library to export information from a YouTube video in a bibtex format.The bibtex looks like :@online{video:tomscott2019,
    title = {Why Electronic Voting Is Still A Bad Idea},
    date = {2019},
    organization = {YouTube},
    author = {Tom Scott},
    url = {https://youtube.com/watch?v=LkH2r-sNjQs},
}(example with the videohttps://www.youtube.com/watch\?v=v=LkH2r-sNjQs).Youtubetobibtex is available online at :https://pypi.org/project/youtubetobibtex/UsageThe documentation can be found at :https://youtubetobibtex.readthedocs.io/en/latest/Class usageThe main part of the code is theYoutubetobibtexClientclass. It implements methods to easily retrieve the bibtexIn [1]: from youtubetobibtex import YoutubetobibtexClient
In [2]: client = YoutubetobibtexClient("secret")
In [3]: client.check() # check if the client is correctly connected to google api
Out[3]: True
In [4]: video_id = client.get_video_id("https://www.youtube.com/watch\?v=v=LkH2r-sNjQs") # get id from url. several schemes of url are supported
In [5]: video_id                                     
Out[5]: 'LkH2r-sNjQs'
In [6]: client.get_bibtex(video_id) # get bibtex
Out[6]: '\n@online{video:tomscott2019,\n    title = {Why Electronic Voting Is Still A Bad Idea},\n    date = {2019},\n    organization = {YouTube},\n    author = {Tom Scott},\n    url = {https://youtube.com/watch?v=LkH2r-sNjQs},\n}\nThe secret refers at the API key.Cli usageThere is a command line interface shipped with youtubetobibtex. It can be used as follows :youtubetobibtex https://youtube.com/watch?v=LkH2r-sNjQs secretYou can also use the python script :python3 youtubetobibtex/cli.py https://youtube.com/watch?v=LkH2r-sNjQs secretTODOAllow to enable more information in the bibtex, using options in the classAllow the command line interface to get the api key form fileProperly close the socket if the api key is wrongRun the testsCommand to run the tests :python3 setup.pyor with coveragecoverage run --source=youtubetobibtex/ setup.py test
Package: youtube-to-mp3
youtube-to-mp3Download YouTube videos or playlists as MP3 audio files from a url.Command Line Usageusage: yturl2mp3 [-h] [-o DIR] [-t S] [-r N] URL

Youtube To MP3 Download Tool

positional arguments:
  URL                The YouTube URL to download. Playlist or single video.

optional arguments:
  -h, --help         show this help message and exit
  -o DIR, --out DIR  The directory in which to store the downloaded MP3 files.
  -t S, --timeout S  Request timeout length in seconds
  -r N, --retry N    Number of retries on failed download
Package: youtubetomp3download
Youtube to Mp3youtubetomp3download is a command-line tool for converting YouTube videos to MP3 files.
It uses the pytube library to download and convert YouTube videos to MP3 format.InstallationYou can install youtubetomp3download using pip:pipinstallyoutubetomp3downloadUsageimport packageimportyoutubetomp3downloadasyt
yt.youtube_to_mp3("your-url-goes-here")it will start downloading automaticallyLicenseMIT
Package: youtube_to_mpd
Front end for youtube-dl to auto add YouTube music to Music Player Daemon (MPD).Download music from YouTube videosDownload music from YouTube playlistsAdd them to Music Player Daemon to allow easy playbackUsage:Download a single song and add to MPD:python -m youtube_to_mpd -s SONGIDDownload a playlist and add to MPD:python -m youtube_to_mpd -p PLAYLISTIDDependencies:youtube-dlMPDLimitations:Only tested on Debian‘settings.conf’ file needs to be in your path
Package: youtube-transcript-downloader
Youtube Transcript DownloaderThis is a package for retrieving transcripts from youtubeDeveloped by Edvinas Adomaitis (c) 2021pypi -https://pypi.org/project/youtube-transcript-downloader/Instalationpip install youtube_transcript_downloaderExample of usagereplace url with the desired youtube urlimport youtube_transcript_downloader

url = "your desired url"
transcript = youtube_transcript_downloader.get_transcript(url)the function returns a dictionary of { time : text }printing out the transcriptfor key, val in transcript.items():
        print(f"{key} : {val}")output:00:05 : text text text
00:10 : text text text
00:15 : text text text
00:20 : text text text
...
Package: youtube-tts-datagen
Youtube TTS DatagenDocumentation:https://mattflow.github.io/youtube-tts-datagenSource Code:https://github.com/mattflow/youtube-tts-datagenPyPI:https://pypi.org/project/youtube-tts-datagen/Extract s and generates TTS datasets from youtube videosInstallationpipinstallyoutube-tts-datagenDevelopmentClone this repositoryRequirements:PoetryPython 3.7+Create a virtual environment and install the dependenciespoetryinstallActivate the virtual environmentpoetryshellTestingpytestDocumentationThe documentation is automatically generated from the content of thedocs directoryand from the docstrings
of the public signatures of the source code. The documentation is updated and published as aGithub project pageautomatically as part each release.ReleasingTrigger theDraft release workflow(pressRun workflow). This will update the changelog & version and create a GitHub release which is inDraftstate.Find the draft release from theGitHub releasesand publish it. When
a release is published, it'll triggerreleaseworkflow which creates PyPI
release and deploys updated documentation.Pre-commitPre-commit hooks run all the auto-formatters (e.g.black,isort), linters (e.g.mypy,flake8), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.You can install the hooks with (runs for each commit):pre-commitinstallOr if you want them to run only for each push:pre-commitinstall-tpre-pushOr if you want e.g. want to run all checks manually for all files:pre-commitrun--all-filesThis project was generated using thewolt-python-package-cookiecuttertemplate.
Package: youtube-up
youtube-upUpload videos to YouTube using the internal YouTube API.InstallationFromPyPI:pip install youtube-upDocumentationhttps://7x11x13.xyz/youtube-up/youtube_upExamplesUpload a videofromyoutube_upimportAllowCommentsEnum,Metadata,PrivacyEnum,YTUploaderSessionuploader=YTUploaderSession.from_cookies_txt("cookies/cookies.txt")metadata=Metadata(title="Video title",description="Video description",privacy=PrivacyEnum.PUBLIC,made_for_kids=False,allow_comments_mode=AllowCommentsEnum.HOLD_ALL,)uploader.upload("video.webm",metadata)Note that for Enum-type parameters we can either pass the Enum itself (as shown above),
or the Enum value, or the Enum key, as a string. For example, instead of writingallow_comments_mode=AllowCommentsEnum.HOLD_ALLwe could instead writeallow_comments_mode="HOLD_ALL"orallow_comments_mode="APPROVED_COMMENTS"Upload multiple videosfromyoutube_upimportMetadata,YTUploaderSessionuploader=YTUploaderSession.from_cookies_txt("cookies/cookies.txt")metadata_1=Metadata(title="Video 1",)metadata_2=Metadata(title="Video 2",)uploader.upload("video1.webm",metadata_1)uploader.upload("video2.webm",metadata_2)Upload to a new or existing playlistfromyoutube_upimportMetadata,YTUploaderSession,Playlistuploader=YTUploaderSession.from_cookies_txt("cookies/cookies.txt")metadata=Metadata(title="Video 1",playlists=[Playlist("Songs by me",description="Playlist that will only be created if ""no playlist exists with the title 'Songs by me'",create_if_title_doesnt_exist=True,create_if_title_exists=False,),Playlist("test playlist",description="Playlist that video will be added to ""only if it exists already. This description does ""nothing.",create_if_title_doesnt_exist=False,create_if_title_exists=False,),Playlist("Album",description="Playlist will be created even if there"" is already a playlist with the name 'Album'"create_if_title_doesnt_exist=True,create_if_title_exists=True,),],)uploader.upload("video.webm",metadata)CLIyoutube-up comes with a CLI app for uploading videos. For example, if we wanted to
create a public video with the title "Video title", we would execute the following command:youtube-up video video.webm --title="Video title" --cookies_file="cookies/cookies.txt" --privacy="PUBLIC"The app can also take a JSON file as input. For example, the following JSON file would upload
one video to a new or existing playlist called "Music" and one video which is set to premiere
on December 25th, 2023 at 5 PM (local time).[{"file":"song.webm","metadata":{"title":"New song","privacy":"PUBLIC","playlists":[{"title":"Music"}]}},{"file":"premiere.webm","metadata":{"title":"Special Announcement","scheduled_upload":"2023-12-25T17:00:00","premiere_countdown_duration":"ONE_MIN","premiere_theme":"BRIGHT"}}]If we wanted the video to premiere at 5 PM GMT, would could have written "2023-12-25T17:00:00+00:00"
instead. We then runyoutube-up json metadata.json --cookies_file="cookies/cookies.txt"to upload these videos.