Saravanan666/pypi-org huggingface dataset:
Package: checkey-sklearn
# 使用说明自己平时会使用的一些统计学和数学模型,目前有两个改进的朴素贝叶斯算法和一个TOPSISGitHub: [https://github.com/CheckeyZerone/Checkey-Sklearn](https://github.com/CheckeyZerone/Checkey-Sklearn)PyPI: [https://pypi.org/project/checkey-sklearn/](https://pypi.org/project/checkey-sklearn/)## 版权声明Checkey-Sklearn
Copyright (C) 2023  CheckeyZeroneThis program 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, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.## 安装方法`commandline pip install chlearn `## 依赖的第三方模块包` numpy pandasscikit-learn`## 实现算法朴素贝叶斯改进熵权-TOPSIS模型## 使用方法`python model =Model(*params)model.fit(x_train[, y_train, params]) model.predict(x_test)  # or model.transform(x_test) `
Package: check_filemaker
Nagios plugin written in python to monitor Filemaker services.I’ve testing against Filemaker12 and Filemaker13If you encounter any problems with check_filemaker, need help understanding it, or would
like to offer suggestions or feedback, please get in touch with me:Report issues athttps://github.com/basictheprogram/check_filemaker/issues2015-08-21  Robert J. Tanner  <tanner@real-time.com>Closes Issue #3
Closes Issue #4
Move to github2012-09-02  Robert J. Tanner  <tanner@real-time.com>First iteration of setup.py and associated files2012-08-31  Robert J. Tanner  <tanner@real-time.com>Initial import
Package: check-filter
Check FilteringCheck URLs that filtered ( or not ) in IranRequirementsPython 3.10+Installpipinstallcheck-filterYou can also download wheel package fromreleasepage.UsageYou can use this package in three ways:Single domaincheck-filterdomaingithub.comMultiple domainscheck-filterdomainsgithub.com,google.comFrom a fileCreate a file from your website URLs. Put each URL in a new line.github.com
arash-hatami.ir
facebook.com
gitlab.com
google.com
pornhub.com
pypi.org
twitter.com
gsm.ir
xnxx.com
cloudflare.com
stackoverflow.comThen run the following command:check-filterfilelistSupport 💛Contributing 🤝Don't be shy and reach out to us if you want to contribute 😉Fork it!Create your feature branch:git checkout -b my-new-featureCommit your changes:git commit -am 'Add some feature'Push to the branch:git push origin my-new-featureSubmit a pull requestIssuesEach project may have many problems. Contributing to the better development of this project by reporting them. 👍
Package: checkforai
Checkfor.ai PythonInstallationpip install checkforaiAdd your API keyEither export it as a variable.export CHECKFORAI_API_KEY=<your API key>Or pass it in to the constructor:my_api_key = ''  # Fill this in with your API key.
classifier = TextClassifier(api_key=my_api_key)Make a requestfrom checkforai import TextClassifier

classifier = TextClassifier()
result = classifier.predict(text)
# Score in range [0, 1] where 0 is human-written and 1 is AI-generated.
score = result['ai_likelihood']Make a batch requestfrom checkforai import TextClassifier

text_batch = ["abc", "def"]

classifier = TextClassifier()
results = classifier.batch_predict(text_batch)
for result in results:
    text = result['text']
    score = result['ai_likelihood']Questions? Email me atmax@checkfor.ai!
Package: checkfort
CheckFort is a wrapper forForcheck, a static analyser for Fortran.
CheckFort aims to simplify the launching of forcheck and reformats its
output into a format which we believe to be easier to navigate.Dependencies:A valid installation of FORCHECK (version >=14.2)Python >=2.6pygments >=1.4chardetjinja2pexpectUsage:To use CheckFort, you need a validForcheckinstallation. The following
environment variables must be set:FCKDIR : Forcheck installation directoryFCKPWD : Path to Forcheck license fileYou can then run:cfort [options] files/dirs…Runcfort –helpfor more options.Disclaimer:CheckFort is developed independently from Forcheck and is neither endorsed
nor supported by its provider.License:This software is licensed under the OSI-approved “3-clause BSD License”.
See the included LICENSE.txt file.
Package: checkgen
checkprintPrint checks on 3 checks per page in bulk.Sample usagefromdatetimeimportdatetimefromcheckgen.modelsimportIssuer,Bankfromcheckgen.printerimportPrinterissuer=Issuer('Samantha Johnson','123 Main Street',Bank('Lakeside National Bank','123456789'),'98765432101')printer=Printer(issuer)printer.distribute_payment('John Smith',3000,1200,datetime(2025,1,1),memo='Not a real check')checks,_=printer.print()withopen('checks.pdf','wb')asf:checks.to_file(f)CreditsInspired and adapted fromhttps://github.com/veterinarian/checkprint/
Package: check-gitlab-scheduler
Check Gitlab SchedulerThis script can check Gitlab Scheduled Pipelines and its jobs for errors.
Additionally it can check if the pipeline and jobs are stuck in pending state (with --pending-timeout).
It can also check if a Pipeline's last execution happened longer than a specified amount of time (--last-run).usage: Check Gitlab Scheduler [-h] [-u GITLAB_URL] [-p PROJECT_ID] [-s SCHEDULER_ID] [-t TOKEN] [-o PENDING_TIMEOUT] [-l LAST_RUN]

options:
  -h, --help            show this help message and exit
  -u GITLAB_URL, --gitlab_url GITLAB_URL
  -p PROJECT_ID, --projectid PROJECT_ID
  -s SCHEDULER_ID, --schedulerid SCHEDULER_ID
  -t TOKEN, --token TOKEN
  -o PENDING_TIMEOUT, --pending-timeout PENDING_TIMEOUT
                        check the pipeline itself and the jobs in the pipeline if they are in pending for pending_timeout seconds
  -l LAST_RUN, --last-run LAST_RUN
                        check if the last pipeline was ran for more then last_run secondsLicenseCopyright 2023 Telekom MMS GmbHThis code is licensed under GPLv3.AuthorsChristopher GrauSebastian GumprichJulian Mühmelt
Package: check-git-repos
check_git_reposA simple utility script to check git repos contained underneath a given directory, reporting if any of the repos contain changes that
need to be upstreamed.Usageusage:check_git_repos[-h][--include-hidden][path]Checkthestatusofgitrepositoriesinadirectory

positionalarguments:pathifgiven,thedirectorytostartlookingfrom,otherwisethedirectorywillbeused

optionalarguments:-h,--helpshowthishelpmessageandexit--include-hiddenwhethertolookinhiddendirectoriesChecked issues:Repo level issues:untracked_filesthe repo has files which aren't trackeddirty_filesthe repo has dirty files which need to be committedBranch level issues:The reporting format isbranch_issues: [branch] ([issue])missing_upstreama branch exists that has no upstreamunpushed_changesa branch has commits that don't exist upstreamDevelopmentThe project is built usingpoetry, and has a makefile for development:clean: clean up build artifactsdevelop: install the project to a virtual environmentformat: format files using blackpublish: publish the project to pypi (given you have credentials)Oncemake developis run, you can run the development version withpoetry run check_git_repos
Package: check-glue-catalog
Check Glue CatalogGet Glue catalog details to check if tables are outdated.pipinstallcheck-glue-catalogfromcheck_glue_catalogimportget_tablesresult=get_tables(catalog_name="glue_database_name")print(result){"outdated":3,"updated":23,"total":26,"outdated_list":[{"table_name":"table_name_1","due_days":2,"rows":7,"last_updated":"2020-03-10 05:43:37"},{"table_name":"other_table","due_days":76,"rows":5,"last_updated":"2019-12-27 11:08:13"},{"table_name":"some_table","due_days":97,"rows":5,"last_updated":"2019-12-06 16:22:52"}]}
Package: check-graph
Check GraphYou can use this package for recognition of various graph classes.We made python library for graph classes recognition algorithm which takes directed or undirected graph as input and provides recognition of particular graph which mentioned earlier in terms of true or false.Click hereto view this project on pypi.orgInstallationpip install check-graphUsageUse Run function for taking input and calling every methods:import check_graph as cg
cg.run()For custom run, you have to create a graph using check_graph library:import check_graph as cg
    graph = cg.Graph()And then you can set numbers of nodes and edges as you want::graph.setNodes(5)
    graph.setEdges(4)You can add Edge between two nodes using below method::graph.addEdge(1,2)
    graph.addEdge(2,3)
    graph.addEdge(3,4)
    graph.addEdge(4,5)MethodsYou can use below methods for recognition of various Graph classes.Return types of following methods are True/False:graph.isSimpleGraph()
      graph.isMultiGraph()
      graph.isEdgeLessGraph()
      graph.isCubicGraph()
      graph.isBipartedGraph()
      graph.isCycleGraph()
      graph.isWheelGraph()
      graph.isStarGraph()
      graph.isCompleteGraph()
      graph.isCyclicGraph()
      graph.isConnectedGraph()
      graph.isStronglyConnectedGraph()
      graph.isTreeGraph()
      graph.isForestGraph()
      graph.isRooksGraph()
      graph.isCompleteBipartedGraph()
      graph.isThresholdGraph()
      graph.isPlanarGraph()
      graph.isMultiPartiteGraph()
      graph.isCompleteMultiPartitieGraph()
      graph.isPaleyGraph()
      graph.isCubeGraph()
      graph.isHararyGraph()
      graph.isKneserGraph()
      graph.isJohnsonGraph()
      graph.isHammingGraph()
      graph.isChordalGraph()
      graph.isMooreGraph()
      graph.isLineGraph()
      graph.isSplitGraph()
      graph.isColorCriticalGraph()Return type of following method is Integer(If it is Regular Graph then it will return Degree,otherwise it will return -1):graph.isRegularGraph(True)   # If argument is True then it will print details otherwise not.Return type of following method is Triplet(If it is Strongly Regular Graph then it will return Degree,Lemmda and MU otherwise             it will return -1):graph.isStronglyRegularGraph(True)   # If argument is True then it will print details otherwise not.Return type of following method is list of Maximal Clique:cliques = graph.getCliques()Return type of following method is integer which is chromatic number of graph:ch = graph.getChromaticNumber()Return type of following method is list of color of every node:colors = graph.getColors()AuthorsYatin PatelMilan DungaraniPratik RajaniLicenseThis project is licensed under the MIT License - see theLICENSEfile for detailsThanks ❤
Package: check_gunicorn
This is a plugin that works between ElasticSearch and Nagios. This plugin takes status report from ElasticSearch and puts it into Nagios. This plugin is specifically for Gunicorn working with statsd. Statsd takes data from Gunicorn and posts it into ElasticSearch. Then this plugin takes required data from the elasticsearch and transforms it for nagios. It tells Nagios states of workers working in Gunicorn, request rate that Gunicorn is facing, request ruration that Gunicorn is taking.The file gets installed at ‘/usr/local/bin’Inputs types to Plugin:Case Type(-t)               InputAverage Workers            “Avgworkers”
Maximum Workers            “Maxworkers”
Minimum Workers            “Minworkers”
Average Request Rate       “Avgrequestrate”
Maximum Request Rate       “Maxrequestrate”
Minimum Request Rate       “Minrequestrate”
Average Request Duration   “Avgrequestduration”
Maximum Request Duration   “Maxrequestduration”
Minimum Request Duration   “Minrequestduration”Set Time Range (-st):
For now, Time Range is between (-st):currentsystemtime; where user can set -st to any number of minutes user wants to keep track of. By default -st is set to 5 minutes.Warning Range (-w):
Warning Range can be set by user in terms of range. Syntax is ‘a:b’, a is lower bound of range, b is upper bound of range.Critical Range (-c):
Critical Range can be set by user in terms of range. Syntax is ‘a:b’, a is lower bound of range, b is upper bound of range.NOTE: by default, application will show result of Maximum Workers in last 5 minutes.
Package: checkidcreator
Use this library to create an id of any length with a check digit in it. The id will be returned as a string.Developed by Pratham Aggarwal.CHANGE LOGVersion 0.0.1 (13 August 2020)
- First ReleaseVersion 0.0.2 (13 August 2020)
- Bug FixesVersion 0.0.3 (17 August 2020)
- Added custom modulo parameter
Package: check-if-nan
Checks for all kinds of nan/None values without raising Exceptions all the timefromcheck_if_nanimportis_nan,sort_nan_non_nanimportnumpyasnpimportpandasaspdimportmatha=Noneb=pd.NAc=np.nand=math.nane=float("nan")f=[]g=np.array([])h=dict()i=tuple()j=set()k=""l="NaN"m=b""n=bytearray()print("a",is_nan(a))print("b",is_nan(b))print("c",is_nan(c))print("d",is_nan(d))print("e",is_nan(e))print("f",is_nan(f))print("g",is_nan(g))print("h",is_nan(h))print("i",is_nan(i))print("j",is_nan(j))print("k",is_nan(k))print("l",is_nan(l))print("m",is_nan(m))print("n",is_nan(n))print("f",is_nan(f,emptyiters=True))print("g",is_nan(g,emptyiters=True))print("h",is_nan(h,emptyiters=True))print("i",is_nan(i,emptyiters=True))print("j",is_nan(j,emptyiters=True))print("k",is_nan(k,emptystrings=True))print("l",is_nan(l,nastrings=True))print("m",is_nan(m,emptybytes=True))print("n",is_nan(n,emptyiters=True))aTruebTruecTruedTrueeTruefFalsegFalsehFalseiFalsejFalsekFalselFalsemFalsenFalsefTruegTruehTrueiTruejTruekTruelTruemTruenTruesor=sort_nan_non_nan(seq=[a,b,c,d,e,f,g,h,i,j,k,l,m,n],emptyiters=False,nastrings=False,emptystrings=False,emptybytes=False,)print(sor)# defaultdict(<class 'list'>, {True: [(0, None), (1, <NA>), (2, nan),# (3, nan), (4, nan)], False: [(5, []), (6, array([], dtype=float64)),# (7, {}), (8, ()), (9, set()), (10, ''), (11, 'NaN'), (12, b''),# (13, bytearray(b''))]})sor=sort_nan_non_nan(seq=[a,b,c,d,e,f,g,h,i,j,k,l,m,n],emptyiters=True,nastrings=False,emptystrings=False,emptybytes=False,)print(sor)# defaultdict(<class 'list'>, {True: [(0, None), (1, <NA>), (2, nan),# (3, nan), (4, nan), (5, []), (6, array([], dtype=float64)),# (7, {}), (8, ()), (9, set()), (13, bytearray(b''))],# False: [(10, ''), (11, 'NaN'), (12, b'')]})sor=sort_nan_non_nan(seq=[a,b,c,d,e,f,g,h,i,j,k,l,m,n],emptyiters=True,nastrings=False,emptystrings=True,emptybytes=True,)print(sor)# defaultdict(<class 'list'>, {True: [(0, None), (1, <NA>), (2, nan), (3, nan),# (4, nan), (5, []), (6, array([], dtype=float64)), (7, {}), (8, ()),# (9, set()), (10, ''), (12, b''), (13, bytearray(b''))], False: [(11, 'NaN')]})sor=sort_nan_non_nan(seq=[a,b,c,d,e,f,g,h,i,j,k,l,m,n],emptyiters=True,nastrings=True,emptystrings=True,emptybytes=True,)print(sor)# defaultdict(<class 'list'>, {True: [(0, None), (1, <NA>), (2, nan),# (3, nan), (4, nan), (5, []), (6, array([], dtype=float64)), (7, {}),# (8, ()), (9, set()), (10, ''), (11, 'NaN'), (12, b''), (13, bytearray(b''))]})
Package: checkifvalid
What is this?Syntax validator compliant to RFC specifications forEmailHostnameURLURIIPv4 and IPv6Mac addressInstallationThis module can be installed frompypiwebsitepipinstallcheckifvalidChecking IPv4 or IPv6 syntaximportcheckifvalidcheckifvalid.ipv6_address("::1")Truecheckifvalid.ipv4_address("127.0.0.1")Truecheckifvalid.ipv4_address("127.0.0.257")FalseChecking URL syntaximportcheckifvalidcheckifvalid.url("https://www.google.com")TrueOther syntax validatorimportcheckifvalidcheckifvalid.email("john.doe@example.com")Truecheckifvalid.uri("sip:support@john.doe:443",)Truecheckifvalid.mac_address("00:11:22:33:44:55")Truecheckifvalid.hostname("john@doe")FalseFor developpersRun test unitspython3-munittestdiscovertests/-v
Package: checkify
CheckifyCheckify is a Python package that utilizes the power of the GPT API to provide comprehensive code analysis and assistance. It helps you identify errors in code, explains the code logic, and offers valuable suggestions for improvement.InstallationTo get started with Checkify, make sure you have Python installed. Then, you can install Checkify usingpip:pipinstallcheckifyUsageBefore using Checkify, you need to obtain an API key from OpenAI. Follow the instructions on the OpenAI website to get your API key.Once you have your API key, you can start using Checkify in your Python code. Import thecheck_codefunction from thecode_checkermodule:fromcheckify.code_checkerimportcheck_code# Prompt the user to enter their OpenAI API keyapi_key=input("Please enter your OpenAI API key: ")# Set the API key for Checkifycheck_code.set_api_key(api_key)# Write your code to be checkedcode="""def greet(name):print("Hello, " + name)greet("John")"""# Call the check_code function to analyze and explain the codeexplanation=check_code(code)print(explanation)Make sure to replaceYOUR_API_KEYwith your actual OpenAI API key.By using Checkify, you can improve your code quality, catch potential errors, and gain a deeper understanding of your code logic.Please note that Checkify is a powerful tool, and it relies on the OpenAI GPT API for code analysis. Ensure that you have an active OpenAI subscription and sufficient API credits to use Checkify effectively. For more details on OpenAI API pricing and usage, visit the OpenAI website.We hope you find Checkify helpful in your coding journey! Happy coding and stay creative!
Package: check-in
check-inIt’s a CLI tool for sending external commit examination info to GitHub
using Checks API on behalf of a GitHub App (bot context).DefaultsYou can specify some default CLI option values via env vars. The tool also
supports dotenv concept. See example in.env.example.Missing partscheck-indoes some inputs validation, but it’s not perfect. For example,
datetime args are strings accepted as is. This is likely to change in future,
but don’t rely on it now.
Package: checking-smtp-starttls
Checking SMTP STARTTLSCheck available TLS version and auth setting with SMTP STARTTLSFree software: GNU General Public License v3Documentation:https://checking-smtp-starttls.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-04-02)First release on PyPI.
Package: check-ip
check-ipCheck your public IP address and update DNS records on Cloudflare.Installationcheck-ip can be installed with pip:python-mpipinstallcheck-ipUsagecheck-ipconfig.yamlThe config file should take the following form:---email:user@example.comapi_key:<your Cloudflare API key>zone:example.comrecords:-www-serverThis will update the A recordswww.example.comandserver.example.comto point to your current public IP address.check-ip will not output anything if it does not need to update any records.
To see a message for records which match the current public IP address, use the-vor--verboseflag:$check-ip-vconfig.yaml
PublicIPmatcheswww.example.com(12.34.567.89)
Package: check-iso8601-version-string
check-iso8601-version-stringA tool (and pre-commit hook) to check that ISO 8601 version strings are valid, and set to today's date.Installationpython -m pip install check-iso8601-version-stringAs a pre-commit hookSeepre-commitfor instructions.Sample.pre-commit-config.yaml:repos:-repo:https://github.com/simonrob/check-iso8601-version-stringrev:v2023-12-20hooks:-id:check-iso8601-version-string
Package: checkit
Checkit is a tool for validating executable specifications
created with BDD style grammar. It aims to:Enable you to define BDD style specifications in python code.Provide a simple tool for validating your specifications.To this end, checkit usesnoseto enable you to create specs with keywords like “Describe”, “it” and “should”.
It also provides a “checkit” command that seemlessly integrates with nose
(specifically the nosetests command) to validate your software against the specs
you created.Featuresencourages “specification by example” by promoting the use of appropriate grammaruses customizable options to make nose discover and run your specsRequirementsnoseThe requirements for using checkit are auto-installed if you
use pip or easy_install.InstallationThe easiest way to install checkit is withpip install checkitor witheasy_install checkit. Alternatively, you maydownloadthe
source package from PyPI, extract it and install it usingpython setup.py install.What you getWhen you install the package, the only tangible thing you get is the
“checkit” command. It uses nose to discover and execute specifications
using flexible matching rules so that you are not limited to using distracting
unittest (test focused) constructs like “def test…” or name your files
“test…py”.The other non-tangible benefit you get is that you no longer have to
subject yourself to the unnecessary cruft needed for unittest
test cases. You can now create a spec like this:> cat coolthingy_specs.py
class DescribeCoolThingy(object):

    def it_is_cool(self):
        pass

    def it_should_not_heat_up(self):
        passOr even:> cat awesomedude_specs.py
class AwesomeDudeSpecs():

    def should_smile_often(self):
        passFinally, when you want to validate your software against the specs,
simply run the command “checkit” in your project directory like so:> checkit
...
----------------------------------------------------------------------
Ran 3 tests in 0.006s

OKSincecheckitis merely a wrapper aroundnose, it accepts all the parameters thatnosetipically takes. For more information, run:> checkit --helpFeedbackI welcome any questions or feedback about bugs and suggestions on how to
improve checkit. Let me know what you think about checkit. I am on twitter@RudyLattae. I appreciate constructive
criticsms or high fives :)Do you have suggestions for improvement? Then please create anissuewith details
of what you would like to see. I’ll take a look at it and work with you to either kill
the idea or implement it.Changelog0.3.2b (Oct 20, 2011)Add support for “given” to provide context for extra narrow tech specs.0.3.1b (Oct 17, 2011)Remove support for “examples” and “features” - focus on specs.0.2.3b (Oct 17, 2011)Refactor options passed to nose in prep to make them configurableAdd feature definition exampleAdd tox config to test against py2.5-2.70.1.0a (Jan 24, 2011)First public release“checkit” command to validate specs
Package: checkjpy2hkd
checkjpy2hkdCheck the latest JPY to HKD exchange ratesInstallationYou can install the JPY to HKD Exchange Rate Checker fromPyPI:python -m pip install checkjpy2hkdHow to useThe JPY to HKD Exchange Rate Checker is a command line application, namedcheckjpy2hkd.You can also call the JPY to HKD Exchange Rate Checker in your own Python code, by importing from thereaderpackage:>>> from checkjpy2hkd import xxx
>>> xxx()
Package: check-jsonschema
check-jsonschemaA JSON Schema CLI andpre-commithook built onjsonschema.
The schema may be specified as a local or remote (HTTP or HTTPS) file.Remote files are automatically downloaded and cached if possible.Usagecheck-jsonschemacan be installed and run as a CLI tool, or via pre-commit.Example pre-commit configThe following configuration usescheck-jsonschemato validate Github Workflow
files.-repo:https://github.com/python-jsonschema/check-jsonschemarev:0.28.0hooks:-id:check-github-workflowsargs:["--verbose"]Installing and Running as a CLI ToolInstall withpipxorbrew:pipx install check-jsonschemaorbrew install check-jsonschemaThen run, as incheck-jsonschema --schemafile schema.json instance.jsonDocumentationFull documentation can be found athttps://check-jsonschema.readthedocs.io/
Package: check-keepass-passwords
check-keepass-passwordscheck-keepass-passwordsis a command-line tool that scans Keepass 2.x databases for weak or compromised passwords.Quick NavigationInstallationUsageBackgroundLicenseInstallationRequires Python version 3.9 or higher and pip.pipinstallcheck-keepass-passwordsUsagecheck-keepass-passwords/path/to/database.kdbxBackgroundThe compromise check is powered byhttps://github.com/lionheart/pwnedpasswords. For implementation
details and security notes, refer to their repository.Password scoring is powered byzxcvbn, which rates passwords on a scale
from 0 to 4. By default,check-keepass-passwordsconsiders a score of 2 to be sufficiently safe. You can customize
this threshold using the--min-scoreparameter.Licensecheck-keepass-passwordsis distributed under the terms of the MIT License.