Saravanan666/pypi-org huggingface dataset:
Package: termbrowser
Term - terminal web browserTerm is terminal-based web browser that only accepts files using the Term File Format. This browser is responsive to youtr terminal's sizing and is developer-focused. This browser will not render HTML or execute JavaScript. It does, however, implement a similar DOM model, and styling attributes are similar to CSS.Using the browserInstall using this command:pip3installtermbrowserand start using this command:termor manually:python3-mtermbrowserOpen links using their hotkeys ex. 1 for[1] Link NamePress Escape twice to change the URL to load
Press Tab to cycle focus of input fields
Press Enter to submit an input field
Press Alt(or Option) + Q to unfocus from an input fieldImportant NoteTerm Browser sends requests using the headerContent-Type: Term. Your web server can distiguish that the request is coming from the Term Browser through this header.File FormatTerm File Format files are read line by line. The first line of any term file declares the term version to be used. Ex:@termtype:m100The#character at the start of a line is used for commenting# this is a comment!ElementsThere are currently 5 element types.cont,text,link,input, andactionDeclare an element like socont

endInside of that element, you can place attributescont
	-width: 10
	-height: 5
	-border: line
endAcont(container) is similar to a<div>in HTMLTo specify an element's value, use:text:Hello World!
end
# Note any spacing after the `:` is recorded ('text: Hello World!' returns a value of ' Hello World!')Atextelement is similar to a<p>element in HTMLInput fields can be created like so:input
	-submit: my-action
endActionsActions are blocks of code that you can write in a term file to provide interactivity to it's elementsTo declare an action, useaction: my-action (

)Values are passed to an action code block through a variable namedvalueinput
	-submit: my-action
end
action: my-action (
	visit("http://localhost/hello?world=" + value)
)ScriptingThe code executed in an action block is not of any specification or language, but is evaluated throughSimpleEval.Seethe scripting page.AttributesAttributes forcontincludewidth,height,border,direction, andpadding.Attributes fortextincludeinitial,align, andstyleAttributes forlinkincludeurl,align, andstyleAttributes forinputincludesubmit,width,height, andpaddingAll elements accept anameproperty, which gives the actions of the page access to it's attributes and value. Accessing bynamereturns the first element in-order of the tree with that name.ResponsivenessAttributes that take in a mathematic value (likepaddingandwidth), can also use a percetange of the screen width or height using thepckeyword.# A container that will take up half of the screen width
cont
	-border: line
	-width: 50pc
endCreditsTerm was created by Martin DarazsLicenseMIT License
Package: termcast
# termcasttermcastexists to make it absolutely trivial to stream the contents of your current terminal session over the web, so that friends/collaborators/students can follow along as you grep logs, configure a webserver, play nethack, whatever :)![](https://raw.githubusercontent.com/lampholder/termcast/master/termcast.gif)## How do I get it?You can either git clone this repo and run the cli/termcast.py script, or (preferably) use pip. [If you don’t have pip, follow the instructions to get it here](https://pip.pypa.io/en/stable/installing/). You’ll also need to install tmux if you don’t have it already:$ sudo apt-get install tmux
$ pip install termcast –user## How does it work?It leverages a bunch of existing unix gubbins (script, tmux, named pipes) + python and websockets and a node js server to plug it all together.Tmux is in the mix because:It has a status bar that can be configured to show useful thingsIt supports specifying the dimensions of your terminal (independently of the window size)## Current state:N.B.If you see errors from tmux about configuration options, it might be that your version of tmux is old. Obviously it would be better if termcast detected and handled this automatically - it doesn’t, but you can try and run it with tmux configuration options compatible with older versions of tmux by running with the–old-tmuxflag.The pip termcast only works on python >= 2.7.9 because earlier versions can’t support SNI :(termcast is in alpha but the happy path is actually working pretty well. There are still some issues, but they mostly pertain to the running of the server.Relying on my server running at termcast.me for mission critical procedures is… not recommended. The server is currently a Single Point of Failure, and could go down at any time.### Running your own serverYou can run your own server - a dockerize version of the latest server instance is available at dockerhub, so this should be as simple as:` docker run-p80:8080-dlampholder/termcast.me:v0.1 `You can specify a host when running thetermcastscript using the–hostflag.## Usages of the installed script$ termcastwill launch a new session identified with a dictionary word randomly selected$ termcast –width <width_in_columns> –height <height_in_rows>will initiate a session with specified dimensions$ termcast –session <session_id> –token <session_token>will reconnect to an existing sessionRemember - viewers will see your terminal stretched to fit the size of their browser window, so very small/very large terminals could look pretty ugly.## Can I see it in action?(Hopefully) an instance is up-and-streaming on:https://termcast.me/said
Package: termcast_client
# termcastThis module is a client for the L<http://termcast.org/> service, which allows
broadcasting of a terminal session for remote viewing. It can be installed
either viapip install termcast_clientor by downloading the standalone
binary
[here](https://raw.githubusercontent.com/doy/python-termcast-client/master/termcast).To run it, just runtermcast. A new shell will open, and it will start
streaming data to the termcast server. You can view the contents by following
the instructions at [termcast.org](http://termcast.org/).## Detailed Usagetermcast [–host <host>] [–port <port>] [–username <username>][–password <password>] [command…]–hostdefaults tonoway.ratry.ru–portdefaults to31337–usernamedefaults to the contents of$USER–passworddefaults to asdfthe command defaults to the contents of$SHELL, or/bin/shif not set
Package: termchart
TermChartDraw ascii line charts in terminal.Installpip3installtermchartUSageCreate a Python file :importtermchartgraph=termchart.Graph([1,2,3,2,5,1,-1,-5,-3])graph.draw()You can change the plot (default is+):graph.setDot('|')Change the width and height (default cols is 160x50)graph.setCols(200)graph.setRows(40)Add values whenever you need it withaddData(<Float>). Here is a full example for a live graph with random values :importtermchartimporttimeimportosfromrandomimportrandintgraph=termchart.Graph([])whileTrue:rand=randint(0,9)graph.addData(rand)graph.draw()time.sleep(1)os.system('cls'ifos.name=='nt'else'clear')Donatehttps://en.jeffprod.com/donate/
Package: termcharts
termchartsTerminal charts with rich compatibility in mindbarimporttermchartschart1=termcharts.bar({'roll':24,'bread':10,'rice':30,'pasta':50},title='brunches')chart2=termcharts.bar({'roll':24,'bread':10,'rice':30,'pasta':50},title='brunches',mode='v')# verticalchart3=termcharts.bar([10,20,30,40],title='brunches')# from listprint(chart1)print(chart2)print(chart3)Pieimporttermchartschart=termcharts.pie({'pencil':10,'eraser':20,'ruler':30},title='stationary')print(chart)Doughnutimporttermchartschart=termcharts.doughnut({'a':10,'b':20,'c':30},title='aphabet dist')print(chart)Rich compatibilityfromtermchartsimportpiefromtermchartsimportdoughnutfromtermchartsimportbarfromrich.consoleimportConsolefromrich.columnsimportColumnsfromrich.panelimportPanelconsole=Console()charts=[doughnut({'a':10,'b':20,'c':30,'d':20},title='aphabet dist',rich=True),pie({'wefwefqwddwqdqwda':10,'b':20,'c':30,'d':20},rich=True),bar({'roll':24,'bss':10,'wes':30,'ewfwef':50},title='Brunches',rich=True)]user_renderables=[Panel(x,expand=True)forxincharts]console.print(Columns(user_renderables))TestingAll testing is currently handled by thepytestmodule and are incomplete at the momment.Installation:pip install -U pytestRun all the testcases in a file:pytest tests/<file>.pyRun one testcase in a file:pytest tests/<file>.py::<function_name>Exclude one testcase in a file:pytest tests/<file>.py -k 'not <function_name>'
Package: term-chatgpt
term-gptAsk ChatGPT directly on your terminal! Fast & No OpenAI API key required!Quick Start$term-gpt? Select mode (Use arrow keys or k-up and j-down keys.)
   terminal chat
   full screen
 » quick ask
   run commands

Ask: Who are you?
✨ Response:
I am Copilot, a large language model developed by OpenAI that can assist in generating human-like text based on the given prompt.Modesterm-gpthas four different modes, including:termainl: Terminal chat. (continuous)full: Full screen mode.quick: "Quick ask" mode. (one-time)run: Run & ask ChatGPT about shell commands.Additionally, you can specify the modes by using the-margument. For instance:term-gpt -m terminal. Or, if you want to assign the question, use the-aargument. For instance:term-gpt -a "Hello!".terminalTerminal chat.$term-gpt-mterminal(hint: type 'quit' to quit)

🤔 Who are you?

✨ Copilot
Hello! I am Copilot, a large language model trained by OpenAI. How may I  
assist you today?fullFull screen mode.quickQuick mode.$term-gpt-mquickAsk: Hello!
✨ Response:
Hi there!runRun & ask ChatGPT about shell commands. (Based on your platform)$term-gpt-mrun(hint: type 'quit' to quit)

🔎 I want to see all the files in this dir
... Working

✨ Copilot
ls

? Select an action (Use arrow keys or k-up and j-down keys.)
 » ✅ Execute
   ✨ Explain
   🤔 Revise
   🔁 Retry
   ❌ Cancel
Package: termcolor
termcolorInstallationFrom PyPIpython3-mpipinstall--upgradetermcolorFrom sourcegitclonehttps://github.com/termcolor/termcolorcdtermcolor
python3-mpipinstall.DemoTo see demo output, run:python3-mtermcolorExampleimportsysfromtermcolorimportcolored,cprinttext=colored("Hello, World!","red",attrs=["reverse","blink"])print(text)cprint("Hello, World!","green","on_red")print_red_on_cyan=lambdax:cprint(x,"red","on_cyan")print_red_on_cyan("Hello, World!")print_red_on_cyan("Hello, Universe!")foriinrange(10):cprint(i,"magenta",end=" ")cprint("Attention!","red",attrs=["bold"],file=sys.stderr)Text propertiesText colorsText highlightsAttributesblackon_blackboldredon_reddarkgreenon_greenunderlineyellowon_yellowblinkblueon_bluereversemagentaon_magentaconcealedcyanon_cyanwhiteon_whitelight_greyon_light_greydark_greyon_dark_greylight_redon_light_redlight_greenon_light_greenlight_yellowon_light_yellowlight_blueon_light_bluelight_magentaon_light_magentalight_cyanon_light_cyanTerminal propertiesTerminalbolddarkunderlineblinkreverseconcealedxtermyesnoyesboldyesyeslinuxyesyesboldyesyesnorxvtyesnoyesbold/blackyesnodttermyesyesyesreverseyesyesteratermreversenoyesrev/redyesnoaixtermnormalnoyesnoyesyesPuTTYcolornoyesnoyesnoWindowsnonononoyesnoCygwin SSHyesnocolorcolorcoloryesMac TerminalyesnoyesyesyesyesOverridesTerminal colour detection can be disabled or enabled in several ways.In order of precedence:Callingcoloredorcprintwith a truthyno_colordisables colour.Callingcoloredorcprintwith a truthyforce_colorforces colour.Setting theANSI_COLORS_DISABLEDenvironment variable to any value disables colour.Setting theNO_COLORenvironment variable to any value
disables colour.Setting theFORCE_COLORenvironment variable to any
value forces colour.Setting theTERMenvironment variable todumb, or using such adumb terminal,
disables colour.Finally, termcolor will attempt to detect whether the terminal supports colour.
Package: termcolor-enum
Examplesimportsysfromtermcolor_enumimport*text=colored('Hello, World!',Colors.RED,attrs=[Attributes.REVERSE,Attributes.BLINK])print(text)cprint('Hello, World!','green',Highlights.ON_RED)print_red_on_cyan=lambdax:cprint(x,'red','on_cyan')print_red_on_cyan('Hello, World!')print_red_on_cyan('Hello, Universe!')foriinrange(10):cprint(i,'magenta',end=' ')cprint("Attention!",'red',attrs=['bold'],file=sys.stderr)Text Colors (termcolor_enum.Colors):ColorStringEnum ValueGrey'grey'GREYRed'red'REDGreen'green'GREENYellow'yellow'YELLOWBlue'blue'BLUEMagenta'magenta'MAGENTACyan'cyan'CYANWhite'white'WHITEText Highlights (termcolor_enum.Highlights):HighlightStringEnum ValueOn Grey'on_grey'ON_GREYOn Red'on_red'ON_REDOn Green'on_green'ON_GREENOn Yellow'on_yellow'ON_YELLOWOn Blue'on_blue'ON_BLUEOn Magenta'on_magenta'ON_MAGENTAOn Cyan'on_cyan'ON_CYANOn White'on_white'ON_WHITEText Attributes (termcolor_enum.Attributes):AttributeStringEnum ValueBold'bold'BOLDDark'dark'DARKUnderline'underline'UNDERLINEBlink'blink'BLINKReverse'reverse'REVERSEConcealed'concealed'CONCEALEDTerminal CompatibilityTerminalBoldDarkUnderlineBlinkReverseConcealedxtermyesnoyesboldyesyeslinuxyesyesboldyesyesnorxvtyesnoyesbold/blackyesnodttermyesyesyesreverseyesyesteratermreversenoyesrev/redyesnoaixtermnormalnoyesnoyesyesPuTTYcolornoyesnoyesnoWindowsnonononoyesnoCygwin SSHyesnocolorcolorcoloryesMac Terminalyesnoyesyesyesyes
Package: termcolor-logger
Termcolor LoggerAboutA logger with text formatting using
termcolor.PYPI PackageTable of ContentsUsing the libraryInstalling and using the libraryManually install the libraryPrerequisitesInstall the requirementsUpdate PyPI packageLicenseUsing the libraryInstalling and using the libraryFirst, you need to install the library either using pip:$pipinstalltermcolor_loggerThen, import it and use it like so:fromtermcolor_loggerimportColorLoggerfancy_logger=ColorLogger(logger_name='FancyMain',color='blue',on_color='on_red',attrs=['underline','reverse','bold'])ColorLogger.setup_logger(log_path="hi.log",debug=True,clear_log=True)fancy_logger.info("You can customize the logger like this")fancy_logger.info("You can customize each log message differently",color="green",on_color="on_white",attrs=[])Manually install the libraryThese instructions will get you a copy of the project up and running on your local machine for
development and testing purposes.PrerequisitesYou need to have a machine withanacondainstalled and
any Bash based shell (e.g. zsh) installed.$ conda -V
conda 4.10.1

$ echo $SHELL
/usr/bin/zshInstall the requirementsAll the installation steps are being handled by
theMakefile.First, modify the python version (min_python) and everything else you need in
thesettings.ini.Then, execute the following commands:$ make create_env
$ conda activate yaml_config_wrapper
$ make distNow you are ready to use and modify the library.Update PyPI packageThis is mainly for future reference for the developers of this project. First,
create a file called~/.pypircwith your pypi login details, as follows:[pypi]
username = your_pypi_username
password = your_pypi_passwordThen, modify the python version (min_python), project status (status), release version (version)
and everything else you need in
thesettings.ini.Finally, execute the following commands:$ make create_env
$ conda activate yaml_config_wrapper
$ make releaseFor a dev release, change thetesting_versionand instead ofmake release, runmake release_test.LicenseThis project is licensed under the MIT License - see
theLICENSEfile for
details.
Package: termcolor-util
termcolor_utilis a set of functions on top of termcolor for every
single color.Installationpip install termcolor_utilFunctionsdef yellow(text: str, bold=False, underline=False) -> str: ...

def green(text: str, bold=False, underline=False) -> str: ...

def blue(text: str, bold=False, underline=False) -> str: ...

def red(text: str, bold=False, underline=False) -> str: ...

def gray(text: str, bold=False, underline=False) -> str: ...

def cyan(text: str, bold=False, underline=False) -> str: ...

def magenta(text: str, bold=False, underline=False) -> str: ...

def white(text: str, bold=False, underline=False) -> str: ...Beside colors, there is a function for directly printing on the stderr.def eprint(*args) -> None: ...
Package: termcolor-whl
termcolor-whlColorize your console output.This is a fork oftermcolor, originally created so it would have a wheel package.Note that handling of nested colour tokens has been removed in this package. This is to save on an import of a large package (re) and since this is actually not a common usage case.Exampleimportsysfromtermcolorimportcolored,cprinttext=colored('Hello, World!','red',attrs=['reverse','blink'])print(text)cprint('Hello, World!','green','on_red')print_red_on_cyan=lambdax:cprint(x,'red','on_cyan')print_red_on_cyan('Hello, World!')print_red_on_cyan('Hello, Universe!')foriinrange(10):cprint(i,'magenta',end=' ')cprint("Attention!",'red',attrs=['bold'],file=sys.stderr)DisablingAny value in the environment variableANSI_COLORS_DISABLEDwill disable colors.Text PropertiesText colors:greyredgreenyellowbluemagentacyanwhiteText highlights:on_greyon_redon_greenon_yellowon_blueon_magentaon_cyanon_whiteAttributes:bolddarkunderlineblinkreverseconcealedTerminal propertiesTerminal       bold      dark   underline   blink        reverse   concealed
-------------- --------- ------ ----------- ------------ --------- -----------
xterm          yes       no     yes         bold         yes       yes
linux          yes       yes    bold        yes          yes       no
rxvt           yes       no     yes         bold/black   yes       no
dtterm         yes       yes    yes         reverse      yes       yes
teraterm       reverse   no     yes         rev/red      yes       no
aixterm        normal    no     yes         no           yes       yes
PuTTY          color     no     yes         no           yes       no
Windows        no        no     no          no           yes       no
Cygwin SSH     yes       no     color       color        color     yes
Mac Terminal   yes       no     yes         yes          yes       yesLicense and AuthorshipOriginal author: Konstantin Lepakonstantin.lepa@gmail.com, Copyright (c) 2008-2011 Volvox Development Team
Original license: MIT.Original source code repository no longer available, this is a fork of the artifacts published to pypiDocumentsChanges
Package: termcs
TermcsTerminal crypto screener written in PythonFeatures•Install•UsageTable of ContentsFeaturesInstallUsageTable notationFAQCreditsLicenseFeaturesPrice and 24H statistics updates for all BUSD/USDT pairs at BinanceReal-time priceStatistics update every 60 secondsChoose to show BUSD or USDT or both pairsUP/DOWN/BEAR/BULL pairs are excluded from the tableSearch the table with regex compatible patternsFull/mini table modeWhen in mini mode only the top and bottom 15 pairs are shownSort the table by a specific columnCross platformWindows, macOS and Linux ready.(back to top)Requirementspython 3.7.7+InstallpipinstalltermcsRuntermcs(back to top)UsageTo sort the table, simply click on the column headerKeybindingsf- Full/mini table/- Search (by base asset name)Esc- Exit search modeq- Quit back to the terminalPair controlb- Show BUSD pairs onlyt- Show USDT pairs onlyo- Show both pairsp- Show/hide quote asset name(back to top)Table notationColumnDescriptionPriceCurrent price (USD)ChangeThe difference between the current price and the price 24 hours ago (percentage)HighHighest price for the last 24 hours (USD)LowLowest price for the last 24 hours (USD)High ChangeThe difference between the current price and the highest 24 hour price (percentage)Low ChangeThe difference between the current price and the lowest 24 hour price (percentage)VolumeTrading pair volume for the last 24 hours(back to top)FAQQ: What's determine the asset pair when both pairs are presented in the table ?A: The pair with the higher volume.Q: Why there is a note "CHANGE PAIR RESTRICTION ENABLED" above the table ?A: There is a limit of (approx) 27 times you can press theb/t/okeys in one minute, it is done in order to respect the API limit usage and avoid bansRead more(back to top)CreditsThis software uses the following open source packages:textualrequestswebsocketsLicenseMIT(back to top)
Package: termcursor
termcursorHiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library onlyQuickstartRequirementsThis module use Python Standard Library only. Python version should be higher than3.10Installpip install termcursorHow to UseThis code works as module not a script.Module level importimport termcursor

# hiding the console cursor
termcursor.hidecursor()

# showing the console cursor
termcursor.showcursor()Function level importfrom termcursor import hidecursor, showcursor

# hiding the console cursor
hidecursor()

# showing the console cursor
showcursor()Helpimport termcursor

help(termcursor)ExamplesModule level importExample is available in theexample.pyFunction level importExample is available in theexample2.pyLicenseThe content of this repository is licensed underMIT license. For more details, checkLICENSE
Package: termdoro
TermdoroTermdoro is pomodoro in your terminal.Default ConfigurationWork: 25 minutesBreak: 5 minutesLong break: 15 minutesLong break after 4 sessionsTotal of 6 sessionsInstallationpip3 install termdoroUsageusage: termdoro [-h] [-n] [-s [FILE]] [-c | -H | -v] [TIME]pomodoro in your terminaloptions:-h, --help            show this help message and exit-c, --config          change pomodoro configuration-H, --history         show pomodoro history-v, --version         echo pomodoro versiontime:TIME                  starts a countdown to TIME. example values for TIME:10, '1y 10d 1h 5m 30s', '1 January 4:00 PM'-n, --notify          enable notifications-s [FILE], --sound [FILE]enable sound with optional FILENotesIf sound does not work installPyObjC.pip3 install PyObjC
Package: termdraw
termdraw - ASCII/Unicode data visualizertermdrawis a utility written in Python 3 that draws CSV data of formx,yas text graphs.Usage examples$catdata.csv0,41.4926053108513461,-61.905127692725292,-5.7054605355786243,-45.407386938812864,48.577336839881415,-11.092760514504916,-48.8576465277998867,20.023805948749748,3.82654984234285689,-4.9930066927632170,17.5349543374023681,-12.0483998879894332,-67.664490620648243,33.38478442185314,36.730109005543925,62.3156662982267456,-59.4963172729868657,74.937459965367518,-7.8672243230686839,51.88925397139964$termdrawdata.csv••••••••••••••••••••Assume data.csv contains a list of (x,y) points, graph those points, print the
result to stdout.$termdrawdata.csv--width=10-h5•••••••••••••••••••Draw graphs with dimensions of 10 characters’ width and height of 5 lines.$echo"1,2 2,3 3,4;4,5"|termdraw-••••Read standard input and graph x,y points. Data received via stdin must have the
following format:x,y[%Sx,y…], where %S is a separator (a single space or
semicolon).$echo"1,2 2,3 3,4 4,5"|termdraw--aooooOnly use ASCII symbols in output.$termdrawdata.csv-s▁█▂██▄▇▃███████████████▄██▄▇█████████████████████▁█████████████Draw a solid graph (fills values at or below the points).$termdrawdata.csv-si▁█▂▄▆▇██▄▄▇▃▅██████▃██▆██▆▄████████▆████▂█████▅▅██████████████▄███████▄▅▆▇███████████▄▆█████████████████████████████████████████████████████████▁████████████████████████████████████████Draw a graph with linear interpolation between points.$termdrawdata.csv--print-pathsdata.csv••••••••••••••••••••Print file paths on a separate line before printing their graphs.$termdraw--helpUsage:termdraw.py[options]file.csvDrawahuman-friendlyCLIgraphwithUnicodesymbols.--helpPrintthishelpmessageandexit-wX,--widthXLimitgraphwidthtoXcharacters-hY,--heightYLimitgraphheighttoYlines-i,--interpolateEnableinterpolation-n,--no-interpolateDisableinterpolation-s,--solidDrawsolidgraph(withcolumns)-p,--pointDrawpointgraph(withpoints)-a,--asciiOnlyuseASCIIsymbols-ofile,--outputfileWritetofileinsteadofstdout--print-pathsPrintfilenamesbeforegraphsPrint a help message.