Saravanan666/pypi-org huggingface dataset:
Package: consoleme
ConsoleMeCheck out ourquick start guide,documentation,feature videos,ReInvent Talk,
andBlog Post.OverviewConsoleMe is a web service that makes AWS IAM permissions and credential management easier for end-users and cloud
administrators.ConsoleMe providesnumerous
waysto log in to the AWS Console.AnIAM Self-Service
Wizardlets users
request IAM permissions in plain English. Cross-account resource policies will be automatically generated, and can be
applied with a single click for certain resource types.Weep(ConsoleMe’s CLI) supports5 different
waysof serving AWS credentials locally.Cloud administrators cancreate/clone IAM
rolesand nativelymanage
IAM roles, users, inline/managed policies, S3 Buckets, SQS queues, and SNS
topicsacross hundreds of accounts in a single interface.Users can access most of your cloud resources in the AWS Console with asingle
click. Cloud
administrators can configure ConsoleMe to authenticate users throughALB
Authentication,OIDC/OAuth2,
orSAML.… And more. Check out ourdocsto get started.Project resourcesDiscordDocsWeep (our CLI)Source CodeIssue trackerBlog PostReInvent TalkAnonymous Feedback FormThird Party MentionsAchieving least-privilege at FollowAnalytics with Repokid, Aardvark and ConsoleMeNetflix’s ConsoleMe local installation on Linux machineImproving database security at FollowAnalytics with AWS IAM database authentication and ConsoleMeAwesome IAM Policy ToolsNetflix on AWS Case StudyNetflix Open Sources ConsoleMe to Manage Permissions and Access on AWSCompanies that use ConsoleMe (alphabetically sorted)AB180CalmFollowAnalyticsmyKaarmaNational Center for Biotechnology InformationFeel free to submit a PR or let us know in anIssueif you'd like to
add your company to this list.
Package: console-messenger
console-messengerAboutThis package displays success, warning and info messages and errors on console with different colours usingrichmodule. It also prints any error type without passing it as a parameter.Requirementspython>=3.0Dependenciesrich>=9.0.0Installationpipinstallconsole-messengerUsage>>>fromConsoleMessengerimportConsoleMessage>>>console=ConsoleMessage()Print an errortry:a=5/0exceptExceptionase:console.danger(e)Output :-Display a custom errorconsole.danger("this is a custom error",err_type="My Error")Output :-Print a success messageconsole.success("Success","success method worked!")Output :-Display a warningconsole.warning("Warning","You are using pip version 20.2.4; however, version 20.3 is available.")Output :-Display a info messageconsole.info("INFO","Hello User!")Output :-Display a dark messageconsole.dark("Dark","This is a dark message!")Output :-
Package: consolemsg
consolemsgSemantically colorifies console output messages with ANSI codes.The goal of the module is to centralize how console messages
are printed depending on the intent.
Instead ofprint()you can use:step()error()warn()success()out()Alsofail()prints an error and exits.All consolemsg functions, butout, output tosys.stderr,
so they will be separated from yourstdoutwhen piping.Extra arguments, will be inserted into the message with format.For serious logging you should use theloggingstandard module.
This is a quick and simple solution make the user aware of the
relevance of the outputs.Also those functions are Py2 backwards compatible,
so you can use them instead of regularprintto make
your code portable.Changelogconsolemsg 0.3.3  2019-07-27Fix: Not incluiding CHANGES into the sdist prevented to installconsolemsg 0.3.2  2019-07-26Minor package metadata fixesAppending changelog properlyAdded classifiers Python 2 and Console environmentconsolemsg 0.3.1  2019-07-26Minor package metadata fixesAdded changelog to the descriptionconsolemsg 0.3.0  2019-07-26Dropped support for Python 2 < 2.7.1 and Python 3 < 3.3Two helpersuandbthat ensure a nice conversion tounicodeandbytesregardles being in Py2 or Py3 and using UTF-8 as default encoding.Newoutfunction to send undecorated content, but still portable and unicode safe, to stdoutUnicode over pipes without needing PYTHONIOENCODING, defaulting to utf-8 instead of ASCIIRespects stdout/stderr encoding when PYTHONIOENCODING or any other local settings sets itWhen first parameter is a Py2 str's is decoded as unicode using using UTF-8First parameter can be any formatable type instead of textconsolemsg 0.2.1  2018-02-06Minor package metadata fixesconsolemsg 0.2.0  2018-02-06Extra arguments are inserted into the first one usingformattemplatingconsolemsg 0.1.0  2016-01-12Backward support for Py2 (avoid using print to stderr)New functionsuccessto show up successful end of tasks messages (green)consolemsg 0.0.0  unreleasedFirst version withstep,error,warnandfailAs part of GuifiBaix software 'suro'
Package: consoleoptions
consoleoptionsoption rulesWriting the console command options with the following rules will create a option value dictionary.fragif the option key exists, 'True' value will set on the dictionary.dictionary[key] = TrueFor Example,% command.py optionfragThen,dictionary['optionfrag'] => True
  'optionfrag' in dictionary => Truekey-valueThe option key and the value are connected with '=' character, they will set as a key-value on the dictionary.dictionary[key] = valueFor Example,% command.py optionkey='value'or,% command.py optionkey="value"or,% command.py optionkey=valueThen,dictionary['optionkey'] => value
  'optionkey' in dictionary => Truekey-value listThe option key-value are connected with '=' character and the value is comma separated list, they will set as a key-value_list on the dictionary.dictionary[key] = [value1,value2,value3,...]For Example,% command.py optionkey='value1,value2,value3'or,% command.py optionkey="value1,value2,value3"or,% command.py optionkey=value1,value2,value3Then,dictionary['optionkey'] => [value1,value2,value3]
  'optionkey' in dictionary => True
  type(dictionary['optionkey']) => <class 'list'>methodsget_dictParse space separated argument.When the key ends with particular word, the paired value will be parsed using following rules automatically.wordkey-valuekey-value_list__intint(value)[int(value1), int(value2), ...]__doublefloat(value)[float(value1), float(value2), ...]Use 'dict' to set the default values.load_from_fileParse options from file.Use 'dict' to set the default values.load_from_jsonParse options from json format.Use 'dict' to set the default values.
Package: consoleplusplus
A very simple console game engineA functional game engine. How does it work?
Well, there are two core parts of this engine.
Thegame state dictionary, and theentity system.Game state dictionaryThe game state dictionary is a dictionary containing the game state as well as entities. Good Console++ code uses the dictionary to store data instead of global variables.The game state dictionary must contain two keys:"running"and"entities"."running"is a bool. At the end of every iteration of the main loop, if running is false, the loop ends."entities"is a dictionary ofEntity. More on that laterThe game state is important because of how you update it. Every frame input is taken, and passed to a function that you define along with the game state. The call looks like this:game(state, key). This call returns a new dictionary which replaces the old one.Entity systemThe entity system is simple. There is a class calledEntity. Its constructor takes 4 parameters:x, y, char, style.Each iteration of the main loop, each entity callsupdate()(so,entity.update().  Then, they are drawn at the x and y with the char and style. Update is a stub, but you can extend entity to add your own behaviour.Main loopFinally, to initialize the main loop, runrun_loop(game,{"running":True,"entities":{"player":Entity(10,10,"@",style.RED)}})Replacegamewith your own update function, and add and remove entities.
Package: console-progressbar
Console Progress BarIt’s a very tiny lib to help devs to print a progress bar in consoleUsageHere a very simple sample:import time
from console_progressbar import ProgressBar

pb = ProgressBar(total=100,prefix='Here', suffix='Now', decimals=3, length=50, fill='X', zfill='-')
pb.print_progress_bar(2)
time.sleep(5)
pb.print_progress_bar(25)
time.sleep(5)
pb.print_progress_bar(50)
time.sleep(5)
pb.print_progress_bar(95)
time.sleep(5)
pb.print_progress_bar(100)Parameters Descriptionparams:total       - Required  : total iterations (Int)
prefix      - Optional  : prefix string (Str)
suffix      - Optional  : suffix string (Str)
decimals    - Optional  : positive number of decimals in percent complete (Int)
length      - Optional  : character length of bar (Int)
fill        - Optional  : bar fill character (Str)
zfill       - Optional  : bar zero fill character (Str)
file        - Optional  : output file (Stream)
Package: console-py
Console PackageConsole is a Python package that provides aConsoleclass with methods to print messages in different colors. It also serves as a simple example of creating and packaging a Python module.InstallationYou can install the package usingpip. Make sure you have a Python virtual environment activated.pipinstallconsole-pyDocumentationfromconsoleimportConsole# Create an instance of the Console classconsole=Console()# Use different methods to print messages in various colorsconsole.info("Information message")console.warn("Warning message")console.error("Error message")console.success("Success message")console.secondary("Secondary message")ContributingIf you want to contribute to this project, feel free to fork the repository, make changes, and submit a pull request.
Package: consolePys
consolePyseasy tool for ColorCraft, some FeaturesgithubinstallationRun the following to install:pip install consolePysorpython -m pip install consolePysif that didn't work, try replacingpipwithpip3.
need help? my discord:i am me#3889usegfromconsolePysimportConsolefromconsolePysimportactiveColoractiveColor()# make sure to call this when using cmd/powershell/etcConsole.error("Hello, World!")Console.fail("Hello, World!")Console.logc("Hello, World!")Console.log("Hello, World!")Console.info("Hello, World!")Console.header("Hello, World!")Console.warn("Hello, World!")Change Log0.2.0 (2022/06/30)First Release
Package: consoler
ConsolerA terminal printer that's totally tailored to how I like terminal printouts. If this happens to also be how you like terminal printouts, this package may well be for you too.Installingpoetry add consolerorpip install consolerUsagefrom consoler import console
console.log("This is a log level print out")
console.info("This is an info level print out")
console.warn("This is a warning level print out")

try:
    1 / 0
except Exception as e:
    console.error("Oh no!", e)SettingsUsing with Django you set a few things in the Django settings to affect behaviour of conoler.DEBUG = TrueIfDEBUGisTrueconsoler will print to stdout, otherwise it will send the output to loguru.CONSOLE_LOG_LEVEL = 'LOG'You can set a log level for which message you want to reach the screen. Available levels are...LOG
INFO
SUCCESS
TEMPLATE
WARN
ERROR

CONSOLE_PATH_PREFIX = ''When developing in a docker container or VM, the start of consoler's file paths might not quite match your local filesystem. Set a prefix here to prepend to the output's path string. This is super useful if you usehttps://github.com/dandavison/iterm2-dwimto make file paths clickable in iTerm.
Package: console-retry
console-retryThis utility is designed to run any shell command and retry if no new line was written to
stdout within a specified timeout. Especially useful in CI to retry flaky tests/scriptsThe default timeout applies to lines written to stdout of the shell command.Retry is triggered when:No new line was written to stdout after specified timeoutRetry is not triggered when:The command as a whole takes longer than specified timeoutThe command returns a non-zero (error) return codeTo be a good bash-citizen the return code is mirrors the return code of the subcommand or 1 if the command never
finished in the specified timeout.Example use / testsconsole-retry -t 10 "echo abcd ; false" # Immediate fail
console-retry -r 1 "sleep 70" # Fail after default timeout = 60
console-retry -s -r 1 -t 10 "sleep 15" # Should "skip timeout and therefore succeed after 15s"
console-retry -t 10 "echo abcd ; true" # Immediate success
console-retry -p -o abcd -t 10 " sleep 5; echo abc ;sleep 20; false" # Should Complete with error on second try
console-retry -o abcd -t 10 " sleep 5; echo abc ;sleep 20; false" # Should fail after retrymax (no progressive)
console-retry -o abc -t 10 " sleep 5; echo abc ; false"           # Should retry max but never with ok
console-retry -o abc -t 10 ">&2 echo abc ; false"                 # stderr, should retry max
console-retry -o nomatch -t 10 ">&2 echo abc ; false"             # stderr, should fail immediately
console-retry -o abc -t 10 "echo abc ; true"                      # stderr, should succeed immediately
console-retry -o nomatch -t 10 ">&2 echo abc ; sleep 2; echo def; true"  # Output should be: abc \ndef
console-retry -t 10 ">&2 echo abc ; sleep 10; echo def; sleep 10; true" # Staggered output
Package: console-tool
模块名称 NAMEconsole_tool简介 DESCRIPTION提供创建命令行程序工具的模块,包含Console类。
A module for creating command line programs.包含的类 CLASSES类继承顺序:builtins.object::
    ColoredTextWrapper
    Console
colorama.ansi.AnsiCursor(builtins.object)::
    Cursorclass Consolebell(self, times=1, delay=False):将振铃符发送至终端,发出响铃声。
times:响铃次数
delay:开始响铃后是否立即返回,默认为False。clear(self)清除命令行窗口中的所有文本, 这将调用系统的cls或clear命令。color(self, backcolor=’’, forecolor=’’):改变命令行窗口的前景和背景颜色
与coloredtext方法不同,color改变整个窗口的颜色
该方法调用系统的color命令
如::

   color("blue","green") -- 设置前景颜色为绿色,背景颜色为蓝色
   color() -- 恢复默认颜色

可用的颜色: black, blue, green, aqua, red, purple, yellow, white, gray, light_blue, light_green, light_aqua, light_red, light_purple, light_yellow, bright_whitecoloredtext(self, string, color=’white’, highlight=None, *args, end=’n’, flush=False, reset=True):输出一段带颜色的文本
如:coloredtext("Hello world!",color="green",highlight="black","bold") --
输出绿色、加粗的文字'Hello world!'
别名: ctextcolorize(self, stdout=’blue’, stderr=’red’, bold=True):初始化带颜色的输出,类似于IDLE。
colorize(stdout="cyan",stderr="magenta") - 设置输出消息为青色,错误消息为紫色。
colorize(stderr=None) - 只设置输出消息(sys.stdout)的颜色。input(self, prompt=’’, chars_to_read=None, **kwargs):获取用户的输入。
prompt:提示(默认显示为白色)
chars_to_read:要从sys.stdin读取多少个字符print_slowly(self, iterable_of_str, delay=0, *args, **kwargs):缓慢地打印出一段文本
iterable_of_str:待打印的内容(字符串或可迭代对象)reset(self):与colorize方法相反,停止带颜色的输出。title(self, title):设置命令行窗口标题。新增方法:resize(self, cols, lines):缩放窗口。cols: 列数, lines: 行数chcp(self, codepage):改变活动代码页, 使用chcp命令class CursorCursor(outfile=sys.stdout)命令行中的光标类down(self, distance=1)向下移动光标,距离为distance。left(self, distance=1)向左移动光标,距离为distance。pos(self, x=1, y=1)移动光标至指定位置(x,y)。
如果不提供参数x,y,则移动光标至屏幕左上角。right(self, distance=1)向右移动光标,距离为distance。up(self, distance=1)向上移动光标,距离为distance。class ColoredTextWrapper(builtins.object)ColoredTextWrapper(file=sys.stdout, color=’white’, bold=True)在命令行提供带颜色的输出流,类似于IDLEflush(self)write(self, string)示例代码 EXAMPLESc=Console()#初始化Console对象c.colorize()c.title("console_tool.py (Test)")c.coloredtext("Hello world!","green","magenta","blink")# 输出绿色的Hello world!版本 VERSION1.2.4作者 AUTHOR七分诚意 qq:3076711200 贴吧账号:qfcy_作者CSDN主页:https://blog.csdn.net/qfcy_
Package: consoleutil
InstallTo install this awesome library you can do:

Windows 10/11:
```bat
    pip3 install consoleutil
```


MacOS or Linux:
```bat
    python3 install consoleutil
```DocumentationSuper easy to use. Here some examples

```python
    from consoleutil import console, returns, type_texts

    console.warn("Whats upp")
    console.error("Yo!!")

    console.info("Whats up my dude")



    print(type_texts.BOLD(returns.OKBLUE("Whats up dude")))
```

Its simple, use it if you want i dont mind if you dont
Package: consolidatedrms
# rms-consolidated-scrips-statusA utility that parse [ZerodhaRMS Consolidated google spreadsheet](https://docs.google.com/spreadsheets/d/1ZTyh6GiHTwA1d-ApYdn5iCmRiBLZoAtwigS7VyLUk_Y/edit#gid=0) and render category-wise scrip details(margins, multiplier, etc).# Installation` pip install consolidatedrms `
Package: consolor
Consolor provides highlighting functions for terminals.It comes with there 3 functions:get_lineReturns a string with the given formatting.print_linePrints a string with the given formatting.update_lineOverwrites the output of the current line and prints s on the same line without a new line.All these functions accept the following formatting parameters:bold: bool, default Falseunderline: bool, default Falseblinking: bool, default Falsecolor: str, default Nonebgcolor: str, default NoneSome examples:importconsolorconsolor.print_line('light green',color=consolor.Color.LightGreen)consolor.print_line('underline',underline=True)consolor.print_line('green bg',bgcolor=consolor.BgColor.Green)consolor.update_line('0%')consolor.update_line('100%')print()For more colors and background colors seeconsolor.Colorandconsolor.BgColor.You can also use it in builtinprint():importconsolorprint(consolor.Color.Red,'Red')print('Red two')print(consolor.Color.Reset,end='')# You have to handle resetting your self.print('Not Red')print(consolor.BgColor.Red,'Red')print('Red two',consolor.BgColor.Reset)print('None')To installconsoloruse pip.pipinstallconsolorBugs and improvementsFeel free to open tickets or send pull requests with improvements.
Thesecontributorshave done so.Linkshttp://ascii-table.com/ansi-escape-sequences-vt-100.phphttp://wiki.ubuntuusers.de/Bash/PromptCopyrightCopyright (c) 2013-2015 Friedrich Pätzke.
SeeLICENSEfor further details.See you.Friedrich.
Package: consoly
🖥 ConsolyElegant Console Logger for PythonInstallationFrom PyPIpipinstallconsolyFrom Githubpipinstallgit+https://github.com/OAlienO/consoly.gitGetting Startedfromconsolyimportconsolyconsoly.critical('Bomb!!')consoly.error('Oh shit...')consoly.warning('Chill')consoly.info('Just some information')consoly.debug('Fuck bugs')fromconsolyimportconsolyconsoly.level=consoly.DEBUGconsoly.defaults={'badge':True,'time':True}consoly.critical('Bomb!!')consoly.error('Oh shit...')consoly.warning('Chill')consoly.info('Just some information')consoly.debug('Fuck bugs')Documenttype of levelstypelevelaliascritical50consoly.CRITICALerror40consoly.ERRORwarning30consoly.WARNINGinfo20consoly.INFOdebug10consoly.DEBUGcustom type of levelconsoly.types['success']={'level':25,'color':Color.green,'icon':'✔'}consoly.level=consoly.SUCCESSconsoly.success('it works')Consolydefault instanceconsolyis created byConsoly(FancyFormatter())consoly.leveldefault to0( print every messages )consoly.level=consoly.ERRORconsoly.defaultsdefault to{}this is the default options pass to formatterconsoly.defaults={'badge':True}consoly.typesseetype of levelsconsoly.formatterseeFormatterFormatterdefault formatter isFancyFormatterFancyFormatteroption for FancyFormatter# set option defaultconsoly.defaults={'badge':True,'time':True,'short':True}consoly.debug('hello')# set option directlyconsoly.debug('hello',badge=True,time=True,short=True)set output file ( default is sys.stdout )consoly.formatter.file=open('service.log','w')custom formatterfromconsolyimportFormatterclassMyFormatter(Formatter):defformat(self,text,typeData,formatData):name=typeData['name']color=typeData['color']bold=formatData.get('bold',False)ifbold:color=color.boldself.write(f'{color.paint(name)}-{text}')consoly.formatter=MyFormatter()For exampleconsoly.error('test', testOption = 10)textwill betesttypeDatawill be{'name':'error','level':40,'color':Color.red,'icon':'✖'}formatDatawill be{'testOption':10}
Package: conson
Module for creating parameters, saving them and loading from JSON formatted file.pip install conson

from .conson import ConsonUsage:Conson(cfile="config.json", cfilepath=os.getcwd(), salt="ch4ng3M3pl3453"):
You can set file name/extension and path to config file directory. By default, current working directory is used.Instance call, parameters:
Calling Conson instance will return all kwargs that has already been set by create method.
Values modified with .veil method will be encrypted and presented in hex value.
Parameters:<instance>.file
 <instance>.file = <filename>, <cfilepath=os.getcwd()>

 <instance>.salt
 <instance>.salt = <your salt>.create(key, *value):
Creates parameter in key=value pair. Accepts single value or list of values.
Example:settings = Conson()

 settings.create(key1, value1, value2, value3)
 settings.create(key2, [value1, value2, value3])
 settings.create(key3, {"subkey1": "value1", "subkey2": value2, "subkey3": value3}).dispose(key):
Removes created parameter from instance..dump()
Removes all created parameters. Useful in case when only one instance is invoked and multiple configuration files
are being loaded - allows to prevent mixing parameters simply by dumping them out..veil(key, index="0"):
Passes created value through Fernet SHA-256 encryption. We point the key and value index number.
Secret key is based on system-related UUID, so decryption is meant to happen only on device the encryption has place.
Example:settings.veil("setting1")
settings.veil("setting3", 1)
settings.veil("setting3", "key")Result print(settings()):"setting1": "674141414141426c65566a6c6123123330617a41416c6330307a3667794a41535965537733423sdvb347705f464a5648435a39596b586a45304b31506232646b645353355f2d4c4646623546fggf3395a6c4e38595f7358676269513d3d"
"setting3": "value1", "674141414141426c65566a6c6123123330617a41416c6330307a3667794a41535965537733423sdvb347705f464a5648435a39596b586a45304b31506232646b645353355f2d4c4646623546fggf3395a6c4e38595f7358676269513d3d"
"setting3": {"key": "674141414141426c65566a6c6123123330617a41416c6330307a3667794a41535965537733423sdvb347705f464a5648435a39596b586a45304b31506232646b645353355f2d4c4646623546fggf3395a6c4e38595f7358676269513d3d"}.unveil(value):
Allows to decrypt veiled(encrypted) values. Value must be already present in instance (by .create or .load).
Example:settings.unveil(settings()["setting1"])
settings.unveil(settings()["setting3"][1])
settings.unveil(settings()["setting3"]["key"]).save(verbose=False):
Saves all parameters created to file. Prints result of operation (success/failure) if verbose parameter has been given..load(verbose=False):
Loads json formatted settings from file. Prints result of operation (success/failure) if verbose parameter has been given.
Package: conspiracies
ConspiraciesDiscovering and examining conspiracies using NLP.🔧 InstallationInstallation using pip:pipinstallpip--upgrade
pipinstallconspiraciesNote that this package is dependent on AllenNLP and thus does not support Windows.
For developers please check out the development installation instructions in
thedocumentation.📖 DocumentationDocumentation🔧InstallationInstallation instructions for using this package🎛DocumentationA minimal and developing documentation👩‍💻TutorialsTutorials for using this package📚FAQFrequently asked questions💬 Where to ask questionsType📚FAQFAQ🚨Bug ReportsGitHub Issue Tracker🎁Feature Requests & IdeasGitHub Issue Tracker👩‍💻Usage QuestionsGitHub Discussions🗯General DiscussionGitHub Discussions
Package: conspospy
# conspospyPython version of [conspos][1] package. conspos package is for,
> Computes the consensus alignment by comparing alignment patterns of global,
> local and sub-global multiple sequence alignments generated by the alignment
> program [MAFFT][2].The feature of conspos is implemented in Python in this conspospy package.## Requirementsnumpy[MAFFT][2]## About authorsconspospy is mainly written by the author of [conspos][1], Kent Kawashima.
The future revision and maintainance will be done by Haruka Yamashita.## Links[ConsPos][1][MAFFT download page][2][1]:https://github.com/kentwait/conspos[2]:http://mafft.cbrc.jp/alignment/software/