Saravanan666/pypi-org huggingface dataset:
Package: check-system
Check systemSmall cli tool that check system environment markers according to PEP 508 and
exits with an error if it is not.It is meant to be used to abort scripts that are run on the "wrong" system,
e.g., a compilation of requirements (with pip-compile) run on a different
architecture than the intended use of the requirement file.The whole library is just one filecheck_system.py.Usage$check-system--help
usage:check-system[-h][--os-nameOS_NAME][--sys-platformSYS_PLATFORM][--platform-machinePLATFORM_MACHINE][--platform-python-implementationPLATFORM_PYTHON_IMPLEMENTATION][--platform-releasePLATFORM_RELEASE][--platform-systemPLATFORM_SYSTEM][--platform-versionPLATFORM_VERSION][--python-versionPYTHON_VERSION][--python-full-versionPYTHON_FULL_VERSION][--implementation-nameIMPLEMENTATION_NAME][--implementation-versionIMPLEMENTATION_VERSION]options:-h,--helpshowthishelpmessageandexit--os-nameOS_NAME--sys-platformSYS_PLATFORM--platform-machinePLATFORM_MACHINE--platform-python-implementationPLATFORM_PYTHON_IMPLEMENTATION--platform-releasePLATFORM_RELEASE--platform-systemPLATFORM_SYSTEM--platform-versionPLATFORM_VERSION--python-versionPYTHON_VERSION--python-full-versionPYTHON_FULL_VERSION--implementation-nameIMPLEMENTATION_NAME--implementation-versionIMPLEMENTATION_VERSIONExampleRun on a Linux laptop$check-system--sys-platformlinux
$echo$?# prints last exit code0$check-system--sys-platformwindows
Checkfailed:sys_platformwaslinux.Checkedagainst:windows
$echo$?1
Package: check-talend-job
Introduction============A nagios-like plugin to check if talend jobs executed successfullyConfiguration=============On the first run, it will ask you for basic configuration.- `basePath` is where each job will put his folder containing the logs(if a job log is in `/var/log/talend/job/timestamp.log`, the basePath is `/var/log/talend/`)- `endingString` is the string the script will look for too check if a job executed successfully, if the string is in the last line of file, then it's OK, CRITICAL otherwise. It will should be something like `;END\n`To change configuration go to the script install directory and open the config.ini file.Changelog=========0.1-dev (unreleased)------------------------- Elio Maisonneuve <maisonneuv@eisti.eu>Contributors==============Elio Maisonneuve, Author
Package: checkTAPSpackages
checkTAPSpackagesGets all packages used in a LaTeX document and checks they are in thelist of packages allowed by TAPSTested on macOS, should work on Linux, could work on Windows.Install usingpip install -U checkTAPSpackagesCompile your document by adding\listfilesbelow\documentclassRuncheckTAPSpackages yourGeneratedLogFile.logUse--alloption to show all packages used.Use--expandto expand the list of subpackages, which produces something like the following:colortbl.sty         => NOT SUPPORTED
eurosym.sty          => NOT SUPPORTED
flushend.sty         => NOT SUPPORTED
macros.sty           => NOT SUPPORTED
   paralist.sty         => NOT SUPPORTED
mathtools.sty        => NOT SUPPORTED
   mhsetup.sty          => NOT SUPPORTED
mhsetup.sty          => NOT SUPPORTED
paralist.sty         => NOT SUPPORTED
submission.sty       => NOT SUPPORTED
   mathtools.sty        => NOT SUPPORTED
   mhsetup.sty          => NOT SUPPORTED
   wasysym.sty          => NOT SUPPORTED
   colortbl.sty         => NOT SUPPORTED
   ulem.sty             => NOT SUPPORTED
   eurosym.sty          => NOT SUPPORTED
   flushend.sty         => NOT SUPPORTED
ulem.sty             => NOT SUPPORTED
wasysym.sty          => NOT SUPPORTEDUse--diffoption to list newly supported or no longer supported packages.
Package: check-task-log
Introduction============A nagios-like plugin to check if task jobs executed successfullyConfiguration=============On the first run, it will ask you for basic configuration.- `basePath` is where each job will put his folder containing the logs(if a job log is in `/var/log/task/job/timestamp.log`, the basePath is `/var/log/task/`)- `endingString` is the string the script will look for too check if a job executed successfully, if the string is in the last line of file, then it's OK, CRITICAL otherwise. It will should be something like `;END\n`To change configuration go to the script install directory and open the config.ini file.Changelog=========0.1-dev (unreleased)------------------------- Elio Maisonneuve <maisonneuv@eisti.eu>Contributors==============Elio Maisonneuve, Author
Package: check-the-possibilities
Prototype python libraryThis library is implemented for educational purposesLibrary modules:CalculationsConnectorsForecastsOptimizersUtilitiesCalculationsThis module is designed to perform calculations with always deterministic results in accordance with the formulasConnectorsThis section contains connectors and data converters from various remote systems (1C, SAP, Cropio, etc.)ForecastsThis module is designed to perform forecasts using data science technologies (linear models, gradient boosting,
neural networks, time series, etc.)OptimizersThis module is designed to solve mixed-integer programming problemsUtilitiesThis section introduces helper classes and functionsTo update the library you need:Refactor codeUpdate requirements if it needsUpdate the library version numberIn the terminal, run the following commands sequentially:python setup.py sdist bdist_wheeltwine upload --repository pypi dist/*
Package: check-tier
Django management command to check the tier current instance.Required the tier setting from localsetting to be in main settings file as
TIER=localsettings.tierusage::python -Wi manage.py get_tier <TIER_TO_CHECK>::python -Wi manage.py get_tier stagingwill return success if tiers match error code if they do not as well as text.Install as django app by putting ‘check_tier’ in installed apps.
Package: checktype
Getting StartedThe first snippet below checks that an object is a list of tuples, each tuple with an int and a string.
The second snippet shows how to decorate a functionactivate_checktype()# by default, checktype is deactivatedo=[(1,'hello'),(2,'world')checktype(o,'[(int, str)..]')@check('str, {str:int} -> [int..]')defmyfunction(a1,a2):return[1,2,3]myfunction("say",{"hello":1})IntroductionPython is strongly, dynamically typed. This is fine, but at times when  objects get too complicated, it can be a good thing to check for types.Checktype allows simple checking of Python object formats. It has a very intuitive type system that mimics the way you define your own Python objects.It can be particularily helpful when refactoring programs. Its performance has not been optimized and it is intended as a development-time type checking utility (disabled by default, and should probably be activated in tests only).Relatedhttps://www.python.org/dev/peps/pep-0484/http://mypy-lang.org/examples.htmlhttps://github.com/ceronman/typeannotationsInstallationYou can install checktype with pip:pip install checktypeUsage examples:fromchecktypeimportchecktype,activate_checktype,check# 'activates' checktype. You need to explicitly call this,# else it will do nothing (by default, to save cpu time).# It is common to specify it in testsactivate_checktype()# checktype only provides a single function, that takes two arguments.# the first one is the python object you want to test;# the second one is an 'object specification' (spec), that mimics the way# objects are represented in Python. This spec is a string representation of# a python object. For example, to check that 12 is an int or 'hello' is a str:checktype(12,'int')checktype('hello','str')# A list of exactly 3 floats is specified as [float,float,float]checktype([1.0,2.0,3.0],'[float,float,float]')# To match a variable-length list of ints, use [int..]checktype([1,2,3],'[int..]')# To only check that it is a list (but not its content), use []checktype([1,"deux"],'[]')# And so on for tuples,checktype((1,2,3),'(int,int,int)')checktype((1,2,3),'(int..)')checktype((1,"deux"),'()')# dictionnaries,checktype({11:2,12:3},'{int:int}')checktype({11:2,12:3},'{}')# and sets.checktype({11,2},'{int}')# Use the ? wildcard if you don't want to check for a specific partchecktype({11:2,12:"a",13:(3,4)},'{int:?}')# Further exampleschecktype({11:(2,3),12:(4,"5")},'{ int: (int,?)}')checktype([(2,"asdf"),(-12,"asfwe"),(1,"")],"[(int,str)..]")checktype([(1,'hello',2.0)],"[(int, str, float)]")# Decorator examples@check("str.. -> int")deffn_1(a1,a2):return1fn_1("say","hello")@check("str, {str:int} -> [int..]")deffn_3(a1,a2):return[1,2,3]fn_3("say",{"hello":1})
Package: check-type-hints
check-type-hintspypiWhat can it do?It is a simple pre-commit plug-in that helps you check type hints in committed python files. Currently, only python is supportedMain functionfunction 1:--filterIt can help you filter folders that you don't want to check, like tests, pytests...function 2:--methodIt helps you filter function and method names that you don't want to check, such as get, post, put, and delete in Django viewfunction 3:--ignore/--no-ignoreBy default, the plug-in checks type-hints that are not filled in, breaking the commit code and telling you where there is a problem. If you don't want to interrupt the commit, you can enable--ignore, which will only prompt warningsExample:First:pip install pre-commitpip install check-type-hintsthen:Add file.pre-commit-config.yamlto the project root directory.
eg:repos:-repo:localhooks:-id:typehint-checkname:Typehint Checkentry:check_type_hints check --no-ignore --filter tests  --filter pytests --method get --method post --method put --method patch --method deletelanguage:systemtypes:[python]stages:[commit]pass_filenames:falseverbose:trueand then:pre-commit installand finally:You can enjoy it!
Package: check-uncommitted-git-changes
check_uncommitted_git_changescheck_uncommitted_git_changesis a command line tool to check for
uncommitted git changes to identify outdated generated content during
continuous integration.The problemWhile generated code generally should not be committed, there are cases for
where it can make sense, for example*.pofiles containing translations that
are derived from source code.Developers might change the underlying source code but forget to generate
the files derived from it. This causes headache for the next developer
who wants to a translated message while implementing a separate task, and
not has to deal with the outdated content in some way.The solutionIf your project uses continuous integration, you can use it to run the
code generators. Ideally they produce the same code that has already been
committed to the repository.However, if a developer forgot to commit up to date generated code, the
code generators will produce slightly different code that can for example
be viewed usinggitstatusCallingcheck_uncommitted_git_changesafter the generators have run can
check for such changes. If there are none, its exit code is 0 and
continuous integration can continue. If changes are found, the exit code is
1 and continuous integration fails.UsageAddcheck_uncommitted_git_changesto your projects using the respective
command depending on how you manage your Python packages.For poetry, run:poetryadd--devcheck_uncommitted_git_changesFor setuptools, run:pipinstall--upgradecheck_uncommitted_git_changesor add an entry to your*requirements.txt.The following example outlines aGitHub actionstep that first collects
all translated messages of a Django project and then checks if they differ
from the versions found in the repository:...jobs:build:...steps:...- name:Check that translations are up to daterun:|python manage.py makemessages --all --ignore venv --no-location --no-obsoletecheck_uncommitted_git_changesThe same principle can be applied toother continuous integration platforms.LicenseCheck_uncommitted_git_changesis open source and distributed under the BSD
license. The source code is available fromhttps://github.com/roskakori/check_uncommitted_git_changes.Change historySee "CHANGES".Development and contributingFor information on how to build the project and contribute to it see "CONTRIBUTING".
Package: check-version
A python library contains some predefined web crawlers.
Attention: this package probably can’t work properly because of the correlated webs updates.
If this situation happens, just fix it on your own.InstallationpipinstallRunSpidersExamplesfromRunSpidersimportNovelSpiderspider=NovelSpider()spider.download_books(['***','xxx'])# spider.download_books(['***', 'xxx'], style="recipe_first")
Package: checkvist
CheckvistCheckvistis an online list making app with minimalist UI and amazing keyboard and Markdown support. This package is an unofficial Python wrapper library over itsREST API.Setup$pipinstallcheckvistExampleIn[1]:fromcheckvistimportClient...:...:client=Client(username=<username>,secret=<secret>)# [1]In[2]:client.create_list(name='next trip')...:# a new list to organize my next tripChecklist(archived=False,id=700700,item_count=0,markdown=True,name='next trip',options=2,percent_completed=0.0,public=False,read_only=False,tags={},tags_as_text='',task_completed=0,task_count=0,updated_at=datetime.datetime(2020,11,28,10,0,0,tzinfo=datetime.timezone.utc),user_count=1,user_updated_at=None)In[3]:client.create_task(list_id=700700,content='Search for air tickets',due_date='next friday')...:# on Friday next week, I should have purchased the ticketsTask(assignee_ids=[],checklist_id=700700,collapsed=False,comments_count=0,content='Search for air tickets',details={},due=datetime.date(2020,12,11),due_user_ids=[170000],id=45004500,parent_id=0,position=1,status=0,tags={},tags_as_text='',tasks=[],update_line='created by <My Name>',updated_at=datetime.datetime(2020,11,28,10,1,0,tzinfo=datetime.timezone.utc))[1]: params only required ifCHECKVIST_USERNAMEandCHECKVIST_SECRETenvironment variables aren't set.LinksCheckvist featuresOnline demoFeedbackAPI docsAPI mail groupCheckvist UserVoiceCopyright © 2020 Nuno André
Package: checkvsphere
AboutThis is a monitoring plugin for naemon, icinga, nagios like systems. It
is meant as a successor of check_vmware_esx. check_vmware_esx is written
Perl but VMWare™ has droped support for the Perl SDK. So this plugin is written
Python using pyVmomi.FeaturesThe plugin has modes to check various aspects of these components:datastoreshost-runtomehost-servicehost-storagehost-nicsnapshotsvsanCheck theDocumentationfor further details.Installationpip install checkvsphereLICENSEIf not stated otherwise in a source file everything is licensed under
GNU AFFERO GENERAL PUBLIC LICENSE Version 3.See also the LICENSE file.
Package: checkword
checkwordSimple module for check if the text contains blacklisted or whitelisted wordsInstallationpip install checkwordUsageimportcheckword# add some bad words to blacklistcheckword.add_bad_words(['some','bad','words','like','sheet'])# and good wordscheckword.add_good_words(['Festival','Event','Holiday'])print(checkword.blacklisted('My some text to check for bad words'))# Trueprint(checkword.whitelisted('Another text to check for good words'))# FalseMethodsadd_bad_words(words)add word or words list/tuple to blacklistadd_good_words(words)add word or words list/tuple to whitelistblacklisted(text, match_case=False, words=True)check if text contains any bad wordstext: text for checkingmatch_case: use case sensitive word matching.
if Truecheckword.blacklisted('bAd')will be False when'bad'is in blacklistwords: match only complete words. if Truecheckword.blacklisted('my bad string')=Trueandcheckword.blacklisted('mybadstring')=Falsewhile'bad'is in blacklistwhitelisted(text, match_case=False, words=True)check if text contains any whitelisted wordstext: text for checkingmatch_case: use case sensitive word matching.
if Truecheckword.whitelisted('gOoD')will be False when'good'is in blacklistwords: match only complete words. if Truecheckword.whitelisted('my good string')=Trueandcheckword.whitelisted('mygoodstring')=Falsewhile'good'is in blacklistremove_bad_word(word)remove bad word from blacklistremove_good_word(word)remove good word from whitelistclear_blacklist()remove all bad words from blacklistclear_whitelist()remove all good words from whitelist
Package: check-yamlschema
check-yamlschemaA CLI and pre-commit hook for jsonschema validation in YAML files with multiple documentsParse multi-documents YAML files, look forinline schema comments, and validate the documents according to their schema.The inline schema comments should use the following format:# yaml-language-server: $schema=<schema_url>food:# Some YAML document-vegetables:tomatoes-fruits:citrics:orangestropical:bananasnuts:peanutssweets:raisins---# yaml-language-server: $schema=<another_schema_urlname:Martin Devloper# Some other YAML documentage:26hobbies:-painting-playing_music-cookingprogramming_languages:java:Intermediatepython:Advancedjavascript:Beginnerfavorite_food:-vegetables:tomatoes-fruits:citrics:orangestropical:bananasnuts:peanutssweets:raisinsCLI usageInstall it withpip install check-yamlschemaRun it with some YAML files in parameters:check-yamlschema file1.yaml file2.yaml ...Pre-commit usageAdd this to your.pre-commit-config.yaml:-repo:https://github.com/jmlrt/check-yamlschemarev:v0.0.2hooks:-id:check-yamlschema
Package: check-your-heuristic
check_your_heuristic#Quick startInstallationpip install check_your_heuristicConfigurationsTo check your dataset fill theconfig, usingunix-likepaths.Example config:train_dataset_dir:"dataset/dir/train.jsonl"valid_dataset_dir:"dataset/dir/val.jsonl"column_name1:"premise"column_name2:"hypothesis"target_name:"label"Other config variations can be foundhereCLI UseOur library offers four build-in commands for checking your datasets depending on the dataset structure you haveBase case or two text columns + one target column
(for example, CommitmentBank from SuperGLUE or TERRa from Russian SuperFLUE)run-base-case --path_to_config config.yamlWhen you have some long text and some questions and answers for it
(for example, MultiRC from SuperGLUE or MuSeRC from Russian SuperFLUE)run-multirc-case --path_to_config config.yamlWhen you have passage, questions and some NERs (or entities) that serve as answers
(for example, ReCoRD from SuperGLUE or RuCoS from Russian SuperFLUE)run-record-case --path_to_config config.yamlCase when you have two cases and need to compare some words in them
(for example, Words in Context (WiC) from SuperGLUE or RUSSE from Russian SuperFLUE)run-wordincontext-case --path_to_config config.yaml
Package: cheerled
DescriptionThis library provides an API to send messages to a SLC16H-IR/Cheer-led device.
This device is a programmable LED Array suitable for shop signs and event halls.Included Programscheer-text [-f FileNo] [-c Colour] [-a Animation] [-f Font] [-b Beep[1-3]] [-s Speed[1-8]] TextLine1 [TextLine2,%time,%date]cheer-graphic [-f FileNo] GraphicNumbercheer-timed-file TimerId [-f FileNoToDisplay] HH:MM:SS [-w Weekdays(default all)]cheer-hour-alarm [Yes/no]cheer-auto-on HH:MM:SScheer-auto-off HH:MM:SScheer-update-timeHow to UseInstall requirements:python
pyserial (aka python-serial)A working SLC16H based device connected via serial or usb.Make sure you have identified which tty device the SLC16H is connected to, such
as /dev/tty0 or /dev/ttyUSB0 depending on the connection method.Run the script or program against the interface using the scripts as examples.
Package: cheerup
cheerup - Cheer on your command-line expertise!cheerupis a tool powered by GPT-3 designed to elevate your programming experience by complimenting your Unix command-line inputs. Created with the goal to foster learning, motivation, and a sense of achievement among programmers, it's like your own personal assistant that helps you see the magic in every command you run.Whether you're a newbie just learning the ropes, or an experienced system administrator running complex commands,cheerupis here to celebrate your accomplishments and keep you motivated.https://github.com/propella/cheerup/assets/79028/7499ddba-bd78-42fa-baf0-b5c3d67f0e5cInstructions for ZSHThis tool requires your OpenAI API key. You can generate one athttps://platform.openai.com/account/api-keys. Once you have obtained an API key, please set it as the OPENAI_API_KEY environment variable. Alternatively, you can write the OPENAI_API_KEY to the.envfile.$exportOPENAI_API_KEY=<YourOpenAIAPIkey>
$pip3installcheerup
$source<(cheerup--zsh)$ls
MakefileREADME.mdcheerup.zshpyproject.tomlrandom.mdsrc
Excellentchoiceofcommand!"ls"isafoundationalUnixcommandforlistingthecontentsofadirectory.YourdecisiontouseitshowsastrongcommandofbasicUnixfunctions.Welldone!

$exportLANG=ja_JP.UTF-8
素晴らしい判断力ですね！"export LANG=ja_JP.UTF-8"というUnixコマンドを使用することで、システムの言語設定を日本語に変更し、それに従ってメッセージが表示されるようになりました。あなたのUnixコマンドの基本機能に対する強力な理解がうかがえます。お疲れ様でした！CLIusage: cheerup [-h] [-i] [-c COMMAND] [-l LANG] [--zsh] [--history]

Cheer on your command-line expertise!

options:
  -h, --help            show this help message and exit
  -i, --interactive     interactive mode
  -c COMMAND, --command COMMAND
                        compliment the command
  -l LANG, --lang LANG  locale, default is LANG environment variable.
  --zsh                 show zsh script
  --history             show historyThe last 10 conversations are saved into${TMPDIR}cheerup_history.json.
Package: cheesebread
cheesebreadis a data toolbox. In other words, it supports tools and shortcuts to
get data from REST APIs into datasets without the hassle of explicitly handling
every single step in the middle.cheesebreadhandles:data catalog and datasetsasynchronous communication to REST APIsaggregate data into time series from REST APIsauthenticationexpiring tokensrequest limits and retry on failurededuplicationRationaleMore often than not, collectig data from REST APIs gets in the way of data analysis and
machine learning. The toolbox implements a list of helpers that automate data collection.Moreover, when we are given aggregate data, for instance, an API endpoint that
returns a user’s number of interaction during a given period, the toolbox manages to create
time series by asynchronously calling the API multiple times - a little bit hacky, but it wil get what we need.The toolbox is aimed to a somewhat incipient data science team whose main focus is to
get started with data analysis and not data collection.VersioningAlways suggest a version bump. We useSemantic Versioning.Given a version number MAJOR.MINOR.PATCH, increment the:MAJOR version when you make incompatible API changes,MINOR version when you add functionality in a backwards-compatible manner, andPATCH version when you make backwards-compatible bug fixes.LicenseCopyright (C) 2020 Gabriel Stefanini Vicente. cheesebread is free software: you can redistribute it and/or modify it under the terms of the GNU 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, seehttp://www.gnu.org/licenses/.