Saravanan666/pypi-org huggingface dataset:
Package: termslime
TermslimeTermslime displays images in your terminal with true colors.ContentsRequirementsInstallationUsageCreditsRequirementsA terminal emulator with true color support.Python >= 3.7.InstallationInstall withpipx(recommended):pipxinstalltermslimeOr install with pip:pipinstalltermslimeUsageusage: tslime [-h] [-hl HEIGHTLIMIT] [-wl WIDTHLIMIT] [-bp BEGINPADDING] [-ep ENDPADDING] [-lp LEFTPADDING] path

Termslime displays images in your terminal with true colors. Project home page: https://github.com/garyzbm/termslime

positional arguments:
  path                  path to an image file or a directory containing image files

options:
  -h, --help            show this help message and exit
  -hl HEIGHTLIMIT, --heightLimit HEIGHTLIMIT
                        maximum number of lines of blocks to display the image in the terminal
  -wl WIDTHLIMIT, --widthLimit WIDTHLIMIT
                        maximum number of blocks per line to display the image in the terminal
  -bp BEGINPADDING, --beginPadding BEGINPADDING
                        number of empty lines before the image
  -ep ENDPADDING, --endPadding ENDPADDING
                        number of empty lines after the image
  -lp LEFTPADDING, --leftPadding LEFTPADDING
                        number of empty spaces at the beginning of each line of the imageCreditsThis project is greatly inspired bythis post.The following projects are crucial to the development of this project:colorfulpillowpoetryThis project is published underMIT.AGary Zhangproject.- :tada: -
Package: termsnake
TermSnakeA Python package that creates a nice snake game for your terminal.InstallationTo install TermSnake onto your system, runpip install termsnakein your terminal.If the command errors out, trypip install git+git://github.com/Python3-8/termsnake.If the second command errors out too, clone the GitHub repo for TermSnake, move thetermsnakefolder toyour Pythonsite-packagesdirectory, copy thetermsnake/snake.pyfile to your Pythonbindirectory,rename thesnake.pyfile in your Pythonbindirectory tosnake, and runchmod +x <PYTHON_BIN_DIR>/snakein your terminal.UsageThe following command on your terminal will run the TermSnake snake game.$snakeContactYou may contact the developer of TermSnake at:pranav.pooruli@gmail.com
Package: termsquery
Boolean Search for Python ContainersLibrary to make simple boolean queries for python string containers (e.g. sets or lists).
E.g. query built from expression 'Alice & Bob & ~John' can be applied to any container to check if it contains strings 'Alice' and 'Bob' and not contains 'John'.Base example:#!/usr/bin/env pythonfromtermsqueryimportTermsQueryquery=TermsQuery('Alice & (Bob | "Unknown user")')container1={'Alice','Unknown user'}container2={'Bob'}assertTrue==query(container1)assertFalse==query(container2)Library can be used to tag collection of documents: create query for each tag
and apply that query for document words.Simple tagging example:#!/usr/bin/env pythonfromtermsqueryimportTermsQuerytags={'A-not-B':TermsQuery('A & ~B'),'X-and-Y':TermsQuery('X & Y')}docs=['A is the first letter of ...','A and B letters, X and Y letters']fordocindocs:words=doc.split()doc_tags=[namefor(name,query)intags.items()ifquery(words)]print(doc,doc_tags)
Package: termstree
Terms Tree LibraryLibrary to buildterms treefrom indented text file and to search terms in that tree.May be used for text labeling/classification tasks.See also:termstree libraryExampleDemo Script:importtermstreeTERMS_TREE_SRC="""# commentAsiaJapanTokyo [url="https://en.wikipedia.org/wiki/Tokyo"]OsakaChinaBeijingShanghaiEuropeEnglandLondonGermany [url="https://en.wikipedia.org/wiki/Germany"]BerlinMunich"""terms_tree=termstree.build(TERMS_TREE_SRC,terms_normalizer=None)text='During the 16th century, Munich was a centre of the German counter reformation. Europe ...'forhitinterms_tree.search_in(text):print(hit)Result (list of 'hits' - terms found in the text):Hit(node=Node('Munich'), dhits=1, ihits=0)
Hit(node=Node('Europe'), dhits=1, ihits=1)
Hit(node=Node('Germany', {'url': 'https://en.wikipedia.org/wiki/Germany'}), dhits=0, ihits=1)Every hit corresponds to a term from terms tree and has next attributes:node - found termdhits (direct hits) - number of direct term occurrences in the textihits (indirect hits) - number of term's children occurrences
Package: termstyle
Note: This package has been built automatically byzero2pypi.
If possible, you should use the zero-install feed instead:http://gfxmonk.net/dist/0install/python-termstyle.xmltermstyletermstyle is a simple python library for adding coloured output to
terminal (console) programs.  The definitions come fromECMA-048, the
“Control Functions for Coded Character Sets” standard.Installation:I thoroughly recommend using the zero-install feed (see the project homepage) to manage your dependencies if at all possible.zero-installprovides a much better system than pip or easy_install, and works with absolutely any language and allows decentralised package management that requires no special privileges to install.Example Usage:from termstyle import *
print "%s:%s" % (red('Hey'), green('how are you?'))
print blue('How ', bold('you'), ' doin?')or, you can use a colour just as a string:print "%sBlue!%s" % (blue, reset)Styles:reset or default (no colour / style)colour:black
red
green
yellow
blue
magenta
cyan
whitebackground colour:bg_black
bg_red
bg_green
bg_yellow
bg_blue
bg_magenta
bg_cyan
bg_white
bg_defaultIn terminals supporting transparencybg_defaultis often used to set
the background to transparent[1].weight:bold
invertedstyle:italic
underscoreControls:auto() - sets colouring on only if sys.stdout is a terminal
disabe() - disable colours
enable() - enable colours[1]Supporting terminals includerxvt-unicode, andEterm.
Package: termtables
The tables have termed.termtables is a lightweight Python 3 package for pretty-printing tables on the command
line. Install withpip install termtablesThe codeimporttermtablesasttimportnumpynumpy.random.seed(0)data=numpy.random.rand(5,2)tt.print(data)# tt.to_string(data) returns the stringproducesYou can control border style, padding, alignment, and various other attributes. For
example,importtermtablesasttheader=["a","bb","ccc"]data=[[1,2,3],[613.23236243236,613.23236243236,613.23236243236]]tt.print(data,header=header,style=tt.styles.markdown,padding=(0,1),alignment="lcr")produces| a               |       bb        |             ccc |
|-----------------|-----------------|-----------------|
| 1               |        2        |               3 |
| 613.23236243236 | 613.23236243236 | 613.23236243236 |which is useful for copy-pasting into websites that support Markdown (like GitHub).Seetest/test_termtables.pyfor more examples.If the styles intermtables.stylesthin
thin_thick
thin_double
rounded
rounded_thick
rounded_double
thick
thick_thin
double
double_thin
booktabs

ascii_thin
ascii_thin_double
ascii_double
ascii_double_thin
ascii_booktabs

markdownaren't good enough for you, simply provide your own
style as a string of length  11 or 15 (the extra 4 including header-separating
characters). For exampleimporttermtablesasttheader=["a","bb","ccc"]data=[[1,2,3],[613.23236243236,613.23236243236,613.23236243236]]tt.print(data,header=header,style="x0123456789abcd")produces1xxxxxxxxxxxxxxxxx7xxxxxxxxxxxxxxxxx7xxxxxxxxxxxxxxxxx2
0 a               0 bb              0 ccc             0
abbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbbbbbcbbbbbbbbbbbbbbbbbd
0 1               0 2               0 3               0
5xxxxxxxxxxxxxxxxx9xxxxxxxxxxxxxxxxx9xxxxxxxxxxxxxxxxx6
0 613.23236243236 0 613.23236243236 0 613.23236243236 0
3xxxxxxxxxxxxxxxxx8xxxxxxxxxxxxxxxxx8xxxxxxxxxxxxxxxxx4TestingTo run the termtables unit tests, check out this repository and typetoxOther software for terminal tablesRichLicenseThis software is published under theGPL-3.0
license.
Package: termtitle
End user Installation via Homebrewbrew install termtitleIf it is not accessable, trybrew installhttps://raw.githubusercontent.com/grimmer0125/homebrew-core/termtitle/Formula/termtitle.rbEnd user Installation via pipThare are several ways to install, and it depends on your Python environment and preference.1. default system python + install globally (accessable for each user)sudo pip install termtitle2. default system python + install in current user folderpin install--usertermtitle.But you need to add Python bin directories to PATH,test it first,python2.7-msite &> /dev/null &&PATH="$PATH:`python2.7-msite--user-base`/bin"(ref:https://stackoverflow.com/a/48380776/7354486)termtitle random_titleif you see your titles change, then you can permanently change your PATH,echo 'exportPATH="$PATH:`python2.7-msite--user-base`/bin"'>>~/.bash_profile3. Python3+pip3 (which might be from “brew install python3”)pip3 install termtitle.4. non system Python of pyenvpip install termtitle.UsageIf you are using zsh and this package does not take effect, you might need to setDISABLE_AUTO_TITLE=”true”in~/.zshrcand restart shell to try again.termtitle demo_project_roottermtitle 這是秘密的鋼彈計劃termtitle サイボーグ009のメンバーtermtitle ""# reset the title to emptyDevlocal test:Install:python setup.py installUninstall:pip uninstall termtitlepublish:changeversion="x.y.zinsetup.pypython setup.py check--restructuredtext-sdo some check before publishingpython setup.py sdistUse twine to publish:twine upload dist/*
Package: termtools
## A set of terminal tools that helps building apps that look nice on the terminalThis is a simple library for controllingtextappearance and placement on terminals.
It provides also an advanced progress bar library.The main advantages of the progress bar library included here are the
following:Easily show multiple progress bars controlled independentlyControl the placement of the bars anyplace on the screenControl the appearance of the bars using a simple markup like interfaceWhen no information about the actual progress is available (which happens
alot in datascience applications), it is possible to just indicate that the system is not stuck
Package: termtris
termtrisA Tetris game in character terminal evironment.Installation & RunUsespipto install the package:pip3 install termtrisRuns commandtermtrisorttafter installed, then enjoy!BackgroundI wrote this game when I was learningPythonlanguage a few months ago. As a learning practice, it's not about business, but just for fun and to reminisce about the past.The game package dependent on my another Python packageltermio, no other third-party packages required. In fact, theltermiois its by-product.I also wrote an AI enginetzerofor the game, withC++language andctypeslibrary, but it consumes too much computing power and doesn't run very well, so I termporarily removed this part of code from the package.
Package: termutils
TermutilsTermutils is a small package developed for convenience. The functions allow for quick clearing of the terminal, printing a string letter by letter, etc. This small open source package was developed to speed up your workflow and, overall, make your life easier.Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.InstallingInstalling for developmentDownload the latest releasehereORFork this repositoryEdit the module as you likeIf you want your changes to make the official version, you can contact mehereInstalling for general usagerunpip install termutilsNote: To update,pip install termutils --upgradeBuilt WithAuthorsSteven Tautonico-Initial work-tman540LicenseThis project is licensed under the MIT License - see theLICENSE.mdfile for detailsAcknowledgmentsHat tip to anyone whose code was usedInspirationetc
(There's nothing here yet)
Package: termux-api
termux-apitermux-api is here, made with :heart:What is termux-api?termux-api is a python module to access thetermux-apiThis provides a way to get native access in Python to Android device functionality as API.Most of thetermux-api implementationsare directly available.
The API.generic() method gives direct access to any other method that has not yet been implemented.Special thanksThanks to termux and termux-api for making all this possible.
This module is heavily inspired byhttps://github.com/azwyane/pimux, though the code has been
almost completely re-written and now is much more comprehensive. Also, special thanks for recent contribution fromYoung-LordThis project is originally located attermux-apiTable of ContentsRequirementsInstallationFeaturesContributingRequirementsTermux appTermux-api (both app and package)Python installed in termux ($ pkg install python)Installation🚀  Android install through termux:Method-1Install by pipThe stable version is available in the Pypi, which you can download by:$ python3 -m pip install termux-apiMethod-2You can always get the latest version of termux-api maintained here in the github.Clone this repo to your local machine(termux) usinghttps://github.com/shajul/termux-api.gitGoto to your terminal and type:$gitclonehttps://github.com/shajul/termux-api.git
$python3-mpipinstallwheel
$python3-mpipinstalldist/termux_api*.whlOr you can add this to site packages by first building it first:$ python3 setup.py sdist bdist_wheel
$ python3 -m pip install -e <path to termux_api*.whl>Finally, you have it installed.Run the projectNow to run the termux-api type in your terminal:$python
>>>importtermux
>>>termux.API.vibrate()>>>help(termux.API)#for available methodsAvaliable modules are
API, Camera, Clipboard, Media, Microphone, Notification, Scheduler, Sensors, Share, Telephony, TTS, UI, WifiOR$python
>>>fromtermuximport<Module>
>>>API.vibrate()>>>help(API)# for details of available methodsContributingStep 1Option 1🍴 Fork this repo!Option 2👯 Clone this repo to your local machine usinghttps://github.com/shajul/termux-api.gitStep 2HACK AWAY!Step 3🔃 Create a new pull request usinghttps://github.com/shajul/termux-api/compare.Found a bug? Missing a specific feature?You can file an issue.
If you already found a solution to your problem,I would love to review your pull request!
Package: termux-apt-repo
termux-apt-repoScript to createTermuxpackage repos.It can be used to publish cross-compiled packages created using theTermux build setupor
with packages created (possibly on-device) withtermux-create-package.Usage instructionsIn Termux, install withpkg installtermux-apt-repoand execute
as:termux-apt-repo [-h] [--use-hard-links] input output [dist] [comp]

positional arguments:
input             folder where .deb files are located
output            folder with repository tree
dist              name of distribution folder. deb files are put into
                  output/dists/distribution/component/binary-$ARCH/
comp              name of component folder. deb files are put into
                  output/dists/distribution/component/binary-$ARCH/

optional arguments:
-h, --help        show this help message and exit
--use-hard-links  use hard links instead of copying deb files. Will not work
                  on an android device
-s --sign         sign repo with GPG keyWhen using outside Termux (the script should work on most Linux
distributions), install withpip3 installtermux-apt-repo.All the .deb files in the first directory will be published to a newly
created APT repository in the second directory (which will be deleted if
it exists, so take caution).Publishing the generated folderThe published folder can be made available at a publicly accessible$REPO_URLusing any method:By running termux-apt-repository on a web server directly.Using rsync:rsync--delete-r<apt-repository-directory>your.host:path/to/folder.Creating a zip or tar file and unpacking it at a web server.Any other creative way.It can also be published using e.g.GitHub
pages.Accessing the repositoryWith the created<apt-repository-directory>available at$REPO_URL, users can access repo by creating a file:$PREFIX/etc/apt/sources.list.dcontaining the single line:deb [trusted=yes] $REPO_URL $dist $comp[trusted=yes]is needed if the repo has not been signed with a gpg key.
To sign it, pass--signargument. The signing key then has to be imported by
the user to make apt trust it.
Package: termux-banner
Installation$pipinstalltermux-bannerFeaturesbanner,Menu Options for Termux Bannerlogo,Menu Options for Termux BannerHow to Usebanner,Type in Termux...Menu Options :$ banner

blink
blink-fast
box
evilbox
remove
add
about


Created by Parixit Sutariya
Github : github.com/Bhai4You
Youtube : youtube.com/BullAnonymousTermux-Banner
Package: termuxgui
Termux:GUI Python BindingsA Python library to interact with the Termux:GUI plugin.Seeherefor a tutorial
andherefor using the more object-oriented subpackage.There is alsodocumentationgenerated from the docstrings.Installing and updating:Just usepip install termuxguito install from pypi.LicenseThe license is theMozilla Public License 2.0.TL;DR: You can use this library in your own projects, regardless of the license you choose for it. Modifications to this library have to be published under the MPL 2.0 (or a GNU license in some cases) though.
Package: termuxguide
Installation :pip install termuxguide && termuxguideFeatures :termuxguide, ** Termux guide tool  **How to install :$ pkg install python -y
$ pip install termuxguide
$ termuxguideRun :$ termuxguideDisclaimer :We are not responsible for your loss by this tool.
this tool is made for Education/Learning Purpose.
Dont harm anyone using this tool.About Us :Created by Parixit Sutariya
Github : github.com/Bhai4You
Blogspot : https://bhai4you.blogspot.com
Package: termuxguru
Installation$pipinstalltermuxguruFeaturestermuxguru,Install Latest Termux Guru apkHow it works$ termux-setup-storage
$ pip install termuxguru
$ termuxguru

- first command for give storage permission to termux.
- second command for installation of termuxguru
- third command for donwload latest apk from server.

- Delete /sdcard/Termux-Guru folder for Re-Download.


Created by Parixit Sutariya
Github : github.com/Bhai4You
Youtube : youtube.com/BullAnonymous
Blogspot : https://bhai4you.blogspot.comGithub
Package: termux-language-server
termux-language-serverLanguage server for some specific bash scripts:AndroidTermuxbuild.sh*.subpackage.shArchLinux/WindowsMsys2PKGBUILD*.installmakepkg.confGentoo*.ebuild*.eclassmake.confcolor.mapThis language server only provides extra features whichbash-language-serverdoesn't support:Diagnostic:errorrequired variablesvariable type: string/array/functionvariable valueswarningvariable orderunsorted valuesstyle checkPKGBUILD: bynamcapDocument Formatting:sort variablessort valuesDocument Link:build.sh:https://github.com/termux/termux-packages/tree/master/packages/package_name/build.shPKGBUILD:ArchLinux:https://archlinux.org/packages/package_nameWindows Msys2:https://packages.msys2.org/base/package_nameebuild:https://packages.gentoo.org/packages/package_nameHoverCompletionbuiltin variablespackage namesbuild.shPKGBUILD: bypyalpmebuildCode ActionPKGBUILDgenerate a template by the name of directory containingPKGBUILD, the
templates comes from:customized by userpip2pkgbuildcpan2aurgem2archarch-hsupdate.SRCINFObymakepkg --printsrcinfo > .SRCINFOupdatepkgsumsbyupdpkgsumsupdate version by anvcheck.tomlto tell this
program where to search new version:[package_name]source="github"github="author_name/repo_name"use_max_tag=trueOther features:pre-commit-hookslinterformatterScreenshotsDiagnosticDocument LinkHoverCompletionHow Does It WorkSeehere.Readto know more.
Package: termuxlogin
Installation$pipinstalltermuxlogin
$bashtermuxlogin*Featuresbash termuxlogin,- Install Termux loginbash termuxlogout,- Uninstall Termux loginHow it works$ bash termuxlogin
$ Enter new password : bhai4you
$ Repeat password : bhai4you
$ Login installed
$ Restart Termux and Enjoy ;)


Created by Parixit Sutariya
Github : github.com/Bhai4You
Blog : bhai4you.blogspot.com
Package: termux-python
termux_pythontermux_pythonprovides python bindings forhttps://wiki.termux.com/wiki/Termux:APIand other termux scripts.InstallThis package is available via pip:pip install termux-pythonFor development purposes, usepoetry:gitclonehttps://github.com/mlvl42/termux_pythoncdtermux_python
poetryinstallExampleThe following example shows how some bindings could be used in a python script. Checkthe list of supported
APIsas well
as the content ofthe original termux-api scriptsto understand how to use the bindings.importtermuximporttextwrap# retrieve various device infosprint(termux.wifi_connectioninfo())print(termux.camera_info())print(termux.telephony_deviceinfo())# pretty print last 100 smsmessages=termux.sms_list(limit=100)forminmessages:if'sender'inm:print(f"{m['sender']}:")else:print(f"{m['number']}:")wrap=textwrap.TextWrapper(initial_indent='\t',subsequent_indent='\t')body=wrap.fill(m["body"])print(body)# send a messagetermux.sms_send("sending an sms from python","+01020304050")# perform an action if the fingerprint matchesret=termux.fingerprint(title="Restricted action",desc="Analyze your fingerprint")ifret['auth_result']=='AUTH_RESULT_SUCCESS':print("Access granted")else:print("Access denied")# text to speechtermux.tts_speak("job's done !")
Package: termwriter
termwriter-pyOrganize your terminal outputMotivationDumping a ton of information to the terminal usingprint()can cause the data
you want to see on the screen to scroll up, away from the visible terminal
area.  This can be particularly frustrating because today's monitors have a lot
more horizontal screen space but the data scrolls away vertically.  What ifprint()can better organize the output to maximize the screen real estate?ExampleSeeexample.pyfor an example code. Below is its output.================================ Example Output =================================
Some description goes here.

-------- My First Box -------- ----------------- My Second Box ------------------
This is a text box.            This is another text box.
                               You can have a second line
                               and it stays in the second box.

--------------- My Third Box ---------------- ---------- My Fourth Box ----------
This box is to the right of the second box.   This box stretches to fit the row
Unless you have a narrow screen --            because we draw SoftBreak()
then the box wraps to the next row

------- My Fifth Box -------- ------ My Sixth Box ------ ---- My First Table ----
Notice the rows are jusified. You can also have tables.    # First Name Last Name
                                                         --- ---------- ---------
                                                           1 John       Doe
                                                          10 Jane       Doe
                                                         100 John       Public

----- My Eighth Box -----
You can also nest boxes.
Below is a table box.

Name:  John Q. Public
Tel:   +1 111 555 3333
Email: nobody@nowhere.comDocumentationSeedocumentation.LicenseApache 2.0