Saravanan666/pypi-org huggingface dataset:
Package: tvdbapi_client
Python client for theTVDB API (v1.2+) REST endpoints in json format.TVDB Api Client DocumentationFeaturesprovide client for interacting with thetvdb apiUsage>>> import tvdbapi_client
>>> client = tvdbapi_client.get_client(apikey='abc123', username='johndoe', userpass='mypass')
>>> client.search_series(name='the big bang theory')
[{'status': 'Continuing', 'network': 'CBS', 'overview': "What happens when hyperintelligent roommates Sheldon and Leonard meet Penny, a free-spirited beauty moving in next door, and realize they know next to nothing about life outside of the lab. Rounding out the crew are the smarmy Wolowitz, who thinks he's as sexy as he is brainy, and Koothrappali, who suffers from an inability to speak in the presence of a woman.", 'seriesName': 'The Big Bang Theory', 'firstAired': '2007-09-24', 'poster': 'graphical/80379-g23.jpg', 'id': 80379, 'aliases': ['Big Bang']}]>>> from tvdbapi_client import api
>>> client = api.TVDBClient(apikey='abc123', username='johndoe', userpass='mypass')
>>> client.search_series(name='the big bang theory')
[{'status': 'Continuing', 'network': 'CBS', 'overview': "What happens when hyperintelligent roommates Sheldon and Leonard meet Penny, a free-spirited beauty moving in next door, and realize they know next to nothing about life outside of the lab. Rounding out the crew are the smarmy Wolowitz, who thinks he's as sexy as he is brainy, and Koothrappali, who suffers from an inability to speak in the presence of a woman.", 'seriesName': 'The Big Bang Theory', 'firstAired': '2007-09-24', 'poster': 'graphical/80379-g23.jpg', 'id': 80379, 'aliases': ['Big Bang']}]
Package: tvdb-client
tvdb_client: A python client library for the new TVDB APIThe tvdb_client provides integration with the TheTVDB API and allows interaction with all of its public APIs in both
versions: V1 and V2.The tvdb_client library will provide different client classes for the V1 and V2 API versions from TheTVDB for they are
very different conceptually and technically (V1 is HTTP Get request based with XML response, while V2 is all RESTful JSON
based).This library is powered by the fantasticpython Requests libraryand the
awesomepython lxml.tvdb_client is not supported nor endorsed by TheTVDB.Client ClassesApiV1Client:Provides access to TheTVDB V1 APIs which are based on HTTP Get requests with XML based responses. The API documentation from TheTVDB can be found atAPI v1 description.ApiV2Client:Provides access to TheTVDB V2 APIs which are all RESTfull JSON APIs. The API information is very well documented atAPI v2 description.V1 API ClientThe V1 API Client is implemented by class ApiV1Client. Its constructor takes the api key, as required by TheTVDB.Currently, the implementation of the methods for its APIs is under development.V2 API ClientThe V2 API Client is implemented on class ApiV2Client. Its constructor receives the user identification (api key,
username and account identified) as required by TheTVDB and optionally the language option.This client implements method for all the APIs documented inTheTVDB swaggerwith
the exception of those that returns information on the parameters required for certain APIs.The client is very easy to use as provided by the example below:>>>fromtvdb_clientimportApiV2Client>>>api_client=ApiV2Client('USERNAME','API_KEY','ACCOUNT_IDENTIFIER')>>>api_client.login()>>>api_client.is_authenticatedTrue>>>series=api_client.search_series(name='Game of Thrones')>>>printseries{u'data':[{u'status':u'Continuing',u'network':u'HBO',u'overview':u"Seven noble families fight for control ofthemythicallandofWesteros.Frictionbetweenthehousesleadstofull-scalewar.Allwhileaveryancientevilawakensinthefarthestnorth.Amidstthewar,aneglectedmilitaryorderofmisfits,theNight's Watch, is all thatstandsbetweentherealmsofmenandtheicyhorrorsbeyond.", u'seriesName': u'Game of Thrones', u'firstAired':u'2011-04-17',u'banner':u'graphical/121361-g19.jpg',u'id':121361,u'aliases':[]},{u'status':u'Continuing',u'network':u'YouTube',u'overview':u'A spoof/parody Based on HBO\'s hit series "A Game of Thrones" and George RRMartin\'s A Song of Ice and Fire',u'seriesName':u'Game of Thrones: Cartoon Parody',u'firstAired':u'2011-05-07',u'banner':u'',u'id':311939,u'aliases':[]}]}>>>type(series)<type'dict'>Status and updatesMay 2016: Development started and API V2 Client is up for business!May 2020: Fix to client shared lib (version 0.1.2)ContactShould you have any questions, suggestions or wishes to contribute, please drop me an email atthilux.systems@gmail.com.
Package: tvdbsimple
tvdbsimpleis a wrapper, written in Python, for TheTVDB API v2.  By calling the functions available intvdbsimpleyou can simplify your code and easily access a vast amount of tv series data.  To learn more about TheTVDb API, check out thewebsite api page.FeaturesFull API implementation. Supports Search, Series, Episode, Updated, User and Languages methods.Updated with the latest JSON API.Fully tested with automated tests and travis.ci.Supports Python 2.7, 3.3, 3.4, 3.5, 3.6.Easy to access data using Python class attributes.Easy to experiment withtvdbsimplefunctions inside the Python interpreter.Installationtvdbsimpleis available on thePython Package Index(PyPI).You can installtvdbsimpleusing one of the following techniques:Use pip:pip install tvdbsimpleDownload the .zip or .tar.gz file from PyPI and install it yourselfDownload thesource from Githuband install it yourselfIf you install it yourself, also installrequests.API KeyYou will need an API key to TheTVDb to access the API.  To obtain a key, follow these steps:Register for and verify anaccount.Log intoyour account.Go to this pageand fill your details to generate a new API key.DocumentationAll the functions are fully documented in the docs folder and in thegithub wiki pagebut you can find several use examples in theexamples page.IssuesIf you find any issue please postin the github issue pagewith all the information possible to reproduce the issueSupportIf you would like contribute to the projects, feel free to do: fork, pull-request, issues, etc… They’re higly welcomeInstead if you would like offer me a coffee or beer:Donate with PayPalThanksToceliao, hertmdbsimplemodule inspired my work hereToBurntSushi, hispdocmodule helped me documenting the moduleTo TheTVDb website for providing the content and the api
Package: tvdosage
TvDosage======"Keep your Tv Series dose going"A tool that let's you download and keep tracking your favourite tv series.Also providing a Junky mode in wich the program tries to download the series chapters in a way that allows you to see all of them in a row.Usage------You need to Enable the Transmission RPC Service.For that you need to Start transmission, click in edit/preference, then click in the web tab and select "Enable Web Client"![transmission](https://raw.github.com/jairot/dosage/master/transmision.png)Start the DosageDaemon:dosagedaemon startStart tracking a tv series:tvdosage --track "Mad Men"stop tracking a tv series:tvdosage --untrack "Mad Men"Setup a tv series in Junky Mode:tvdosage --junky "Breaking Bad"Check all the available commands:tvdosage --helpInstalation-----Try TvDosage!!. It only works on GNU/Linux environmet with the transmission torrent Clientfirst install the python environment tools:sudo apt-get install python-dev python-pipThen you download and start the dosagedaemon:sudo pip install tvdosageEnable the Transmission RPC Service. For that you need to Start transmission, click in edit/preference, then click in the web tab and select "Enable Web Client"Start the DosageDaemon:dosagedaemon startthen you can add any tv series using the commands above.Do you test this Shit?----------------------[![Build Status](https://travis-ci.org/jairot/dosage.png?branch=master)](https://travis-ci.org/jairot/dosage)
Package: tvdsb-student-api
tvdsb-student-apiA Python library and CLI tool for interacting with the TVDSB Student Portal serviceCLI tool usageusage: python3 -m tvdsb_student [-h] --user USER [--passwd PASSWD]

Dumps all TVDSB Student info to STDOUT as JSON

optional arguments:
  -h, --help       show this help message and exit
  --user USER      TVDSB account username
  --passwd PASSWD  TVDSB account passwordThis script will dump JSON to STDOUTLibrary usagefromtypingimportListimporttvdsb_student# TVDSB Network authuser="lastfirst123"# This is your network usernamepasswd="mySecurePassw0rD!"# This is your network password# Create an auth objectcreds=tvdsb_student.LoginCreds(user,passwd)# Read student attendance recordsattendance:List[dict]=tvdsb_student.getAttendanceRecords(creds)# Read student mark history (all report card info)marks:List[dict]=tvdsb_student.getMarkHistory(creds)# Read student payment infopayment:dict=tvdsb_student.getPaymentInfo(creds)# Read student timetable infotimetable:dict=tvdsb_student.getTimetable(creds)Data schemasThese are all examples of the datastructures generated from polling my student accountAttendance[{"code":"G",// Single char denoting incident type"course_code":"SPH3UK-02",// Course code"date":"3/24/2020",// Date of incident"period":2,// School period"reason":"School Closure/Services Withdrawal"// Notes about incident}]Marks{"2020":[// Courses are grouped by year{"comment":".",// Teacher's comment. This may be a "." if the class finished during a teachers strike"course":"ICS4U1",// Course code"date":"2020.06.26",// Date the grade was last updated in MarkBook"mark":100,// Percent grade out of 100"skills":{// Listing of all "skills" on a normal report card. Single char, one of [F, S, G, E]"homework":"E","independence":"E","initiative":"E","organization":"E","teamwork":"E"}}]}Payment{"pin":1234567890// PIN number used to link a parent's payment account to a student (not my real pin)}Timetable{"student_info":{'grade':12,// Current grade, or next grade during summer'locker_number':null,// Locker number or null/None for no locker'name':['Evan','Pratten'],// First and last name'ontario_education_number':123456789,// OEN (not my real OEN)'student_number':987654321// TVDSB student number (not my real student number)},"course_semesters":[// Contains a sub-array for each semester[// Contains an object for each course{'course_code':'ENG4U1-02',// Course code'period':2,// Period number'start_time':1000,// Time the period begins (24hr)'end_time':1115// Time the period ends (24hr)}]]}
Package: tv-extract
Team View - Extract (Data extraction for team analysis)Extract team analysis data from git (current)
and other relevant sources (future).Pre-requisites for UseTokei(Thisforkhas initial,
rudementary, support for Jupyter notebooks). Tokei is used to collect metrics on volume of source based per source
language.If you don't have rust installed and aren't currently using Tokei, We recommend utilizing theteam-view-extractdocker image.SetupA configuration file that defines the "project" for extract must be defined. The
configuration file is json.Example:{"extracts":[{"name":"Project 1","repos":[{"name":"TeamView","remote":"git@github.com:rappdw/TeamViewer.git"},{"name":"team-view-extract","remote":"git@github.com:rappdw/team-viewer-extract.git"}],"start_date":"2018-07-18","end_date":"2018-08-31"}],"output_path":"~/.local/share/cache/TeamView","mailmap_file":"~/.local/share/cache/.mailmap","logging":20}Multiple extracts can be defined in a singl configuration file.start_date,end_date,mailmap_fileandloggingare all optional.loggingdefaults to info level.start_datedefaults to beginning of project.end_datedefaults
totoday. If nomailmap_fileis specified, standard git configuration applies.A good way to create the mailmap file is to construct based ongit shortlog -snefor each repository.ResultsFor each extract specified in the configuration file, a sub-directory will be created in the directory spcified byoutput_path. The following files will be created:author_totals.csv - Commit counts by author and repository (excluding merge commits)loc.csv - File counts by language, commit and repository (commits to master branch only)loc_delta.csv - File Counts by author, language, commit and repository (excluding merge commits)prs.csv - Pull request by repo including duration between last commit to branch and merge to masterrepo.csv - Current state of volume of code by language for each reporevs.csv - Revision graph by repo'Temporary' Files~/.local/share/cacheis used to cache temporary files including checkout of repos specified by extract and a cache of
the LOC revision history of each repo. If present this cache is updated on subsequent runs. If not present it is
recreated from scratch.
Package: tvguidegen
# TV GUIDE GeneratorPython script used to generate tv guide in many formats## Requirement+ Python 2.7+ pip ans setuptools+ lxml## InstallationThe installation steps assume that you have the following things installed:+ Python 2.7+ pip and setuptools Python packages. Nowadays pip requires and installs setuptools if not installed. Python 2.7.9 and later include pip by default, so you may have it already.+ lxml. Most Linux distributions ships prepackaged versions of lxml. Otherwise refer to http://lxml.de/installation.htmlYou can install Tvguidegen using pip (which is the canonical way to install Python packages). To install using pip run:`pip install tvguidegen`## Supported Formats+ [XMLTV](http://wiki.xmltv.org/index.php/XMLTVProject) format. see [DTD](http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd).## Typical usage+ With JSON file source:`~# tvgg -c /data/tvguide.json -o <outputfile> --m3u-channels=/data/mym3uchannels.json`+ With mongodb collection source:`~# tvgg -c channels_collection -o <outputfile>  --m3u-channels=http://exaple.com/list.m3u --mongodb-uri=localhost --mongodb-db=tvguide --limit=50`### Command Line Arguments```-c, --channels    Filename path with Channels and TV programing content in JSON formator a Mongodb collection name.-o, --output      Output filename. If not set, Tv guide will be output to STDOUT.--m3u-channels    Filename path or url with your channels names (Eg. From m3u playlist) in M3U format (Optionnal)This useful to match your channels with tv guide source data--mongodb-uri     Mongodb HOST URI.(Optionnal)If is set,--channels and --m3u-channels are selected from Mongodb\s collectionsDefault: 127.0.0.1--mongodb-db      Mongodb DATABASE Name. (Optionnal)Default: tvguide-l, --limit       Limit channels to generate. (Optionnal)--m3u-only        Export only matched channels.-v                Verbose script execution. (Optionnal)```### LICENCEThe MIT License (MIT)
Package: tviewlang
TVIEWLANGCreate a ready-to-run Go program for TUI-based applications, quicker than a blink.Requirementsgo get github.com/rivo/tviewSample code and outputSample codeForm with single input<main( <form( <input[name=myinput] ) )Form with input, password input, checkbox, combobox, button<main( 
    <form( 
        <input[name=Username] 
        <pass[name=Password]
        <check[Whatever,0]
        <combo[Choose,tujuh,delapan,sembilan]
        <button[Press_me]
    )
)
Package: tvmazetgbot
Telegram botTelegram bot for getting detailed information about TV programs from the website tvmaze.comInstallingpip install tvmazetgbotpip install git+https://github.com/nutakoooye/tvmazetgbotGet startedHow to work with this lib:you can start bot in terminal:pytnon -m tvmazetgbot -t <TELEGRAM_TOKEN>Or import Bot class from library:fromtvmazetgbotimportBottg_bot=Bot(token="TELEGRAM_TOKEN")tg_bot.start()
Package: tvmodels
tvmodelsThe tvmodels library contains pretrained vision models in pytorch trained on ImageNet. Some of these models are available intorchvisionbut some are not, so you can load them for here.InstallationRun the following to install:pipinstalltvmodelsColabIf it showsModuleNotFoundErroron Google-colab use the following:!gitclonehttps://github.com/rohitgr7/tvmodels.gitimportsyssys.path.append('/content/tvmodels')Usagefromtvmodels.modelsimportse_resnet50,resnet18# Load the modelsse_res_model=se_resnet50(pretrained=True)res_model=resnet18(pretrained=True)Available modelsResNet(s)ResNext(s)SEResNet(s)SEResNeXt(s)SENet154EfficientNets
Package: tvm-valuetypes
TVM value typesTelegram Open Network Virtual Machine has 7 value types:IntegerCellTupleNullSliceBuilderContinuationThis library is collection of utilits for handling those types.Cell and Slicetvm_valuetypes.cellhas classCelland functions to work with cells:deserialize_boc,cell.serialize_boc,cell.serialize_to_object,cell.serialize_to_json,deserialize_cell_from_jsonfrom tvm_valuertypes.cell import Cell, deserialize_boc
serialized_cell = bytes.fromhex("B5EE9C72410102010007000102000100024995C5FE15")
cell1 = deserialize_boc(serialized_c1)
cell1
serialization_with_index = cell1.serialize_boc(has_idx=True, hash_crc32=True, has_cache_bits=False, flags=0 )
serialization_with_index
cell2 = deserialize_boc(serialized_c2)
cell2 == cell1
cell2.serialize_to_object()HashMaps (Dictionaries)Cell may represent special 'virtual' value type, HashMap, which can be used for storing key-value container in the Cell.tvm_valuetypes.dict_utilshas special methodparse_hashmapfor dealing with hashmaps. Note the difference betweenHashmapandHashmapE.from tvm_valuertypes.cell import Cell
from tvm_valuertypes.dict_utils import parse_hashmap
test_dict = bytes.fromhex("B5EE9C7241010A01002D00020120010202014803040003FC0202014805060003F5FE02014807080003DB24020120090900035FF800030020CB8CA892")
dict_cell = deserialize_boc(test_dict)
parsed_dict = {}
parse_hashmap(dict_cell, 8, parsed_dict)
parsed_dict
Package: tvnotipy
tvnotipyTable of ContentsInstallationLicenseInstallationFrom PyPIpip install tvnotipyusepipxto install into a virtual env, if your operating system does not allow systemwide installations:pipx install tvnotipyFrom sourcegit clone https://github.com/laszloszurok/tvnotipycd tvnotipypython -m buildpipx install dist/tvnotipy-0.0.1-py3-none-any.whlLicensetvnotipyis distributed under the terms of theMITlicense.
Package: tvod
Twitch VODTool to retrieve Twitch's VOD from the video IDInstallThis package is published on PyPi at thislink. Up to you choose how to install it.Use as isaclient_idand aclient_secretare required in order to use this tool. Checkhereon how to get them. Set them as environment variables:export client_id=<YOUR CLIENT ID>export client_secret=<YOUR CLIENT SECRET>Execute the tool from a terminaltvodIt will ask the video ID (you can find it in twitch's video page). In this (https://www.twitch.tv/videos/1234567890) case the ID is1234567890It will ask at which resolution watchIt will use your browser to watch it.Use as packageYou can import it in your python script. The available methods are:get_video_info(video_id, video_info_error_handler)video_id: is the id of the twich vod you want to retrieve the infovideo_info_error_handler: is a function (a lambda is good) that will be called if something goes wrongreturns theurlto pass to the fuctionget_video_urlget_video_url(animated_preview_url, resolution_name)animated_preview_url: is the returned url byget_video_inforesolution_name: is the key of the chosen resolution. Some examples are:360p60720p60...return the url to the video at the chosen resolution
Package: tvopt
Welcome totvoptDocs|Installation|Citetvoptis a prototyping and benchmarking Python framework for time-varying (or online) optimization. The framework is modular,
and provides different tools for modeling dynamic optimization problems and to solve them with a wide range of well known
algorithms.The documentation is availablehere.Installationtvoptworks on Python 3.7 and depends on: numpy, scipy.pip installationpip install tvoptCite@inproceedings{bastianello_tvopt_2021,
	title = {tvopt: {A} {Python} {Framework} for {Time}-{Varying} {Optimization}},
	doi = {10.1109/CDC45484.2021.9683695},
	booktitle = {2021 60th {IEEE} {Conference} on {Decision} and {Control} ({CDC})},
	author = {Bastianello, Nicola},
	year = {2021},
	pages = {227--232},
}Authortvoptis developed byNicola Bastianello
Package: tvoverlord
** This release fixes an issue of using a reserved word in Python 3.7. **TV Overlord is a command line tool to download and manage TV shows from
newsgroups or bittorent. It will download nzb files or magnet links.It searches multiple sites simultaneously and combines the results
into one list to select from.TV Overlord keeps track of which shows have been downloaded and what
shows are available to download.More information athttps://bitbucket.org/tvoverlord/tv-overlord
Package: tvpdownloader
tvpdownloaderDownload episodes from vod.tvp.plInstall:pipinstalltvpdownloaderUsage:python3tvpdownloader.pyPublishing:python3setup.pysdist
twineuploaddist/tvpdownloader-0.1.0.tar.gzExample:fromtvpdownloaderimport*if__name__=='__main__':# list of urls to downloadurls=[{"url":"https://vod.tvp.pl/video/rodzinkapl,odc1,3994796","quality":5},{"url":"https://vod.tvp.pl/video/rodzinkapl,odc-221,34842411","quality":5},]foruinurls:# download each urlprint("Downloading: "+u['url']+" Quality: "+str(u['quality']))TVPDownloader(url=u['url'],quality=u['quality']).get()print("Done!")
Package: tvpy
📺📺 TvPy 🥧🥧Manage TV shows from the terminal.Installation>pipinstalltvpyUsage>mkdirThe.Peripheral>tvpyThe.PeripheralOther commandsDownload information from TMDB:>mkdirThe.Peripheral>tv-jsonThe.PeripheralDisplay information about a tv show:>mkdirThe.Peripheral>tv-infoThe.PeripheralDownload a tv show:>mkdirThe.Peripheral>tv-downloadThe.PeripheralDownload subtitles for a tv show:>mkdirThe.Peripheral>tv-subsThe.PeripheralRename files to match the pattern<title>.S<season>E<episode>.<ext>>mkdirThe.Peripheral>tv-renameThe.Peripheral⚠️ DangerRemove unused files>mkdirThe.Peripheral>tv-cleanThe.PeripheralConfigurationA small.tvpy.tomlconfiguration file is located at your home directory.
Its content looks like that:lang="English"follow=[]langdetermines the subtitle language.followis a list of TV shows you are watching.
Package: tvrage3
Python3 client for accessing tv show information from www.tvrage.comFree software: BSD licenseDocumentation:http://tvrage3.rtfd.org.FeaturesLazy, you can search tvrage with quick-search and still get all the
information as you would get with a full search about the specified show.
When a Show object is asked to return information not provided by
the search method used, it will query tvrage for the information.Will handle the occasional database errors and information inconsistencies
in the tvrage database sane and gracefully.High-level api, handles all the XML stuff for you.UsageSearchingFull searchReturns a list of Show objects.fromtvrage3.searchimportsearchresults=search('Buffy')first=results[0]first.name# => 'Buffy the Vampire Slayer'Quick searchReturns a show object, the closest match to search term or None.fromtvrage3.searchimportquick_inforesult=quick_info('Csi crime')result.name# => 'CSI: Crime Scene Investigation'# Enable stricter matchingresult=quick_info('CSI crime',exact=True)result==None# => TrueSearch by idReturns a Show object, or None if id is incorrect.fromtvrage3.searchimportsearch_idresult=search_id('2930')result.name# => 'Buffy the Vampire Slayer'Show objectsShow objects should not be initialized manually, it should be done by one of
the search functions, but for this example we do.fromtvrage3.apiimportShowshow=Show(show_id='3183')show.air_day# => 'Wednesday'show.air_time# => '22:00'show.classification# => 'Scripted'show.country# => 'US'show.ended_year# => Noneshow.genres# => ['Action', 'Crime', 'Drama']show.link# => 'http://www.tvrage.com/CSI'show.name# => 'CSI: Crime Scene Investigation'show.network# => OrderedDict([('@country', 'US'), ('#text', 'CBS')])show.runtime# => 60show.seasons# => 14show.show_id# => '3183'show.started_year# => 2000show.status# => 'Returning Series'History0.1.1 (2014-05-10)Fixed some style errors0.1.0 (2014-05-10)First release on PyPI.