Saravanan666/pypi-org huggingface dataset:
Package: kickoff-epl
Kickoff - Premier League InsightsIn our experience, many sports statistics do not provide enough valuable information for viewers and team management alike to analyze the various aspects of a team's performance with more depth and variety. Also, existing statistics are often quite technical and are not readily viewable in a proper format for the average person.Kickoff aims to solve both of these problems through aPython CLIthat helps analysts and fans model past Premier League data and gain statistical insights for both individual teams and the overall league.InstallationInstalling Kickoff is incredibly simple. First, you'll need Python and a Python version of3.11or higher. Then, usepipto install Kickoff from PyPI with the below command:pip install kickoff-eplComputational OverviewThe entirety of our Premier League data is modelled through a Graph Abstract Data Type. Within this graph, we represent the entire history of the league independent of seasons. Each vertex of the graph represents individual teams in the premier league. Hence, the matches played between two opposing teams are represented as undirected edges connecting the corresponding team objects. With this graph, we are able to compute numerous interesting and insightful statistics that can help teams and fans.CommandsAll of Kickoff's statistics are accessible through easy to use CLI commands. Each command should be prefixed with thekickoffname. All the available commands and the corresponding parameters and descriptions are listed below. They can also be found by runningkickoff --helporkickoff <command_name> --help>.Note that square brackets indicate required arguments while round brackets indicate optional ones. Thetopxargument can be used to limit or expand the number of results.aggregate averages[team], [season]aggregate winrate[team], (season)aggregate homevsaway[team], (season)records winrates(season), (topx)records streaks[season], (topx)records comebacks(season), (topx)records goals(season), (topx)records fairplay(season), (topx)records improvement[season], (topx)optimal fouls(team), (topx)optimal yellowcards(team), (topx)optimal referees[team], (topx)optimal fairestreferees(topx)predict[home], [away], [season]GalleryList of Available TeamsStatistical Averages for Manchester City in 2012-13Most Goals Scored in the Last 10 YearsHighest Streaks in the 2018-19 SeasonDependenciesKickoff is extremely minimal and only uses three packages:pandasfor cleaning and loading our datasets,typerandrichfor creating a CLI and pretty printing, andnumpyfor weighted average calculations.DatasetsKickoff uses 10 open-source datasets that contain Premier League data from the 2009-10 season to the 2018-19 season. These datasets are not our own and but can be accessed onKaggle.
Package: kick-s3
kicks3S3 bucket finder from html,js and bucket misconfiguration testing tool.Currently this tool check five testcasesObject listing for Unauthenticated usersObject listing for Authenticated usersPublic writable for all aws usersBucket Acl public readPut Bucket Policypip install awscliaws configureget your aws keys from aws consoleInstallationpip install kick-s3ORgit clonehttps://github.com/abuvanth/kicks3.gitcd kicks3python setup.py installUsage##demosingle targetkicks3.py -uhttp://targetthis will looking for s3 buckets in html and javascript files.Single Bucketkicks3.py -b bucketnametest single bucket nameBucket listkicks3.py -bl bucketnamelist.txtlist of websiteskicks3.py -uhttp://target-l sitelist.txtauthenticated pagekicks3.py -uhttp://target-c 'cookievalues'subdomainskicks3.py -u target.com -s 1Use kicks3 as a moduleimport kicks3

bucketurllist=kicks3.finds3('target.com')
bucketlist=kicks3.get_bucket_name(bucketurllist)
scan_result=kicks3.scan_s3(bucketlist)

for result in scan_result:

    print(result)#bucketname(testname),listable_for_unauth_users(true or false),listable_auth_users(true or false),writable(true or false)buckets from text fileimport kicks3
blist=open('s3.buckets.txt','r').readlines()
result=kicks3.scan_s3(blist)Scan for subdomainsbucketurllist=kicks3.finds3(['target.com'],sub=1,cookies='valueofyoursitescookie') #cookies for authenticated pages,
bucketlist=kicks3.get_bucket_name(bucketurllist)
scan_result=kicks3.scan_s3(bucketlist)

for result in scan_result:

    print(result)#bucketname(testname),listable_for_unauth_users(true or false),listable_auth_users(true or false),writable(true or false)results are stored in s3out.txt file.Note: sub and cookies are optional parameters of finds3 function
Package: kicksaw-integration-app-client
OverviewTo use Kicksaw's integration app, installthis packagein your Salesforce organization.Once your org is ready to-go, instantiate theKicksawSalesforceclass and operate like normal, but note:You need to pass the AWS Step Function payload to the class when instantiatingInstantiating the client creates an execution object in Salesforce, unless you pass it the id of an already existing execution objectAll of your bulk operations will have their errors parsed and error objects created in Salesforce if applicablefromkicksaw_integration_app_clientimportKicksawSalesforcestep_function_payload={}salesforce=KicksawSalesforce(connection_object,integration_name,step_function_payload)salesforce.bulk.Account.upsert()For code examples, please refer totests/test_integrations.py.
Package: kicksaw-lambda-logger
kicksaw-lambda-loggerThis is intended for use with Kicksaw's integration projects and our other open-source libraries likepycm. However, these aren't
hard dependencies.Usagefromkicksaw_lambda_loggerimportget_loggerlogger=get_logger(__name__)logger.info("Logging is fun!")Environment variablesThere are two environment variables this library makes use of:STAGELOG_LEVELSTAGErepresents your deployment environment, e.g.,production,development,local, ortest. This affects
which logging mechanism the library uses under the hood.LOG_LEVELrepresents the log level, e.g.,DEBUG,INFO,WARNING, orERROR.SentryAs this library grows, we'll be adding more helper methods for reporting in Sentry. For now, you can send an exception
to Sentry without your code dying by usingsend_exception_to_sentry.Future plansWrite all logs totmpso that other reporting tools can sweep the logs and do something with themAdd moe Sentry featuresPass in stage and level from outside?This project usespoetryfor dependency management
and packaging.
Package: kickscore
kickscoreis the dynamic skill rating system poweringKickoff.ai.In short,kickscorecan be used to understand & visualize the skill of
players (or teams) competing in pairwise matches, and to predict outcomes of
future matches. It extends theElo rating systemandTrueSkill.Getting startedTo install the latest release directly from PyPI, simply type:pip install kickscoreTo get started, you might want to explore one of these notebooks:Basic example illustrating the API(interactive version)Visualizing the history of the NBA(interactive version)ReferencesLucas Maystre, Victor Kristof, Matthias Grossglauser,Pairwise Comparisons with Flexible Time-Dynamics, KDD 2019
Package: kickstart-avs
setupMotivationAlexa teamhave put together a
step-by-step guide to buildAlexa Voice Service
(AVS)on aRaspberry Pihere.
Although theautomated install
scriptbuilds the sample apps for enablingAlexa Voice Service
(AVS), there are
two things that you have to do manually in order to get a full
experience of owning an Amazon Alexa product (Echo, Dot, Look, etc):run your web service, sample app and wake word
engineEnable the above apps on startupAboutA simple package that launches Alexa Voice Service without you manually
opening three consoles. Can be launched with a simpleshellcommand
that can be added to startup on aRaspberry Pi.Referenceshttps://python-packaging.readthedocs.io/en/latest/minimal.html#picking-a-namehttps://github.com/tony/libtmux
Package: kicktipp
DescriptionImplements some basic automation for auto submitting tips onkicktipp. The auto submitting is based onseleniumbrowser automation. Login credentials are PGP-encrypted withSOPS.Currently only two result submitting strategies are implemented:2-1for the "2-1 bot" (use -2)randomfor the "random bot" (use -r)but the automation module can be extended easily to support any type of bets.RequirementsOSTested only on MacOS. Because no OS-specific functionality is used, though, it should work on any modern OS.Softwaresopspython3 + selenium modulechromeInstallationbrewinstallpython3sops
pipinstall-rrequirements.txtExecution./src/auto_submit_tips.py-h
usage:auto_submit_tips.py[-h][-2|-r]Performautomatickicktipptippingforthebots

options:-h,--helpshowthishelpmessageandexit-22:1tipping-rrandomtipping
Package: kicost
KiCost script, also with Graphical User Interface - GUI, under MIT license for
generate part-cost spreadsheets for circuit boards developed with KiCad and others EDAs.Free software: MIT licenseDocumentation:https://hildogjr.github.io/KiCost/.Quick start:https://www.youtube.com/watch?v=AeccxROpDfY.FeaturesEasy installation viapip(see on documentation folder).Processes the BOM XML file from your KiCad schematic to create a part-cost spreadsheet by
scraping the web sites of several popular distributors for price and inventory data.
(You can also enter your own quantity-adjusted pricing data for specialized parts or those
not found at the supported distributors.);Processes also BOM files from Altium, Proteus, Eagle, Upverter and hand made CSVs;The spreadsheet contains quantity-adjusted pricing from each distributor for
individual parts and the total board;Enter the number of boards to be built in a spreadsheet cell and all the pricing
for the total board and individual parts is updated;The spreadsheet also shows the current inventory on-hand for each part at each distributor;Enter the quantity of each part that you want to purchase from each distributor and
lists of part numbers and quantities will appear in formats that you can cut-and-paste
directly into the website ordering page of each distributor.Latest updates1.1.18 (2023-06-22)Fixed problems when no arguments were specified1.1.17 (2023-05-15)Fix Nexar problems when no MANFAdd TME retry1.1.16 (2023-04-10)Fix disabled KitSpace API, no longer availableFix display API errors in the GUI dialogFix Nexar problems when we don’t get a closest matchAccesshttps://github.com/hildogjr/KiCost/blob/master/kicost/HISTORY.rstfor full development history.
Package: kicost-digikey-api-v3
KiCost plug-in for Digi-Key APIThis is an experimental plug-in to allow KiCost to do native Digi-Key API requests.The plug-in is based on thePython Client for Digikey APIbyPeter Oostewechel.I'm not using the original project as a module because it pulls some rare dependencies.The license is GPL v3 as the original work.QuickstartRegister at Digi-Key. You need a valid user in order to register an application and in order to authenticate.Go to the API portal:Digi-Key API SolutionsLogin to Digi-Key from the API portalCreate anorganizationChoose theProduction AppsoperationCreate a production appChoose aProduction App nameUsehttps://localhost:8139/digikey_callbackfor the OAuth Callback. So you can authorize the use of the app.Give a descriptionEnable theProduct InformationAPIClickAdd production appNow select your newly createdProduction AppIn theCredentialsection enable the options to show theClient IDandClient SecretCopy these values to a file namedconfig.txtcontaining:DIGIKEY_CLIENT_ID = Client_ID_Value_for_your_app
DIGIKEY_CLIENT_SECRET = Client_Secret_Value_for_your_appCreate a folder~/.config/kicost_digikey_api_v3Store the config.txt fileNow install the plug-in:Clone the git repo somewhere usinggit clone https://github.com/set-soft/kicost-digikey-api-v3.gitEnter tokicost-digikey-api-v3Install it usingpip3 install -e .Now test the plug-in:runpython3 test_production.pyA browser window will pop-up asking to login to Digi-Key. Login.Choose the allow option to enable the token.Now you'll load a local page, allow it.Now the token is stored on disk and you won't need to confirm it for months.You should get the information for Digi-Key part 296-6501-6-ND
Package: kics
KICSThe Kelvin Intelligent Control Software (KICS) package provides tools that enable users to interact with the KICS Platform through the command line interface.  KICS is the AI software platform for building and managing control applications.  Control applications combine insights, events and actions into powerful automation workflows.   KICS provides tools and interfaces to ease the effort of data science, app development, testing, validation, management, and finally orchestration and deployment.For additional information, visithttps://docs.kelvininc.comor contactsupport@kelvininc.com.LicenseSeeLicensefor more information.
Package: kidash
KidashKidash is a tool for managing Kibana-related dashboards from the command line. The standard GrimoireLab dashboards
are available in theSigilsrepository.RequirementsPython >= 3.8You will also need some other libraries for running the tool, you can find the
whole list of dependencies inpyproject.tomlfile.InstallationThere are several ways to install Kidash on your system: packages or source
code using Poetry or pip.PyPI:Kidash can be installed using pip, a tool for installing Python packages.
To do it, run the next command:$ pip install kidashSource codeTo install from the source code you will need to clone the repository first:$ git clone https://github.com/chaoss/grimoirelab-kidash
$ cd grimoirelab-kidashThen use pip or Poetry to install the package along with its dependencies.PipTo install the package from local directory run the following command:$ pip install .In case you are a developer, you should install kidash in editable mode:$ pip install -e .PoetryWe usepoetryfor dependency management and
packaging. You can install it following itsdocumentation.
Once you have installed it, you can install kidash and the dependencies:$ poetry installTo spaw a new shell within the virtual environment use:$ poetry shellUsageGet a list of all options with:$ kidash --helpImport a dashboard:kidash -g -e <elasticsearch-url>:<port> --import <local-file-path>
example: kidash -g -e https://admin:admin@localhost:9200 --import ./overview.jsonExport a dashboard:kidash -g -e <elasticsearch-url> --dashboard <dashboard-id>* --export <local-file-path> --split-index-pattern
example: kidash -g -e https://admin:admin@localhost:9200 --dashboard overview --export overview.jsonLicenseLicensed under GNU General Public License (GPL), version 3 or later.
Package: kidde-homesafe
kidde-homesafeA slim python wrapper of the Kidde HomeSafe private API. If you're new to python, poke around [the code][kidde_homesafe.py]; it's simple, and you may understand more than you expect.Basic UsageImporting and asyncioThe following code snippets assume you have imported the following:fromkidde_homesafeimportKiddeClient,KiddeCommandimportasyncioimportjsonThey should be run in an asyncio loop, like this (seeasynciofor details):asyncdefmain()->None:# Kidde functionsif__name__=="__main__":asyncio.run(main())LoginUse thefrom_loginclass method to create your first client:client=awaitKiddeClient.from_login("test@example.com","KiddeCloudPassword")Reuse CookiesYou may save a client's cookies to a file:withopen("kidde_cookies.json","w")asfile:json.dump(client.cookies,file)And reuse them later:withopen("kidde_cookies.json")asfile:cookies=json.load(file)client=KiddeClient(cookies)Get Dataclient.get_datareturns aKiddeDatasetobject withlocations,devices, andevents. You can skip pullingdeviceswith theget_devices=Falseparameter and the same withevents. For example,dataset=awaitclient.get_data(get_events=False)print(dataset.devices)should print something like:{"918281":{"id":918281,"serial_number":"00123456789Z","model":"wifidetector","notify":true,"location_id":018271,"label":"Kithen","lost":false,"hwrev":"WD-ESP32","ptt_state":"idle","locate_active":false,"instance_id":"29ba9019ca","notify_contact":true,"last_test_time":"2023-11-10T18:56:02Z","motion_active":false,"weather_active":false,"capabilities":["smoke","co"],"errors":[],"smoke_alarm":false,"co_alarm":false,"smoke_level":0,"smoke_comp":-5,"too_much_smoke":false,"smoke_hushed":false,"co_level":0,"fwrev":{"wm":"2.5","net":"4.4.1","alarm":"1.10"},"life":535,"batt_volt":0,"battery_state":"ok","ptt_active":false,"identifying":false,"announcement":"Kitchen","notify_eol":true,"diag_params":{"ap_rssi":-47},"mb_model":39,"last_seen":"2023-11-10T18:59:02.932375951Z","ssid":"YourHomeWiFi","ap_rssi":-47,"country_code":"US","longitude":0,"latitude":0,"altitude":0,"accuracy":0,"end_of_life_status":1}}Sending Device CommandsYou can send API commands to your device using the KiddeCommand enum:awaitclient.device_command(location_id=018271,device_id=918281,KiddeCommand.IDENTIFY)IDENTIFY is labeled "ping" in the app.
Package: kiddiepool
© 2013 Urban Airshiphttps://github.com/urbanairship/kiddiepoolGoalsCreate a reusable connection pool class that handles failoverOptionally allow connection pool to discover service locations via ZookeeperInstallationpip install kiddiepool  # without optional zookeeper support
pip install kiddiepool[zookeeper]  # with optional zookeeper supportCreating a New ClientSubclass at leastKiddieClientto create the public API for your client
driver.  Should callKiddieClient._sendall(<str>)to send data.Using the PoolUsing a static poolCreate a list of"<host>:<port>"strings to target for connections.Instantiate aKiddiePoolwith that list of strings.Pass the KiddiePool instance to yourKiddieClientsubclass for use.Use your client’s API and it will use the pool automatically.Using a dynamic poolNoteEnsure you have installed the package with zookeeper support.Instantiate a TidePool with the Zookeeper quorum and znode whose children
to monitor.Use a context managerwith TidePool() as pool:or thestart()andstop()methods to manage the connection to Zookeeper.Use the dynamic pool exactly like the static pool.  Candidates will be
added/removed from the pool by a background thread.
Package: kidronekit
kidronekitPremium extended version of dronekitInstallpip install kidronekitGetting StartedHow to control get drone telemetrys via Mavlink withkidronekit:fromkidronekitimportconnect,VehicleModeconnection_string="tcp:192.168.0.120:5763"# Connect to the Vehicle.print("Connecting to vehicle on:%s"%(connection_string,))vehicle=connect(connection_string,wait_ready=True)# Get some vehicle attributes (state)print("====================================================")print(" GPS Status:%s"%vehicle.gps_0)print(" Lat, Lon, Alt:%s"%vehicle.location.global_relative_frame.lat,vehicle.location.global_relative_frame.lon,vehicle.location.global_relative_frame.alt)print(" Attitude:%s"%vehicle.attitude)print(" Groundspeed:%s"%vehicle.groundspeed)# settableprint(" Airspeed:%s"%vehicle.airspeed)# settableprint(" Verticalspeed:%s"%vehicle.alt)print(" Alt (MSL):%s"%vehicle.throttle)print(" Throttle:%s"%vehicle.climb)print(" Heading:%s"%vehicle.heading)print(" Battery:%s"%vehicle.battery)print(" Is Armable?:%s"%vehicle.is_armable)print(" System status:%s"%vehicle.system_status.state)print(" Mode:%s"%vehicle.mode.name)# settableprint("====================================================")Output:====================================================
 GPS Status: GPSInfo:fix=6,num_sat=10
 Lat, Lon, Alt: 10.3939486 106.8843985 5.004
 Attitude: Attitude:pitch=-0.00046380647108890116,yaw=-1.9323097467422485,roll=-0.002339589409530163
 Groundspeed: 0.020496351644396782
 Airspeed: 0.0010000000474974513
 Verticalspeed: 17.920000076293945
 Alt (MSL): 0.020496351644396782
 Throttle: -0.005825158208608627
 Heading: 249
 Battery: Battery:voltage=12.587,current=28.16,level=0
 Is Armable?: True
 System status: ACTIVE
 Mode: GUIDED
====================================================LicenseCopyright (c) 3D Robotics and Kirinslab. All rights reserved. Licensed under theApache 2.0 Licenselicense.
Package: kids.ansi
kids.ansiis a Python library providing helpers when writing command
line utilities in python. It’s part of ‘Kids’ (for Keep It Dead Simple)
library, but can be used with no extra dependencies.MaturityThis code is in alpha stage. Some part of it are ongoing reflexions.
What is documented here shouldn’t change much, and is actually working.Featuresusingkids.ansi:Access and insert ANSI escape sequences manualy.Or use theaformatwrapper for full abstraction.Note that it’s very close to whattermcolordoes.Usageaformatkids.ansifeatures aaformatfunction to return a string
ready for print with the ansi character inside:>>> from kids.ansi import aformat

>>> aformat("You", fg="red")
aformat('\x1b[31mYou\x1b[39m')

>>> aformat("Hello You, how are you?", fg="black", bg="blue", attrs=["bold", ])
aformat('\x1b[30m\x1b[44mHello You, how are you?\x1b[39m\x1b[49m')Notice thataformatis somewhat clever>>> you = aformat("You", fg="red")
>>> aformat("Hello, Are " + you + " Well", fg="blue")
aformat('\x1b[34mHello, Are \x1b[31mYou\x1b[34m Well\x1b[39m')Notice how the ending ansi sequence of theyousets back the blue
color and not the default one. So the word “Well” still appears in blue.aformatis clever, but still with some limitation, hitting mainly
string interpolation:>>> aformat("Hello, Are %s Well" % you, fg="blue")
aformat('\x1b[34mHello, Are \x1b[31mYou\x1b[39m Well\x1b[39m')The word “Well” is NOT in blue. This is an issue.Access to ansi sequencesAccess to raw ANSI color sequence can be done via FG, BG, ATTR, and
CTL attritbutes dicts:>>> from kids.ansi import FG, BG, ATTR, CTL

>>> FG.white
'\x1b[37m'
>>> BG.red
'\x1b[41m'
>>> BG.default
'\x1b[49m'
>>> ATTR.bold
'\x1b[1m'
>>> ATTR.unbold
'\x1b[21m'
>>> CTL.reset
'\x1b[0m'As these are dicts, and you don’t remember all the accessible keys, you can
introspect them easily:>>> sorted(ATTR)  ## doctest: +NORMALIZE_WHITESPACE
['blink', 'bold', 'conceal', 'faint', 'italic', 'reverse', 'strike',
 'unblink', 'unbold', 'unconceal', 'underline', 'unfaint', 'unitalic',
 'unreverse', 'unstrike', 'ununderline']You could then:>>> "Hmm " + FG.red + "Hello" + FG.default + " you."
'Hmm \x1b[31mHello\x1b[39m you.'And print it.