Saravanan666/pypi-org huggingface dataset:
Package: criar-automacoes
pacote para criação de automaçõesPara importar:from criar_automacoes import Automatization, pyautogui, sg,Thread, kb, Gerar_Script_Automacao


Gerar_Script_Automacao()Estrutura básica de uma automação:from criar_automacoes import *

p = Automatization()
try:
    p.CareegarPontos('pontos')
except:
    #Esta parte eh apenas na criacao do codigo
    listadepontos = ['cruz', 'criar_novo_contato', 'campo_nome', 'telefone_cruz', 'celular', 'campo_telefone', 'ok']    
    for i in listadepontos:
        i = p.Criar_ponto(i)
        if i == None:
            break

    if i != None:
        p.SalvarPontos('pontos')

# Define o metodo Main
def Main():
    p.CareegarPontos('pontos')

    cruz = p.Coordenada('cruz')
    criar_novo_contato = p.Coordenada('criar_novo_contato')
    campo_nome = p.Coordenada('campo_nome')
    telefone_cruz = p.Coordenada('telefone_cruz')
    celular = p.Coordenada('celular')
    campo_telefone = p.Coordenada('campo_telefone')
    ok = p.Coordenada('ok')

    pyautogui.sleep(2)
    t = 1
    pyautogui.click(cruz, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(criar_novo_contato, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(campo_nome, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(telefone_cruz, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(celular, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(campo_telefone, duration=t)
    pyautogui.sleep(0.5)
    pyautogui.click(ok, duration=t)

def Configurar():
    p.CareegarPontos('pontos')
    p.Configurar()

def Rodar():
    print(f'''
Pressione 'shift+space' para rodar a automacao
Pressione 'config' para configurar os pontos da tela
    '''
    )
    kb.add_word_listener('config', Configurar)
    kb.add_hotkey('shift+space', Main)
    kb.wait()
if __name__ == '__main__':
    Rodar()
Package: cricbuzzscr
CricBuzzScrA python library to get live score fromCricbuzzInstallationpipinstallCricBuzzScrUsageImporting the packageimportCricBuzzScr.matchascbsMethods availableget_match - This method will give links of the matches listed in the website and will return the url of the match you select.get_commentary - This method will give you the Score, Batsman's name, Bowler's name, key stats, recent balls, and the commentary of last 2 overs.get_scorecard - This method will give you the Scorecard of the match.get_matchmatch=cbs.get_match()# This will have the link of the match which you will be using for the get_commentary and get_scorecard methodsget_commentaryIf you are not using in jupyter notebook.cbs.get_commentary(match)If you are using jupyter notebook.fromIPython.displayimportclear_outputwhileTrue:clear_output(wait=False)cbs.get_commentary(match)time.sleep(10)This will clear the cell output and will be running till you interrupt.get_scorecardcbs.get_commentary(match)This will give the scorecard of the match.
Package: cricbuzz-stats
cricbuzzpyA python library to extract Player info and stats fromCricbuzzInstallationpipinstallcricbuzz-statsUsagefromcricbuzzpy.playerimportPlayer# create Player objp=Player()# get playerp.get('jason holder'){'id':8313,'title':'Jason Holder','imageName':'Jason Holder','intro':'Jason Holder','country':'West Indies','publishedTime':'1575901896000','imageId':'244677'}# get player infop.get_info(8313){'age':'31','height':None,'role':'bowling allrounder','batting_style':'right handed bat','bowling_style':'right-arm fast-medium'}# get player statsp.get_stats()(minnnorunshsavgbfsr100200504s6st20i493493853815.4319120.690002321ipl382452474713.0199124.120001317,minnbrunswktsbbibbmeconavgsr5w10wt20i494610061370515/275/278.1726.8619.7310ipl38388241177494/524/528.5724.0216.8200)# init player with statsp=Player('jason holder')print(p)Name:JasonHolderCountry:WestIndiesInfo:{'age':'31','height':None,'role':'bowling allrounder','batting_style':'right handed bat','bowling_style':'right-arm fast-medium'}BattingStats:minnnorunshsavgbfsr100200504s6st20i493493853815.4319120.690002321ipl382452474713.0199124.120001317BowlingStats:minnbrunswktsbbibbmeconavgsr5w10wt20i494610061370515/275/278.1726.8619.7310ipl38388241177494/524/528.5724.0216.8200LimitationsOnly T20I and IPL stats for players are supported currently
Package: criccatapult
CricCatapultA novel cricket data package with a focus on data visualization, easily accessible data, and data analysisPackaging:https://pypi.org/project/criccatapult/0.0.5/To run/test out this package, simply clone the project and run it locally.Alternatively runpip3 install CricCatapult==0.0.5Due to API problems, the geography classes (Location, etc.) do not work with the current packaging. However, the rest of the classes are bug-free.Documentationhttps://criccatapult.readthedocs.io/en/latest/Submitted to CMSAC 2022
Package: cricheroes
cricheroesPython APIs to fetch and store data of a particular team from cricheroes.inSet upInstall Google ChromeWindows: Download and install google chrome for windowsLinux: Refer tohttps://linuxconfig.org/how-to-install-google-chrome-browser-on-linuxFor selenium webdriver refer :https://gist.github.com/siumhossain/1aa24622d8fda5053581c87ca6457638Docker: For Alpine run followingapk add chromiumapk add chromium-chromedriverInstall python moduleDownload and install 'cricheroes' python module from pypi.Use the following commandpip install cricheroesUsageCreate Team object and use it as per your requirementfromcricheroesimportTeam# Create Team Objectteam=Team(url='2580003/CP-Sm@shers')# Get all players, returns list of Player object in cricheroes moduleplayers=team.get_players()# Print player namesforplayerinplayers:print(player.name)# Get recent matches played by the team, returns list of Match objectmatches=team.get_matches()# Print match resultsformatchinmatches:print(match.result)# Get over all team statistics from Stats tabstats=team.get_team_stats()# Print match resultsforstatinstats:print(stat.label)print(stat.value)# Get leaderboard/top performer of the team, returns dictionary with batting, bowling, fielding statistics# Each value contains list of LeaderboardStatleaderboard=team.get_leaderboard()# Print batting statforiteminleaderboard['batting']:print(item.player_name,item.stat)# Print batting statforiteminleaderboard['bowling']:print(item.player_name,item.stat)# Print fielding statforiteminleaderboard['fielding']:print(item.player_name,item.stat)# Get all data and dump to jsonfromcricheroesimportTeam# Create Team Objectteam=Team(url='2580003/CP-Sm@shers')team.dump_all()# This will craete a json file 'out.json' at current directoryTo test:Download gist file fromhereRun file after doing the set uppython cricheroes_test.pyout.json file will be created at current directory
Package: cricket
Cricket is part of theBeeWare suite. The project website ishttp://pybee.org/cricket.Cricket is a graphical tool that helps you run your test suites.Normal unittest test runners dump all output to the console, and provide very
little detail while the suite is running. As a result:You can’t start looking at failures until the test suite has completed running,It isn’t a very accessible format for identifying patterns in test failures,It can be hard (or cumbersome) to re-run any tests that have failed.Why the namecricket?Test Cricketis the most prestigious version of
the game of cricket. Games last for up to 5 days… just like running some
test suites. The usual approach for making cricket watchable is a generous
dose of beer; in programming,Balmer Peaklimits come into effect, so
something else is required…QuickstartAt present, Cricket has support for:Pre-Django 1.6 project test suites,Django 1.6+ project test suites using unittest2-style discovery, andunittest project test suites.In your Django project, install cricket, and then run it:$ pip install cricket
$ cricket-djangocricket-djangowill also work in Django’s own tests directory – i.e., you
can usecricket-djangoto run Django’s own test suite (for Django 1.6 or
later).In a unittest project, install cricket, and then run it:$ pip install cricket
$ cricket-unittestThis will pop up a GUI window. Hit “Run all”, and watch your test suite
execute. A progress bar is displayed in the bottom right hand corner of
the window, along with an estimate of time remaining.While the suite is running, you can click on test names to see the output
of that test. If the test passed, it will be displayed in green; other test
results will be shown in other colors.Problems under UbuntuUbuntu’s packaging of Python omits theidleliblibrary from it’s base
package. If you’re using Python 2.7 on Ubuntu 13.04, you can installidlelibby running:$ sudo apt-get install idle-python2.7For other versions of Python and Ubuntu, you’ll need to adjust this as
appropriate.Problems under WindowsIf you’re running Cricket in a virtualenv under Windows, you’ll need to set an
environment variable so that Cricket can find the TCL graphics library:$ set TCL_LIBRARY=c:\Python27\tcl\tcl8.5You’ll need to adjust the exact path to reflect your local Python install.
You may find it helpful to put this line in theactivate.batscript
for your virtual environment so that it is automatically set whenever the
virtualenv is activated.DocumentationDocumentation for cricket can be found onRead The Docs.CommunityCricket is part of theBeeWare suite. You can talk to the community through:@pybeeware on TwitterTheBeeWare Users Mailing list, for questions about how to use the BeeWare suite.TheBeeWare Developers Mailing list, for discussing the development of new features in the BeeWare suite, and ideas for new tools for the suite.ContributingIf you experience problems with cricket,log them on GitHub. If you want to contribute code, pleasefork the codeandsubmit a pull request.
Package: cricketlive
# criclivePython wrapper for Live cricket score from www.cricbuzz.com# MethodsIts very simple  :eyes: There are three methods are in this package.1. Get the details match/score details in json format* get_live_score()2. Get the match description/type.* match_data()3. Get the specific match details* get_match()##  :checkered_flag: .... !![methods1](https://cloud.githubusercontent.com/assets/8171465/20470648/78e317e2-afd0-11e6-857c-33f33f081af5.png)# How methods are working :eyeglasses: ?``` pythonIn [1]: from criclive.livecricket import CriczIn [2]: cricket = Cricz()In [3]: cricket_live = cricket.cricket.get_live_score  cricket.get_match       cricket.match_data###### Cricket detaild Live DataIn [4]: cricket_live = cricket.get_live_score()In [5]: cricket_liveIn [5]: output in json formatOut[6]:{'data': [{u'match_1': [{'batteam_score': {'bt_score': [{'decl': u'0','desc': u'2nd Inns','followon': u'0','overs': u'59.5','run': u'87','wkts': u'2'},--------}}]}}###### Match DetailsIn [7]: match = cricket.match_data()Out[7]:{'result': [{'desc': u'IND vs ENG','match_id': u'match_1','match_no': u'2nd Test','type': u'TEST'},{'desc': u'ZIM vs SL','match_id': u'match_4','match_no': u'4th Match','type': u'ODI'},{'desc': u'KEN vs HK','match_id': u'match_11','match_no': u'30th Match','type': u'ODI'}]}####### Get Match detail with 'match_id''''' pass arguments match_id to the get_match(match_id) method ''''In [8]: match = cricket.get_match('match_1')In [9]: matchOut[9]:{'result': [{u'match_1': [{'batteam_score': {'bt_score': [{'decl': u'0','desc': u'2nd Inns','followon': u'0','overs': u'63','run': u'92','wkts': u'2'},{'decl': u'0','desc': u'1st Inns','followon': u'0','overs': u'102.5','run': u'255','wkts': u'10'}]},'bowteam_score': {'bw_score': [{'decl': u'0','desc': u'2nd Inns','followon': u'0','overs': u'63.1','run': u'204','wkts': u'10'},{'decl': u'0','desc': u'1st Inns','followon': u'0','overs': u'129.4','run': u'455','wkts': u'10'}]},'bt_name': u'ENG','bwl_team': u'IND','match_data': {'country': u'India','desc': u'IND vs ENG','ground': u'Dr. Y.S. Rajasekhara Reddy ACA-VDCA Cricket Stadium','inngscount': u'4','match_id': u'1','match_no': u'2nd Test','type': u'TEST','venue': u'Visakhapatnam'},'match_state': {'WhoToss': u'Ind','other': u'','session': u'Day 5: First Session','state': u'inprogress','status': u'Eng need 313 runs'}}]}]}
Package: cricket-rankings
cricket_rankings|License: MIT| |Downloads|This is a simple python package to display cricket rankings of both men
and women, teams and players across all the formats.If you love the package, please :star2: the repo.Basic SetupYou should be able to install usingeasy_installorpipin the
usual ways:.. code:: sh$ easy_install cricket-rankings
$ pip install cricket-rankingsOr just clone this repository and run:.. code:: sh$ python3 setup.py installUsage.. code:: pythonimport the packageimport cricket_rankings as crrun the rankings function and follow the prompts coming upcr.rankings()IssuesYou can report the bugs at theissue tracker <https://github.com/umangahuja1/cricket_rankings/issues>__LicenseBuilt with ♥ by Umang
Ahuja(@umangahuja1) underMIT License <https://github.com/umangahuja1/cricket_rankings/blob/master/LICENSE>__.. |License: MIT| image::https://img.shields.io/badge/License-MIT-blue.svg:target:https://github.com/umangahuja1/cricket_rankings/blob/master/LICENSE.. |Downloads| image::https://pepy.tech/badge/cricket-rankings:target:https://pepy.tech/project/cricket-rankings
Package: cricket-tops
Cricket TopsA Python package to view the top ODI, Tests, T20 ranked players (Men and Women) as well as Top Tests, ODI and T20 ranked teams.UsageFollowing methods/functions can be called to view the top teams or top players.
testtop10batters()
testtop10bowlers()
testtop10allrounder()
oditop10batters()
oditop10bowling()
oditop10allrounder()
t20top10batters()
t20top10bowlers()
t20top10allrounder()
toptestteams()
topoditeams()
topt20teams()
odiwonentop10batters()
odiwonentop10bowlers()
odiwonentop10allrounder()
t20wonentop10batters()
t20wonentop10bowlers()
t20wonentop10allrounder()
topwomenoditeams()
topwoment20teams()
Package: crickit
Crickit is a text-based cricket simulator.Available teamsIndiaPakistanTeam Data Contributions welcomeAPIPlay a single Match between two specific teamsplayMatch(team1,team2)Simulate n Matches between two specific teamssimulateMatches(team1,team2,n)n(default = 100)RoadmapRefactor based on actual cricket data stats (Strike rate, economy
rate etc)Currently its modelled on the probability of wide ball, no ball,
wicket Ball etc, which are not standard cricket statsFuture ReleasesSimulate game based on current player of the teamSimulate an entire T20 tournamentCreate directory/dictionary/file of teams and their statsCreate directory of teams for each team with individual statsBug fixes, tuning11th november 2017Initial Commit working two team cricket gameAuthor InformationCreated byAkshay Agrawalat ArtCenter College of DesignLicense InformationThe MIT License
Package: crickly
🏏 CricklyCrickly is a simple app to store cricket match details.📝Note: Development is still in progress and not in a stable state.Detailed documentation is in thedocsdirectory. (Not produced yet. So instead heres a unicorn... 🦄)🛫 Quick startAddcricklyto your INSTALLED_APPS setting like thisINSTALLED_APPS=[...'crickly.core',]Include the URLconf in your project urls.py like thispath(r'^matches/',include('crickly.core.urls.matches')),path(r'^stats/',include('crickly.core.urls.stats')),path(r'^api/',include('crickly.core.urls.api')),Runpython manage.py migrateto create the crickly models.Runpython manage.py collectstaticto get static files.Add this to your base template<scriptsrc="{% static "crickly/scripts.js"%}"></script><scriptsrc="https://code.jquery.com/jquery-3.3.1.min.js"integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="crossorigin="anonymous"></script>Start the development server and visithttp://127.0.0.1:8000/admin/to create a match (you'll need the Admin app enabled).Visithttp://127.0.0.1:8000/matches/to view match details.
Visithttp://127.0.0.1:8000/stats/to view statistics.🔧 ExtensionsThere are several extensions to make this app more usable, they are:Crickly-playcricket: This extension links the core app to the ECB Play Cricket system. It is helpful for clubs who play in leagues that require the results to be added to playcricket.Crickly-matchreports: ⚙️ Under Development. This adds a match report section to the website.Crickly-fantasyleague: ⚙️ Under Development. This adds a fantasy league section to the website. A good fundraiser for cricket clubs.Crickly-PCSP-BBB: ⚙️ Under Development. This adds support for a ball by ball feed from Play Cricket Scorer Pro. Requires crickly-playcricket
Package: crickly-playcricket
Crickly-playcricket 🏏Crickly-PlayCricket is an extension toCrickly. It links the core app with the ECB Play Cricket System.📝Note: Development is still in progress and not in a stable state. I doubt it'll (know it wont) work yet! 🤪Detailed documentation is in the "docs" directory. (Not produced yet. So instead heres a unicorn... 🦄)Quick start 🛫To use this app you will need an API Token provided by thePlay Cricket Helpdesk.Addcricket.coreandcricket.playcricketto your INSTALLED_APPS setting like thisINSTALLED_APPS = [
        ...
        'cricket.core',
        'cricket.playcricket',
    ]Runpython manage.py migrateto create the cricket models.
Package: cricpy
CricpyPackage downloads from the PypiDescriptionTools for analyzing performances of cricketers based on stats in ESPN Cricinfo Statsguru. The toolset can  be used for analysis of Tests,ODI amd Twenty20 matches of both batsmen and bowlers.Installation# Install the packagepipinstallcricpyImporting and Loading Datacricpycan be imported using the typicalimport:# Import cricpyimportcricpyTo load the data, You could either do specific import#1.importcricpy.analyticsasca#ca.batsman4s("../dravid.csv","Rahul Dravid")or import all the functions#2.fromcricpy.analyticsimport*#batsman4s("../dravid.csv","Rahul Dravid")ReferencesIntroducing cricpy:A python package to analyze performances of cricketersR-PackageIf you are an R-user, There is an R equivalent ofcricpy- that iscricketr.
Package: cricpy2
CricpyA GAMEEnv to set before runningTOTAL_OVERS=<total overs:int>
FIRST=<first batting cricket team short form:string>
SECOND=<second batting cricket team short form:string>
QUICK_TESTING=<quick testing to kill the sleep time (0/1) :int>
SLEEP_TIME_SECONDS=<sleep time in seconds (usually 1 or 0.5):float>
Package: cricsummary
cricsummarycricsummary is built for performing cricket analysis on data provided by cricsheet.org.
by converting the data in DataFrames or csv files that are better suited for analysis.Convert json file to csv.Creates DataFrames team-wise.Vizualise or Perform your own transformations/analysis on the DataFrames.Save the converted file (json to csv)Plot Manhattan and Worm chartsThis is a useful tool to get started with cricket analysis.Installationcricsummary requires python 3.5+ to run.$ pip install cricsummaryHow to UseDownload the data from cricsheet
Use the txt file in downloaded folder to check name of the match you want to analyse>>> from cricsummary import Duranz


>>> match = Duranz('12345.json')


### BUILT IN METHODS FOR ANAYSIS

# team parameter represent innings, team=1 for data of team batted in 1st inning 
>>> match.scorecard(team=1) 

>>> match.plot_worm() 

>>> match.plot_manhattan(team=2)

>>> match.match_info()

>>> match.extras(team=1)

>>> match.fall_of_wickets(team=2)Do your AnalysisAccess separate DataFrames of teams and do your Operations/Analysis# returns dict of dataframe where keys are team name with _<innings> suffix 
match = Duranz('123.json')
>>> df_dict = match.teams_df

### CONVERT JSON TO CSV 
>>> from cricsummary import json_to_csv

# this will save the files of the innings <teamname>_<innings>.csv
>>> json_to_csv('123.json', output_file=True)DevelopmentWant to contribute? Great!
pull request onhttps://github.com/KunalDuran/cricsummaryLicenseMIT
Package: cridlib
RaBe cridlib for PythonGenerateRaBe CRIDsbased on several data sources:Songticker for current CRIDarchiv.rabe.chfor past CRIDsTBD: LibreTime for future CRIDsInstallationpoetryaddrabe-cridlib# or on old setup style projectspip-minstallrabe-cridlibUsage>>>importcridlib>>>>>># parse an existing crid>>>crid=cridlib.parse("crid://rabe.ch/v1/klangbecken#t=clock=19930301T131200.00Z")>>>print(crid)crid://rabe.ch/v1/klangbecken#t=clock=19930301T131200.00Z>>>print(f"version:{crid.version}, show:{crid.show}, start:{crid.start}")version:v1,show:klangbecken,start:1993-03-0113:12:00>>># get crid for current show>>>crid=cridlib.get()>>>print(f"version:{crid.version}, show: crid.show")# doctest:+ELLIPSISversion:v1,show:...Development# setup a dev envpython-mvenvenv
.env/bin/activate# install a modern poetry versionpython-mpipinstallpoetry>=1.2.0# install deps and dev versionpoetryinstall# make changes, run testspytestRelease ManagementThe CI/CD setup uses semantic commit messages following theconventional commits standard.
There is a GitHub Action in.github/workflows/semantic-release.yamlthat usesgo-semantic-committo create new
releases.The commit message should be structured as follows:<type>[optional scope]: <description>

[optional body]

[optional footer(s)]The commit contains the following structural elements, to communicate intent to the consumers of your library:fix:a commit of the typefixpatches gets released with a PATCH version bumpfeat:a commit of the typefeatgets released as a MINOR version bumpBREAKING CHANGE:a commit that has a footerBREAKING CHANGE:gets released as a MAJOR version bumptypes other thanfix:andfeat:are allowed and don't trigger a releaseIf a commit does not contain a conventional commit style message you can fix
it during the squash and merge operation on the PR.Once a commit has landed on themainbranch a release will be created and automatically published topypiusing the GitHub Action in.github/workflows/release.yamlwhich usespoetryto publish the package to pypi.LicenseThis package is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.CopyrightCopyright (c) 2022Radio Bern RaBe
Package: crillab-autograph
AUtogRAPH - A Unified libRary for drAwing Plots in pytHonAUtogRAPH is a unified library for creating static and interactive visualization in Python. T
It offers a unique simplified interface for creating graphics.
It currently manages two libraries in the background:MatplotlibandPlotly. New libraries will be added gradually.InstallAutograph$ pip install crillab-autographUsageA sample notebook is availablehere.