Saravanan666/pypi-org huggingface dataset:
Package: climatic
CLImaticCLImaticis tool to ease and automate CLI usage. It abstracts the CLI connection for you and
you just need to send commands and process the returned results.InstallInstall the last stable release from PyPI using pip or easy_install:>pip3installclimaticOr install the latest sources from Github:>pip3install-egit+git://github.com/evedovelli/climatic.git#egg=climaticUsageImport theCLImaticCLI client, open the connection, and run commands. That's all!fromclimatic.cli.LinuximportSshLinuxcmd=SshLinux("127.0.0.1","your.user","your.password")cmd.run("mkdir /tmp/test")cmd.run("ls /tmp/")And what if you need to check the outputs of the commands?That's easy! Well, some basic validations
are already made inside therunmethod. It verifies if the command hangs, or if anderror_markeris outputed.Besides, therunmethod returns you the outputs of the command which you can use
to make any validation you'd like. When used with theexpectslibrary (or with the assertion library of your preference), it becomes a powerfull tool to write
TDD/BDD tests for CLIs. Take a look at this example:fromclimatic.cli.LinuximportSshLinuxfromexpectsimport*cmd=SshLinux("127.0.0.1","your.user","your.password")cmd.run("mkdir /tmp/test")# In an expressive manner, you can test if the cmd run output contains a specific term:expect(cmd.run("ls /tmp/").output).to(contain("test"))cmd.run("rm -r /tmp/test")# Or if it does not contain it:expect(cmd.run("ls /tmp/").output).not_to(contain("test"))# You can also verify the duration of a command run:expect(cmd.run("sleep 2").duration).to(be_below(3))expect(cmd.run("sleep 3").duration).to(be_above(2))Read theexpectsdocs for discovering other matchers or how to build your own.Also, instead ofrunyou can call theclimethod. In this case you pass as argument a
complete CLI session, and the command will parse the commands, execute them, and match the outputs.
Like this:fromclimatic.cli.LinuximportSshLinuxfromexpectsimport*cmd=SshLinux("127.0.0.1","your.user","your.password")# Run the commands line by line and expect for outputs# for the lines without the shell marker:cmd.cli("""~# mkdir /tmp/test~# ls /tmp/test~# rm -rv /tmp/testremoved directory '/tmp/test'""")CLImaticincludes only a few built-in CLI clients, as the Linux client from the example above,
but you will find many other CLI clients extensions. There a list with supported CLI clients inhere.In this example, we are accessing and running commands in a remote python3 CLI through a
SSH connection withCLImatic-Pythonclient:fromclimatic_python.Python3ShellimportSshPython3Shellpython_cmd=SshPython3Shell("127.0.0.1","your.user","your.password")python_cmd.run("""i = 3for x in range(i):print("Iteration{}".format(x))""")List of CLI Clientsclimatic-pythonclimatic-ipinfusion
Package: climaticai
climaticai is an AutoML library which builds, optimizes, and evaluates machine learning pipelines using domain-specific objective functions.Key FunctionalityAutomation- Makes machine learning easier. Avoid training and tuning models by hand. Includes data quality checks, cross-validation and more.Data Checks- Catches and warns of problems with your data and problem setup before modeling.End-to-end- Constructs and optimizes pipelines that include state-of-the-art preprocessing, feature engineering, feature selection, and a variety of modeling techniques.Model Understanding- Provides tools to understand and introspect on models, to learn how they'll behave in your problem domain.Domain-specific- Includes repository of domain-specific objective functions and an interface to define your own.Installfrom PyPIpipinstallclimaticaiAdd-onsUpdate checkerReceive automatic notifications of new climaticai releasespipinstallclimaticai[update_checker]StartLoad and split example dataimportclimaticaiX,y=climaticai.demos.load_breast_cancer()X_train,X_test,y_train,y_test=climaticai.preprocessing.split_data(X,y,problem_type='binary')Run AutoMLfromclimaticai.automlimportAutoMLSearchautoml=AutoMLSearch(X_train=X_train,y_train=y_train,problem_type='binary')automl.search()View pipeline rankingsautoml.rankingsGet best pipeline and predict on new datapipeline=automl.best_pipelinepipeline.predict(X_test)Next StepsRead more about climaticai on ourdocumentation page:Installationandgetting started.Tutorialson how to use climaticai.User guidewhich describes climaticai's features.FullAPI referenceBuilt at Alteryx Innovation Labs
Package: climber
Climb Mt. Wiki…DocumentationThe full documentation is athttps://climber.readthedocs.org.QuickstartInstall climber:pip install climberThen use it in a project:import climberFeaturesTODOComplete summary logic.Guide for the API.Running TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ python runtests.pyCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2016-06-25)First release on PyPI.
Package: climb-onyx-client
onyx-clientSetupInstall via pip$ pip install climb-onyx-clientBuild from sourceDownload and install the client into a Python virtual environment:$ git clone https://github.com/CLIMB-COVID/onyx-client.git
$ cd onyx-client/
$ python -m venv env
$ source env/bin/activate
$ pip install .Check it works:$ onyx
                                                                                             
 Usage: onyx [OPTIONS] COMMAND [ARGS]...                                                     
                                                                                             
 API for pathogen metadata.                                                                  
                                                                                             
╭─ Options ─────────────────────────────────────────────────────────────────────────────────╮
│ --domain    -d      TEXT  Domain name for connecting to Onyx. [env var: ONYX_DOMAIN]      │
│                           [default: None]                                                 │
│ --token     -t      TEXT  Token for authenticating with Onyx. [env var: ONYX_TOKEN]       │
│                           [default: None]                                                 │
│ --username  -u      TEXT  Username for authenticating with Onyx. [env var: ONYX_USERNAME] │
│                           [default: None]                                                 │
│ --password  -p      TEXT  Password for authenticating with Onyx. [env var: ONYX_PASSWORD] │
│                           [default: None]                                                 │
│ --version   -v            Show the client version number and exit.                        │
│ --help      -h            Show this message and exit.                                     │
╰───────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────╮
│ projects       View available projects.                                                   │
│ fields         View the field specification for a project.                                │
│ choices        View options for a choice field.                                           │
│ get            Get a record from a project.                                               │
│ filter         Filter multiple records from a project.                                    │
│ identify       Get the anonymised identifier for a value on a field.                      │
│ profile        View profile information.                                                  │
│ siteusers      View users from the same site.                                             │
│ auth           Authentication commands.                                                   │
│ admin          Admin commands.                                                            │
╰───────────────────────────────────────────────────────────────────────────────────────────╯For more information, check out thedocumentation.
Package: clime
The full version of this documentaion is atclime.mosky.tw.ClimeClime lets you convert any module into a multi-command CLI program with zero
configuration.The main features:It works well with zero configuration. Free you from the configuration hell.Docstring (i.e., help text) is just configuration. When you finish your
docstring, the configuration of aliases and metavars is also finished.It generates usage for each command automatically.It is a better choice than the heavy optparse or argparse for most of the CLI
tasks.CLI-ize ME!Let me show you Clime with an example.We have a simple script with a docstring here:# file: repeat.py

def repeat(message, times=2, count=False):
    '''It repeats the message.

    options:
        -m=<str>, --message=<str>  The description of this option.
        -t=<int>, --times=<int>
        -c, --count
    '''

    s = message * times
    return len(s) if count else sAfter we add this line:import clime.nowOur CLI program is ready!$ python repeat.py twice
twicetwice

$ python repeat.py --times=3 thrice
thricethricethriceIt also generates a pretty usage for this script:$ python repeat.py --help
usage: [-t <int> | --times=<int>] [-c | --count] <message>
   or: repeat [-t <int> | --times=<int>] [-c | --count] <message>If you have a docstring in your function, it also shows up in usage manual with--help.$ python repeat.py repeat --help
usage: [-t <int> | --times=<int>] [-c | --count] <message>
   or: repeat [-t <int> | --times=<int>] [-c | --count] <message>

It repeats the message.

options:
    -m=<str>, --message=<str>  The message.
    -t=<int>, --times=<int>
    -c, --countYou can find more examples in theclime/examples.Commanddescribes more
about how it works.InstallationClime is hosted on two different platforms,PyPIandGitHub.Install from PyPIInstall Clime fromPyPIfor a stable version:$ sudo pip install climeIf you don’t have pip, execute$ sudo apt-get install python-pipto install pip on Debian-base Linux distribution.Get Clime from GitHubIf you want to follow the latest version of Clime, use$ git clone git://github.com/moskytw/clime.gitto clone a Clime repository, or download manually fromGitHub.
Package: clime-badges
CLIME BadgesA tool to create custom badges displaying CLIME metricsTable of ContentsCLIME BadgesTable of ContentsAboutLicensingHow To UseInstallationCommand Line OptionsAboutThe Software Systems Laboratory (SSL) CLIME Badges project is a tool to create custom badges displaying CLIME metrics.LicensingThis project is licensed under the BSD-3-Clause. See theLICENSEfor more information.How To UseInstallationYou can install the tool from PyPi with one of the following one liners:pip install clime-metricspip install clime-badgesCommand Line Optionsclime-badges -husage:CLIMEMetricBadgeCreator[-h][-gGRAPH][-lcLEFT_COLOR][-ltLEFT_TEXT][-uLINK][-oOUTPUT][-rtRIGHT_TEXT][-rc--right-colorRC__RIGHT_COLOR][-v]Atooltocreateabadgefromametric'sgraph

options:-h,--helpshowthishelpmessageandexit-gGRAPH,--graphGRAPHThemetricgraphSVGfiletobeusedasthebadgelogo.DEFAULT:metric.svg-lcLEFT_COLOR,--left-colorLEFT_COLORLeftsidecolor.DEFAULT:maroon-ltLEFT_TEXT,--left-textLEFT_TEXTTexttogoontheleftsideofthebadge.DEAULT:CLIMEMetric-uLINK,--linkLINKLinktoaspecificURLthatwillopenwhenthebadgeisclicked/DEFAULT:None-oOUTPUT,--outputOUTPUTTheoutputfilenameofthebadge.NOTE:Mustendin.svg.DEFAULT:badge.svg-rtRIGHT_TEXT,--right-textRIGHT_TEXTTexttogoontherightsideofthebadge.DEFAULT:None-rc--right-colorRC__RIGHT_COLORRightsidecolor.DEFAULT:gold-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,GeorgeK.Thiruvathukal
Package: clime-bus-factor
CLIME Bus FactorA tool to calculate the bus factor metric of a Git repositoryTable of ContentsCLIME Bus FactorTable of ContentsAboutLicensingHow To UseInstallationCommand Line OptionsAboutThe Software Systems Laboratory (SSL) CLIME Bus Factor project is a tool to calculate the bus factor metric of a Git repository. This tool relies on the output of theCLIME Commits tool.LicensingThis project is licensed under the BSD-3-Clause. See theLICENSEfor more information.How To UseInstallationYou can install the tool viapipwith either of the two following one-liners:pip install --upgrade pip clime-metricspip install --upgrade pip clime-bus-factorCommand Line Optionsclime-git-bus-factor-compute -husage:CLIMEBusFactorCalculator[-h][-iINPUT][-oOUTPUT][-v]AtooltocalculatethebusfactorofaGitrepository

options:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTCommitsJSONfile.DEFAULT:./commits_loc.json-oOUTPUT,--outputOUTPUTOutputJSONfile.DEFAULT:./bus_factor.json-bBIN,--binBINBincontainingthenumberofdaysbetweencomputedbusfactorvalues.DEFAULT:1-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,MatthewHyatt,GeorgeK.Thiruvathukalclime-git-bus-factor-graph -husage:CLIMEBusFactorGrapher[-h][-iINPUT][-oOUTPUT][--typeTYPE][--titleTITLE][--x-labelX_LABEL][--y-labelY_LABEL][--stylesheetSTYLESHEET][-v]Atooltographthebusfactorofarepository

options:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTJSONexportfromclime-git-bus-factor-compute.DEFAULT:./bus_factor.json-oOUTPUT,--outputOUTPUTFilenameofthegraph.DEFAULT:./bus_factor.pdf--typeTYPETypeoffiguretoplot.DEFAULT:line--titleTITLETitleofthefigure.DEFAULT:""--x-labelX_LABELXaxislabelofthefigure.DEFAULT:""--y-labelY_LABELYaxislabelofthefigure.DEFAULT:""--stylesheetSTYLESHEETFilepathofmatplotlibstylesheettouse.DEFAULT:""-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,MatthewHyatt,GeorgeK.Thiruvathukal
Package: clime-commits
CLIME CommitsA tool to extract and compute the lines of code (LOC), thousands of lines of code (KLOC), delta lines of code (DLOC), and delta thousands of lines of code (DKLOC) of a Git repository per commitTable of ContentsCLIME CommitsTable of ContentsAboutDeveloper ToolingOperating SystemPython ToolsShell ToolsHow To UseInstallationCommand Line ArguementsAboutThe Software Systems Laboratory (SSL) GitHub Issue Spoilage Project is apythontool to extract commit information from agitrepository.This project is licensed under the BSD-3-Clause. See theLICENSEfor more information.Developer ToolingTo maximize the utility of this project and the greater SSL Metrics project, the following software packages arerequired:Operating SystemAll tools developed for the greater SSL Metrics projectmust targetMac OS and Linux. SSL Metrics software is not supported or recommended to run on Windowsbut can be modified to do so at your own risk.It is recomendded to develop on Mac OS or Linux. However, if you are on a Windows machine, you can use WSL to develop as well.Python Toolsmatplotlibnumpypandasprogresspython-dateutilscikit-learnShell ToolsYou will need the following shell software to run this application:gitclocSLOCCount(optional)jqHow To UseInstallationYou can install the tool viapipwith either of the two following one-liners:pip install --upgrade pip ssl-metrics-metapip install --upgrade pip ssl-metrics-git-commits-locCommand Line Arguementsssl-metrics-git-commits-loc-extract -hoptions:-h,--helpshowthishelpmessageandexit-dDIRECTORY,--directoryDIRECTORYDirectorycontaingthe.gitfolderoftherepositorytoanalyze-bBRANCH,--branchBRANCHBranchoftheGitrepositorytoanalyze.DEFAULT:HEAD-oOUTPUT,--outputOUTPUTJSONfiletostorethedata.DEFAULT:./commits_loc.json--clocCLOCTXTfilecontainingclocoptions.DEFAULT:options.txt.NOTE:Thisisaninternaloptionsfileusedbytheprogramanddoesn'tneedtobespecified/createdbyyoutheuser(you)ssl-metrics-git-commits-loc-graph -hoptions:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTJSONexportfromCLIMEGitCommitExploder.DEFAULT:./commits_loc.json-oOUTPUT,--outputOUTPUTFilenameofthegraph.DEFAULT:./commits_loc.pdf-xXKeyofthexvaluestouseforgraphing.DEFAULT:author_days_since_0-yYKeyoftheyvaluestouseforgraphing.DEFAULT:lines_of_code--typeTYPETypeoffiguretoplot.DEFAULT:line--titleTITLETitleofthefigure.DEFAULT:""--x-labelX_LABELXaxislabelofthefigure.DEFAULT:""--y-labelY_LABELYaxislabelofthefigure.DEFAULT:""--stylesheetSTYLESHEETFilepathofmatplotlibstylesheettouse.DEFAULT:style.mplstyle.NOTE:Thisisaninternalstylesheetusedbytheprogramanddoesn'tneedtobespecified/createdbyyoutheuser(you)
Package: clime-github-repository-searcher
CLIME GitHub Repository SearcherA utility to perform advanced searching on GitHub using both the REST and GraphQL APIsTable of ContentsCLIME GitHub Repository SearcherTable of ContentsAboutLicensingHow To UseInstallationCommand Line ArguementsAboutThe Software Systems Laboratory (SSL) GitHub Repository Searcher is an installable Python project that utilizes both the GitHub REST and GraphQL APIs to allow for the advanced searching of repositories hosted on GitHub.LicensingThis project is licensed under the BSD-3-Clause. See theLICENSEfor more information.How To UseInstallationYou can install the tool from PyPi with one of the following one liners:pip install clime-metricspip install clime-github-repository-searcherCommand Line Arguementsclime-github-repository-searcher -husage:CLIMEGitHubRepositorySearcher[-h][-rREPOSITORY][--topicTOPIC]-oOUTPUT-tTOKEN[--min-starsMIN_STARS][--max-starsMAX_STARS][--min-commitsMIN_COMMITS][--max-commitsMAX_COMMITS][--min-issuesMIN_ISSUES][--max-issuesMAX_ISSUES][--min-pull-requestsMIN_PULL_REQUESTS][--max-pull-requestsMAX_PULL_REQUESTS][--min-forksMIN_FORKS][--max-forksMAX_FORKS][--min-watchersMIN_WATCHERS][--max-watchersMAX_WATCHERS][--min-created-dateMIN_CREATED_DATE][--max-created-dateMAX_CREATED_DATE][--min-pushed-dateMIN_PUSHED_DATE][--max-pushed-dateMAX_PUSHED_DATE][-v]AutilitytoperformadvancedsearchingonGitHubusingboththeRESTand
GraphQLAPIs

options:-h,--helpshowthishelpmessageandexit-rREPOSITORY,--repositoryREPOSITORYAspecificrepositorytobeanalyzed.MustbeinformatOWNER/REPO--topicTOPICTopictoscrape(upto)thetop1000repositoriesfrom-oOUTPUT,--outputOUTPUTJSONfiletodumpdatato-tTOKEN,--tokenTOKENGitHubpersonalaccesstoken--min-starsMIN_STARSMinimumnumberofstarsarepositorymusthave--max-starsMAX_STARSMaximumnumberofstarsarepositorymusthave--min-commitsMIN_COMMITSMinimumnumberofcommitsarepositorymusthave--max-commitsMAX_COMMITSMaximumnumberofcommitsarepositorymusthave--min-issuesMIN_ISSUESMinimumnumberofissuesarepositorymusthave--max-issuesMAX_ISSUESMaximumnumberofissuesarepositorymusthave--min-pull-requestsMIN_PULL_REQUESTSMinimumnumberofpullrequestsarepositorymusthave--max-pull-requestsMAX_PULL_REQUESTSMaximumnumberofpullrequestsarepositorymusthave--min-forksMIN_FORKSMinimumnumberofforksarepositorymusthave--max-forksMAX_FORKSMaximumnumberofforksarepositorymusthave--min-watchersMIN_WATCHERSMinimumnumberofwatchersarepositorymusthave--max-watchersMAX_WATCHERSMaximumnumberofwatchersarepositorymusthave--min-created-dateMIN_CREATED_DATEMinimumdateofcreationarepositorymusthave--max-created-dateMAX_CREATED_DATEMaximumdateofcreationarepositorymusthave--min-pushed-dateMIN_PUSHED_DATEMinimumdateofthelatestpusharepositorymusthave--max-pushed-dateMAX_PUSHED_DATEMaximumdateofthelatestpusharepositorymusthave-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,MatthewHyatt,GeorgeK.Thiruvathukal
Package: clime-issue-density
CLIME Issue DensityA tool to calculate the issue density of a Git repository by analyzing the issues of a project in it's issue trackerTable of ContentsCLIME Issue DensityTable of ContentsAboutLicensingHow To UseInstallationCommand Line ArguementsAboutThe Software Systems Laboratory (SSL) GitHub Issue Density Project is apythontool to calculate the issue density of a GitHub repository. It is reliant upon the output of theGitHub IssueandGit Commitstools.LicensingThis project is licensed under the BSD-3-Clause. See theLICENSEfor more information.How To UseInstallationYou can install the tool viapipwith either of the two following one-liners:pip install --upgrade pip clime-metricspip install --upgrade pip clime-issue-densityCommand Line Arguementsclime-issue-density-compute -husage:CLIMEIssueDensity[-h][-cCOMMITS][-iISSUES][-oOUTPUT][-v]Atooltocalculatetheissuedensityofarepository

options:-h,--helpshowthishelpmessageandexit-cCOMMITS,--commitsCOMMITSCommitsJSONfile.DEFAULT:./commits_loc.json-iISSUES,--issuesISSUESIssuesJSONfile.DEFAULT:./github_issues.json-oOUTPUT,--outputOUTPUTOutputJSONfile.DEFAULT:./issue_density.json-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,MatthewHyatt,SohiniThota,GeorgeK.
Thiruvathukalclime-issue-density-graph -husage:CLIMEIssueDensityGrapher[-h][-iINPUT][-oOUTPUT][--typeTYPE][--titleTITLE][--x-labelX_LABEL][--y-labelY_LABEL][--stylesheetSTYLESHEET][-v]Atooltographtheissuedensityofarepository

options:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTJSONexportfromCLIMEGitHubIssueDensityCompute.DEFAULT:./issue_density.json-oOUTPUT,--outputOUTPUTFilenameofthegraph.DEFAULT:./issue_density.pdf--typeTYPETypeoffiguretoplot.DEFAULT:line--titleTITLETitleofthefigure.DEFAULT:""--x-labelX_LABELXaxislabelofthefigure.DEFAULT:""--y-labelY_LABELYaxislabelofthefigure.DEFAULT:""--stylesheetSTYLESHEETFilepathofmatplotlibstylesheettouse.DEFAULT:""-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,MatthewHyatt,SohiniThota,GeorgeK.
Thiruvathukal
Package: clime-issue-spoilage
CLIME Issue SpoilageA tool to calculate the issue spoilage of a repository using the issues reported in its issue trackerTable of ContentsCLIME Issue SpoilageTable of ContentsAboutLicensingHow To UseInstallationCommand Line OptionsAboutThe Software Systems Laboratory (SSL) GitHub Issue Spoilage Project is apythontool to calculate the issue spoilage of a GitHub repository. It is reliant upon the output of theGitHub Issuetool.LicensingThis project is licensed under the BSD-3-Clause. See theLICENSEfor more information.How To UseInstallationYou can install the tool viapipwith either of the two following one-liners:pip install --upgrade pip clime-metricspip install --upgrade pip clime-issue-spoilageCommand Line Optionsclime-issue-spoilage-compute -husage:CLIMEIssueSpoilageCalculator[-h][-iINPUT][-oOUTPUT][-v]Atooltocalculatetheissuespoilageofarepository

options:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTIssuesJSONfile.DEFAULT:./github_issues.json-oOUTPUT,--outputOUTPUTOutputJSONfile.DEFAULT:./issue_spoilage.json-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,RohanSethi,JacobPalmer,GeorgeK.
Thiruvathukalclime-issue-spoilage-graph -husage:CLIMEIssueSpoilageGrapher[-h][-iINPUT][-oOUTPUT][--typeTYPE][--titleTITLE][--x-labelX_LABEL][--y-labelY_LABEL][--stylesheetSTYLESHEET][-v]Atooltographtheissuespoilageofarepository

options:-h,--helpshowthishelpmessageandexit-iINPUT,--inputINPUTJSONexportfromCLIMEGitHubBusFactorCompute.DEFAULT:./issue_spoilage.json-oOUTPUT,--outputOUTPUTFilenameofthegraph.DEFAULT:./issue_spoilage.pdf--typeTYPETypeoffiguretoplot.DEFAULT:line--titleTITLETitleofthefigure.DEFAULT:""--x-labelX_LABELXaxislabelofthefigure.DEFAULT:""--y-labelY_LABELYaxislabelofthefigure.DEFAULT:""--stylesheetSTYLESHEETFilepathofmatplotlibstylesheettouse.DEFAULT:""-v,--versionDisplayversionofthetool

Author(s):NicholasM.Synovic,RohanSethi,JacobPalmer,GeorgeK.
Thiruvathukal