Saravanan666/pypi-org huggingface dataset:
Package: youtube3
# DESCRIPTIONA wrapper around youtube Apis:https://developers.google.com/resources/api-libraries/documentation/youtube/v3/python/latest/https://developers.google.com/youtube/v3/docs/## GOALI created this package to simplify some typical tasks related to the Youtube API.
See thesamplesdirectory for examples.## USAGECreate a youtube object` from youtube3 import YoutubeClient youtube =YoutubeClient(<locationof your client_secrets.json>) `## YOUTUBECLEINTTheYoutubeClientclass provides a set of methods for interacting with the YouTube API. The methods include:login: Initialize the YouTube API client and return a service object and flags.list_channels: Retrieve information about YouTube channels using their IDs.like_video: Like a video by providing its ID.update_snippet: Update the snippet information of a video using its ID and the new snippet.get_channel_snippet: Retrieve the snippet information of a channel using its ID.get_channel: Retrieve information about a channel using its ID.get_channel_name: Retrieve the title of a channel using its ID.get_video: Retrieve information about a video using its ID.upload_thumbnail: Upload a thumbnail for a video using its ID and the URL of the thumbnail.get_video_snippet: Retrieve the snippet information of a video using its ID.get_recommended: Retrieve recommended videos for the authenticated user.get_channel_id: Retrieve the ID of a channel that a video belongs to using the video’s ID.get_related_videos: Retrieve related videos to a video using its ID.get_subscriptions_channel_ids: Retrieve the IDs and titles of channels that the authenticated user is subscribed to.get_channels: Retrieve information about channels that the authenticated user is subscribed to.iterate_subscriptions_in_channel: Iterate over the subscriptions in a channel.liked_channel: Retrieve the ID of a playlist of liked videos for the authenticated user.playlist_snippet: Retrieve the snippet information of a playlist using its ID.playlist_name: Retrieve the title of a playlist using its ID.videos_in_playlist: Retrieve videos in a playlist using its ID.iterate_videos_in_playlist: Iterate over videos in a playlist.delete_from_playlist: Remove videos from a playlist using its ID, start, and end indices.copy_to_playlist: Copy videos from a playlist to another using the IDs of the source and target playlists, as well as start and end indices.iterate_related_videos: Iterate over related videos to a video using its ID.subscribe_channel: Subscribe to a channel using its ID.verify_video: Verify if a video is available in a specific country using its ID.
Package: youtubeaio
Python: YouTubeAsynchronous Python client for the YouTube V3 API.AboutThis package allows you to interact with the YouTube V3 API.InstallationpipinstallyoutubeaioChangelog & ReleasesThis repository keeps a change log usingGitHub's releasesfunctionality. The format of the log is based onKeep a Changelog.Releases are based onSemantic Versioning, and use the format
ofMAJOR.MINOR.PATCH. In a nutshell, the version will be incremented
based on the following:MAJOR: Incompatible or major changes.MINOR: Backwards-compatible new features and enhancements.PATCH: Backwards-compatible bugfixes and package updates.ContributingThis is an active open-source project. We are always open to people who want to
use the code or contribute to it.We've set up a separate document for ourcontribution guidelines.Thank you for being involved! :heart_eyes:Setting up development environmentThis Python project is fully managed using thePoetrydependency manager. But also relies on the use of NodeJS for certain checks during development.You need at least:Python 3.10+PoetryNodeJS 12+ (including NPM)To install all packages, including all development requirements:npminstall
poetryinstallAs this repository uses thepre-commitframework, all changes
are linted and tested with each commit. You can run all checks and tests
manually, using the following command:poetryrunpre-commitrun--all-filesTo run just the Python tests:poetryrunpytestAuthors & contributorsThe original setup of this repository is byJoost LekkerkerkerFor a full list of all authors and contributors,
checkthe contributor's page.LicenseMIT LicenseCopyright (c) 2023 Joost LekkerkerkerPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: youtubeaio-extended
Python: YouTubeAsynchronous Python client for the YouTube V3 API.AboutThis package allows you to interact with the YouTube V3 API.Installationpipinstallyoutubeaio-extendedChangelog & ReleasesThis repository keeps a change log usingGitHub's releasesfunctionality. The format of the log is based onKeep a Changelog.Releases are based onSemantic Versioning, and use the format
ofMAJOR.MINOR.PATCH. In a nutshell, the version will be incremented
based on the following:MAJOR: Incompatible or major changes.MINOR: Backwards-compatible new features and enhancements.PATCH: Backwards-compatible bugfixes and package updates.ContributingThis is an active open-source project. We are always open to people who want to
use the code or contribute to it.We've set up a separate document for ourcontribution guidelines.Thank you for being involved! :heart_eyes:Setting up development environmentThis Python project is fully managed using thePoetrydependency manager. But also relies on the use of NodeJS for certain checks during development.You need at least:Python 3.10+PoetryNodeJS 12+ (including NPM)To install all packages, including all development requirements:npminstall
poetryinstallAs this repository uses thepre-commitframework, all changes
are linted and tested with each commit. You can run all checks and tests
manually, using the following command:poetryrunpre-commitrun--all-filesTo run just the Python tests:poetryrunpytestAuthors & contributorsThe original setup of this repository is byJoost LekkerkerkerFor a full list of all authors and contributors,
checkthe contributor's page.LicenseMIT LicenseCopyright (c) 2023 Joost LekkerkerkerPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: youtube-api-wrapper
youtube-api===========Python Youtube API (0.2dev)This is an library with the intent that create a happy python YouTube API (It's just a Youtube wrapper).OAuth 2.0 is not supported yet.Supported data APIs:Activity: listChannels: listGuideCategories: listPlaylistItems: listPlaylists: listSearch: listSubscriptions: listVideoCategories: listVideos: listExample:In [1]: from data.api import ChannelsIn [2]: channels_query = Channels.list(part=("id","snippet","brandingSettings","contentDetails","invideoPromotion","statistics","topicDetails",), id="UCY-THBWXJ24cf-mXHr_nLYw")In [3]: channels_query??Type:       ChannelsString Form:<data.api.Channels object at 0x9b20f4c>File:       /home/lalo/dev/python/others/youtube-api/youtube/data/api.pySource:class Channels(ResourcePageInfo):url = CHANNELS_URLitem_class = ChannelIn [4]: channel  = channels_query.items[0]In [5]: channel?Type:       ChannelString Form:Channel(kind=youtube#channel,id=UCY-THBWXJ24cf-mXHr_nLYw )File:       /home/lalo/dev/python/others/youtube-api/youtube/data/resources/types.pyDocstring:  <no docstring>In [6]: channel.kindOut[6]: u'youtube#channel'In [7]: channel.snippet.titleOut[9]: u'Leandro Gomez'In [8]: channel.snippet.publishedAtOut[8]: datetime.datetime(2013, 2, 22, 1, 2, 6, tzinfo=<iso8601.iso8601.Utc object at 0x9be35ac>)In [9]: channel.contentDetails.googlePlusUserIdOut[9]: u'112345756060309912919'
Package: youtube-autodownloader
OverviewThis tool knows how to poll for changes to playlist(s) and to then download the physical videos for the new items automatically (usingyoutube-dl).FeaturesMore than one playlist can be provided.The state is recorded for each playlist during each call. This is how the differences are calculated.Usespython-googleautoauthfor authentication.Will gracefully accommodate multiple instances being run concurrently.Installation$ pip install youtube-autodownloaderUsageThe first time you run, you will have to build new credentials. The automatic-authentication flow will automatically run and open a browser window. To specifically run just the authorization, run:$ ytad_autoauthThis works best in a desktop environment. Manual-authorization helper scripts are also provided to support console-only environment.Since YouTube does not enforce uniqueness for playlist names, you are required to provide playlist IDs rather than names.Example of finding a playlist ID using a playlist name:$ ytad_search_playlists Animals
PLxaR7YEkaI0xxxxxxxxxxxxxxacWvmEih

$ ytad_search_playlists Special
PLxaR7YEkaI0xxxxxxxxxxxxxxr1gs86gEExample of checking for and downloading new videos (“-p” is a playlist-ID, “-dp” is the download-path):$ ytad_autodownload -p PLxaR7YEkaI0xxxxxxxxxxxxxxr1gs86gE -dp "/storage/videos/$(date '+\%Y')/Special"
Lion Vs Mongoose: Mongoose Fends Off Four Lions
- Playlist: Special
- ID: 1TPn1-SJqVM
- Download time: 9s
- Filename: 20140902 - Lion Vs Mongoose - Mongoose Fends Off Four Lions (1TPn1-SJqVM).mp4
- Size: 22.1M

Slow loris loves getting tickled http://bit.ly/14qLq8x
- Playlist: Special
- ID: PZ5ACLVjYwM
- Download time: 3s
- Filename: 20090426 - Slow loris loves getting tickled http -_bit.ly_14qLq8x (PZ5ACLVjYwM).webm
- Size: 3.1MTestingTo run the tests:$ ./test.shThe tests will require user interaction with the browser.NotesIf you do not wish to download the videos the first time that you run this command, omit the download-path parameter. This will just build the local database. Otherwise, all videos from the playlist will download. This might not be desireable for your use-case.
Package: youtube-bz
YouTubeBrainzYoutubeBrainz allows you to find and download Youtube videos associated to an album on MusicBrainz.SummaryGetting StartedHow to useAuthorLicenseAcknowledgmentsGetting StartedInstallationYou can installyoutube-bzdirectly from pip, it should install automatically all the dependencies$pipinstallyoutube-bzHow to useDisplay help$youtube-bz--helpYou can search for a release with itsMBIDonMusicBrainzor
with the command search, for instance to search the album 'Hybrid Theory' of 'Linkin Park' you can run:$youtube-bzsearch'Hybrid Theory'--artist'Linkin Park'┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━┓┃ ID                                   ┃ Title         ┃ Artist      ┃ Score ┃┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━┩│ 2a4174ab-f0b1-430e-b7e2-25c062b45573 │ Hybrid Theory │ Linkin Park │ 100   ││ cce15358-9fa0-38b5-b143-c51ff7024b24 │ Hybrid Theory │ Linkin Park │ 100   │└──────────────────────────────────────┴───────────────┴─────────────┴───────┘And to download it just run:$youtube-bzdownload2a4174ab-f0b1-430e-b7e2-25c062b45573AuthorFlowrey-FlowreyLicenseThis project is licensed under theGPL-3.0GNU General Public License v3.0 - see theLICENSEfile for
detailsAcknowledgmentsThis project's structure has been greatly inspired bypipx
Package: youtube-channel-scraper
YouTube Channel ScraperScrapes videos from a YouTube channel using Python.It takes a YouTube channel URL as an input and produces a list of videos as an output.Video attributes:urltitledescriptionauthorpublished_atthumbnailRequirementsInstall chromedriver at/chromedriver. For more details refer toscripts/install_chromedriver.sh.Alternatively you can use the library inside a Docker container. This way you don't need to manually install the chromedriver. Have a look atUsage with Docker.Installpipinstallyoutube-channel-scraperUsagefromyoutube_channel_scraper.scraperimportYoutubeScraperscraper=YoutubeScraper(channel_url)crawled_videos=scraper.scrape()Optional parametersstop_id:stop scraping when this video ID is encountered. Older videos are always scraped first.max_videos:maximum amount of videos to scrapeproxy_ip:proxy IP with portCLI usageyoutube-channel-scraper"https://www.youtube.com/channel/CHANNEL_ID"Available argumentspositionalarguments:channel_urlYoutubechannelURL

optionalarguments:-h,--helpshowthishelpmessageandexit--filenameFILENAMEOutputfile--stop_video_idSTOP_VIDEO_IDYoutubevideoIDthatindicatestostopcrawling--max_videosMAX_VIDEOSMaxvideostocrawl--proxyPROXYProxyIP--screenshot_filenameSCREENSHOT_FILENAMEPathtoexceptionsscreenshotUsage with DockerWhy?When runningyoutube-channel-scraperin a Docker container there is no need to manually install chrome driver in your environment.How?gitclonehttps://github.com/hajkr/youtube-channel-scraper.gitcdyoutube_channel_scraper# Run the container and build it when running for the first timemakerun# Enter the containermaketo_container

pythonyoutube_channel_scraper"https://www.youtube.com/channel/CHANNEL_ID"
Package: youtube-cl
YouTube - CLSimple command line tool for downloading audio and video from YouTube.PLEASE NOTE: Requires ffmpeg to already be installed.Installationpip install youtube-clUsageDownload audio/mp3ytclmp3https://youtu.be/tkFOBx6j0l8Download video/mp4ytclmp4https://youtu.be/tkFOBx6j0l8Command Line Argumentsusage: ytcl [-h] option youtube_url

positional arguments:
  option       Option for downloading. [v] or [mp4] for video, [m] or [a] or [mp3] for audio
  youtube_url  URL of the youtube video

optional arguments:
  -h, --help   show this help message and exitTodoInteractive mode
Package: youtube-cli
This is a youtube client for the command line that supports searching downloading and streaming youtube video’s from the command line.Requirements:VLC media player
Python 2.6+Commands:command: search / download / stream
query: ‘multiple keywords’ / singlekeyword
order: relevance, viewcount or rating
number of results: 1 - 50
timespan (optional): today, week, month, all
shuffle (optional): shuffleControls:[ or { = prev
] or } = next
p or P = pause
r or R = reset
q or Q = quitExample usage:./youtube.py search ‘ukf drum and bass’ rating 20 shuffle
Returns 20 videos with query sorted by rating and shuffled./youtube.py download ‘ukf drum and bass’ viewcount 10 shuffle
Downloads 10 videos with query sorted by viewcount and shuffled./youtube.py stream ‘ukf drum and bass’ relevance 2 month
Stream 2 videos with query sorted by relevance and uploaded between now and a month agoEnjoy!
Package: youtube-comment-downloader
youtube-comment-downloaderSimple script for downloading Youtube comments without using the Youtube API. The output is in line delimited JSON.InstallationPreferably inside apython virtual environmentinstall this package via:pip install youtube-comment-downloaderOr directly from the GitHub repository:pip install https://github.com/egbertbouman/youtube-comment-downloader/archive/master.zipUsage as command-line interface$ youtube-comment-downloader --help
usage: youtube-comment-downloader [--help] [--youtubeid YOUTUBEID] [--url URL] [--output OUTPUT] [--limit LIMIT] [--language LANGUAGE] [--sort SORT]

Download Youtube comments without using the Youtube API

optional arguments:
  --help, -h                             Show this help message and exit
  --youtubeid YOUTUBEID, -y YOUTUBEID    ID of Youtube video for which to download the comments
  --url URL, -u URL                      Youtube URL for which to download the comments
  --output OUTPUT, -o OUTPUT             Output filename (output format is line delimited JSON)
  --pretty, -p                           Change the output format to indented JSON
  --limit LIMIT, -l LIMIT                Limit the number of comments
  --language LANGUAGE, -a LANGUAGE       Language for Youtube generated text (e.g. en)
  --sort SORT, -s SORT                   Whether to download popular (0) or recent comments (1). Defaults to 1For example:youtube-comment-downloader --url https://www.youtube.com/watch?v=ScMzIvxBSi4 --output ScMzIvxBSi4.jsonor using the Youtube ID:youtube-comment-downloader --youtubeid ScMzIvxBSi4 --output ScMzIvxBSi4.jsonFor Youtube IDs starting with - (dash) you will need to run the script with:-y=idwithdashor--youtubeid=idwithdashUsage as libraryYou can also use this script as a library. For instance, if you want to print out the 10 most popular comments for a particular Youtube video you can do the following:fromitertoolsimportislicefromyoutube_comment_downloaderimport*downloader=YoutubeCommentDownloader()comments=downloader.get_comments_from_url('https://www.youtube.com/watch?v=ScMzIvxBSi4',sort_by=SORT_BY_POPULAR)forcommentinislice(comments,10):print(comment)
Package: youtube-cookie-uploader
youtube-selenium-cookiefromyoutube_selenium_cookieimportYoutubeupload_info={"title":"rema calm down","description":"Another banger","video":"C:/Users/HP/Desktop/youtube automation video/channels/4th.mp4","thumbnail":"","category":"Music","privacy":"Public","tags":["rema","banger","loudness","music","holiday"],"kids":False}Youtube("./cookies.json",upload_info,headless=True).upload()This packages solely works on cookies. You can grab your cookies by installing edit-the-cookies chrome extension.The only method available now is upload which uploads to your channel whose cookie you provided.the video and thumbnail path must be absolutefeel free to make PRs. In case something breaks.@Dataslid softwares
Package: youtube-crawl
YouTube CrawlerA powerful, asynchronous web crawler designed specifically for YouTube. Built to efficiently interact with web pages in a headless mode, this tool facilitates the seamless extraction of YouTube video comments and video information directly from the platform.FeaturesAsynchronous Crawling: Uses Python's asynchronous features for fast and efficient data extraction.Headless Interaction: Operates seamlessly without opening a web browser.Modular Design: Built with modularity in mind, allowing for easy extension and maintenance.Modules1. YoutubeCommentCrawlerExtract comments from any given YouTube video.Usage:fromyoutube_crawlerimportYoutubeCommentCrawlerwithYoutubeCommentCrawler()ascrawler:comments=awaitcrawler.crawl('YOUR_YOUTUBE_VIDEO_URL',n_target=NUMBER_OF_COMMENTS_TO_FETCH)2. YoutubeVideoInfoCrawlerSearch for videos based on a keyword and extract their information.Usage:fromyoutube_crawlerimportYoutubeVideoInfoCrawlerwithYoutubeVideoInfoCrawler()ascrawler:videos_info=awaitcrawler.crawl('YOUR_SEARCH_TERM',n_target=NUMBER_OF_VIDEOS_TO_FETCH,filter_options=YOUR_FILTER_OPTIONS)Getting StartedClone the repositorygitclonehttps://github.com/stevieflyer/youtube_crawler.gitNavigate to the project directorycdyoutube_crawlerInstall the dependenciespipinstall-rrequirements.txtStart crawlingUse the examples provided in the modules section above.ContributingContributions are welcome! Please raise an issue or submit a pull request.LicenseThis project is licensed under the MIT License - see theLICENSEfile for details.Happy crawling! :)
Package: youtubecrawler
YouTubeCrawle Wrapper for pythonreadable and good Docs athttps://github.com/KeinShin/youtubecrawlerInstall Using pip::pip3 install youtubecrawlerDocumentationInitialize Wrapper::from youtubecrawler import crawlyt=crawl(video_name="xyz)You can also use::yt=crawl(video_link=link)yt=crawl(video_id=video_id)Wrapper Is Capable ofFor VideoGetting Video Views Getting video tags Getting Video Description
Getting Video Title Getting Likes and Dislikes Getting Upload Time
Getting Uploader InformationFor channelsCan Scrape Any info about the channelLike> Last
Date Joined > Latest Video Details > Latest Community Post > Channel
Description > Info about other channels of the video > Subs of the
channel ( by name)VideosGather everything in a single call::video=yt.VideoDetails()Gather Info SeparatelyGet Views of the video::veiws=yt.veiws()Get tags of the video::tags=yt.keyword()Get video link::link=yt.videolink()Likes and dislikes of the video::likes=yt.likes_dislikes()[1]
dislikes=yt.likes_dislikes()[2]Get Upload time::uploadtime=yt.videoUploadTime()Get Video Title::title=yt.VidTitle()Get video description::description=yt.description()Get Uploader Information::uploader=yt.channel()Get Video Views::views=yt.views()Get Video Link::videolink=yt.videolink()Channels::from youtubecrawler.channel import channelch=channel(channelname="CarryMinati")Other parameters::ch = channel(channellink=channellink)
ch = channel(channelid='/channel/UC0IWRLai-BAwci_e9MylNGw')Get Subs of the channelUse full with name::subs=ch.subs()Get Latest Video::subs=ch.latest_video()Get Latest Community Post::post=ch.latest_community()Get That user other channels::otherchannels=ch.spareChannels()Get links of about::aboutlinks=ch.links()
Package: youtube-curses
youtube-cursesUsageThis is a simple youtube browser / streamlink frontend made with python and ncurses inspired bytwitch-curses.FeaturesDownload withyoutube-dlList subscriptionsSearch for content (prompt user)Get "recommended videos" (how tho?)Change sorting orderLike/Dislike barShow video lengthShow upload dateShow channel's subscriber countShow view countShow descriptionShow video/channel categoryChange subscription state of selected channel or video's channelConfigurable keymapCredentials argumentLogfile argumentranger-like thumbnail previewneeds testingAnimated loading symbolsMakestreamlinkcall outside main thread (user will be able to browse while watching a video)Comment section abilitiesShow comment sectionShow comment countOrder comment section by eitherTop commentsorNewest firstComment on videoReply to commentMove between different pagesHome / RecommendedPopularTrendingSubscriptionsWatch laterFavoritesPlaylistsSpecific channel's videosInteract with videoTurn notifications on or offLike/DislikeReportSave as (watch later/favorites/existing playlist/new playlist)Share link (at current time or not)Cached elements / internal database (?) for faster bootupVideo information such as thumbnails, channel, link and titlePublished on PyPiRequirementsinstallstreamlinksudo pacman -S streamlinkon Archoptionally create~/.streamlinkrcfileinstall requirements withpip install --user -r requirements.txtfollow this guide to get your credentialsdon't forget to download yourclient_secret.jsonLicenseWTFPL
Package: youtubedanyukla
fromyoutubedanyuklaimportYuklaYukla("https://youtu.be/9_A5sK1Kdzw","H")<h4>M - videoni musiqa ko'rinishida yuklab olish</h4><h4>H - videoni yuqori sifatda yuklab olish</h4><h4>L - videoni past sifatda yuklab olish</h4>