Saravanan666/pypi-org huggingface dataset:
Package: i3pystatuscontrib.elisaroaming
i3pystatus-elisaroamingModule fori3pystatusfor showing roaming quota information from OmaElisa.Requires PyPI packagerequestsUsageInstall from PyPIpip install i3pystatuscontrib.elisaroamingAdd module to your configuration filefromi3pystatuscontrib.elisaroamingimportElisaRoamingstatus.register(ElisaRoaming,email="",password="",number="")Module settingsformatcolorcolor_warning: Color when data usage over warning_percentage threshold. Optionalwarning_percentage: Percentage threshold for data usage, 0.0 - 1. Optionalemail: OmaElisa email/usernamepassword: OmaElisa passwordnumber: Target phone numberAvailable formatters{used}amount of quota used in gigabytes{total}amount of total quota in gigabytes{free}amount of data left in gigabytes{used_percentage}percentage of data used
Package: i3-quickterm
i3-quicktermA small drop-down terminal fori3wmandswayFeaturesuse your favourite terminal emulatorcan select a shell withdmenu/rofiadapt to screen widthmulti-monitor awareInstallationVia pip:pip install i3-quicktermOr check the the repology badge above to check if it is packaged by your distribution.UsageWhen launched, it will minimize the quickterm on the current screen if there is one.  Otherwise, it will either prompt the user for the shell to open or use the one supplied in argument.If the requested shell is already opened on another screen, it will be moved on the current screen.It is recommended to map it to an i3 binding:# with prompt
bindsym $mod+p exec i3-quickterm
# always bring up standard shell, without the menu
bindsym $mod+b exec i3-quickterm shellConfigurationThe configuration is read from~/.config/i3-quickterm/config.jsonor~/.config/i3/i3-quickterm.json.menu: the dmenu-compatible application used to select the shellterm: the terminal emulator of choicehistory: a file to save the last-used shells order, last-used ordering is disabled if set to nullratio: the percentage of the screen height to usepos: where to pop the terminal (toporbottom)shells: registered shells ({ name: command })termcan be either:the name of a terminal from thesupported list.autoto select the first existing terminal of the list above (only to provide friendler defaults, not recommended otherwise)a format string, like this one:urxvt -t {title} -e {expanded}with the correct arguments format of your terminal. Some terminals, like xfce4-terminal need the command argument to be passed as a string. In this case, replace{expanded}by{string}menu,term,historyandshellcan contain placeholders for environment variables:{$var}.Unspecified keys are inherited from the defaults:{
    "menu": "rofi -dmenu -p 'quickterm: ' -no-custom -auto-select",
    "term": "auto",
    "history": "{$HOME}/.cache/i3-quickterm/shells.order",
    "ratio": 0.25,
    "pos": "top",
    "shells": {
        "js": "node",
        "python": "ipython3 --no-banner",
        "shell": "{$SHELL}"
    }
}Supported terminalsalacrittyfootgnome-terminalkittyroxtermstterminatortermiteurxvturxvtcxfce4-terminalxtermIf you'd like to add another terminal (or correct an error), please open a pull request.Requirementspython >= 3.8i3 >= v3.11 or sway >= 1.2i3ipc-python>= v2.0.1dmenu or rofi (optional)
Package: i3smartfocus
i3smartfocusi3smartfocuscan be used in place of the default i3wm focus in order
to restore a more natural way of moving focus.The default focus behavior will focus on the last focused window inside
a container (which might not be the chosen direction) instead of honoring
the direction chosen.i3smartfocusfixes this.Installationsudopip3installi3smartfocusOr simply copyi3smartfocus.pysomewhere in your path.UsageEdit your i3 config~/.config/i3/configand replace the default focus toolbindsymMod1+Leftexec--no-startup-id"i3smartfocus left"bindsymMod1+Downexec--no-startup-id"i3smartfocus down"bindsymMod1+Upexec--no-startup-id"i3smartfocus up"bindsymMod1+Rightexec--no-startup-id"i3smartfocus right"#bindsym Mod1+Left focus left#bindsym Mod1+Down focus down#bindsym Mod1+Up focus up#bindsym Mod1+Right focus rightContributionIf you are having trouble installing or usingi3smartfocus, open an issue.If you want to contribute, feel free to do a PR (please follow PEP8).LicenseThis project is licensed under the terms of the GPLv3 license.
Package: i3-swallow
SwallowUsed to swallow (send to the scratchpad) a terminal window after a blocking application is run in i3 window managerInformationThis repo just packagesjamesofarrell/i3-swallowscript usingPoetryso it can be install usingpipRequirementsUnix system with i3 window manager, or i3 compatible window manager such as swayPython3.x+Python3.x+ PipInstallation Instructionpipinstall--useri3-swallowUsageswallow-hLicenseThis Project is licensed under the MIT License. Check license file for more info.
Package: i3-switch
i3-switchi3 script to switch between windows in history.This script is inspired byi3-swap-focus.It provides a configurable history length and supports consecutive switching within the history.
Besides, it can skip the closed windows, windows in scratchpad, or windows not in the current workspace.Installationpip install i3-switchConfigurationAdd the following lines to your i3 config file:# Start i3-switch process
exec i3-switch

bindsym $mod+Tab exec pkill -USR1 -F "/tmp/i3-switch.pid"
# Switch in the same workspaces
# bindsym $mod+Tab exec pkill -USR2 -F "/tmp/i3-switch.pid"To change the options for i3-switch in your i3 config:exec i3-switch --max-len 1000 --timeout 400Consecutive SwitchingWhen switching before it times out,
the history within the consecutive switch won't be recorded.For example, at first the records areDCBA,
after switch twice consecutively,
it should becomeBDCA.Internally, the process is as follows:DCBA->CDCBA->BCDCBA->BDCA(cleanup after timeout).
This process is necessary because the signal itself is stateless,
so the state is kept in the history.OptionsNameDescriptionDefault--max-lenMax length of the window deque100--timeoutTimeout for consecutive switching in milliseconds500
Package: i3visiotools
================================================================
i3visiotools  Copyright (C) 2014  F. Brezo and Y. Rubio, i3visio
================================================================Description:i3visiotools is a GPLv3+ library developed by i3visio to make it easy to
develop new tools and wrappers for different i3visio applications and
libraries.License: GPLv3+This is free software, and you are welcome to redistribute it under
certain conditions.This program 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, see <http://www.gnu.org/licenses/>.For more details on this issue, check the COPYING file.Installation:The instructions may vary in the different OS.Under LinuxWe recommend you to create a folder under /var owned by the current
user. For instance:# You will need superuser privileges to create this folder  sudo mkdir /var/i3visio # You will need to change the owner to your user to work with it safely # If your user was alice sudo chown alice:alice /var/i3visioThe rest of the installation under Python 2.7 is as follows:# Navigate to the destiny's folder cd /var/i3visio # Cloning the repository git clonehttp://github.com/i3visio/i3visiotoolsi3visiotools-mastercdi3visiotools-masteror# Navigate to the destiny's folder cd /var/i3visio # Download wgethttp://github.com/i3visio/i3visiotools/archive/master.zip# Unzip unzipi3visiotools-master.zipcdi3visiotools-masterThen, you might have to copy the sample files in i3visiotools folder to
add your
own credentials or API Keys. You might edit with your preferred text
editor.cp config_credentials.py.sample config_credentials.py nano config_credentials.py cp config_api_keys.py.sample config_api_keys.py nano config_api_keys.py cd ..Then you can proceed to the installation.# Superuser privileges are required so as to complete the installation. sudo python setup.py build sudo python setup.py installAfterwards, the module will be importable from any python code. You can
check this by typing:python-c"import i3visiotools"If no error is
displayed, the installation would have been performed correctly.
Package: i3wins
i3wins/i3lastsAs the name might suggest, this is a wrapper to rofi acting as a window-switcher.I found-show windowoption to be quite slow, and would often get in the way. On another topic, I use i3 in an XFCE environment (for the PM and such)… and the virtual desktops would conflicts, and be generally weird.i3wins is fast and won't get in the way.i3lasts is also a window-switcher, but it keeps track of your focused windows through time. It's insanely effective if you go back and forth a lot. It comes as a server (which need to be running at all time) / client as i3 won't keep track of those.Pre-requisitesi3rofia working python3 environment can helplibi3ipc (libi3ipc-glibon ubuntu/debian)InstallationI recommand using some virtual environments.python3-mvenvnew_foldersourcenew_folder/bin/activate
pipinstalli3wins
deactivateIf you're a more yolo-oriented person :pip install --user i3winsYou can now run :new_folder/bin/i3winsHelp !No help. All options you give to i3wins are directly sent to rofi.Check rofi manpage.SettingsHere's a snippet from my i3 config:i3winsbindsym Mod1+Tab exec "/home/fuzzy/.local/share/virtualenvs/i3switch/bin/i3wins -kb-row-down 'Down,Control+n,Alt+Tab' -kb-accept-entry '!Alt+Tab,!Alt_L,!Alt+Alt_L,Return'"i3lastsbindsym Mod1+space exec "/home/fuzzy/.local/share/virtualenvs/i3switch/bin/i3lastc"
[...]
exec --no-startup-id "/home/fuzzy/.local/share/virtualenvs/i3switch/bin/i3lasts -kb-row-down 'Down,Control+n,Alt+space,space' -kb-accept-entry '!Alt+space,!Alt_L,!Alt+Alt_L,Return'"Feel free to use it as-is. Or modify it into oblivion.Some explanation on the i3 configLong story made short :Faster mode : Hold Alt, then press Tab as many times as needed, when you're where you want : release TabthenAlt.Not so fast : Hold Alt, then press Tab and release Alt while still holding Tab : the window will stay there, you can search text, scroll, validate with a single press on Alt, or the good'ol Enter key(the spacebar has the same behavior)You'll get used to it.More swagKeysHave you noticed desktops are displayed with d1, d2, d3, … And that windows are numbered in the relevant order with 'w' ?Have you noticed how close d and w are close to the tab key ?… just saying.EyesCurrent desk is pinkCurrent window is yellowI think you're coolHave a mojito.Colors are hardcoded and were set by yours truly for ecstatic co-workers' high-fives and maximum swaginess in every situation. But they're still designed for darker themes of rofi.TodoHandles URGENCY,tags Fullscreen windows as such,deal with vim-marks and more i3-specific concepts (tree depth for examples).show current desktop windows in the right order (they are in reverse currently)Support for rofi 1.5.4 (allows icons in dmenu mode)
Package: i3-workscreen
This utility is for users using i3wm on their laptops who frequently jump between multiple (multi-)monitor setups.For example single display output when you are on road, triple-monitor setup at work and two-monitor setup at home.i3-workscreenexecutable provided by this package should be triggered byudevrule which will listen for specific events caused by plugging/unplugging display output cable(s) (eg.:HDMI). The utility will then enable configured display outputs and reassign existing workspaces based on yourjsonconfiguration.An example of theudevrule is provided in the root of the git repository and should be EDITED by the user and copied to/etc/udev/rules.d/98-monitor-hotplug.ruleson you system.You may also need to executei3-workscreenin your.i3/configas theudevevent is emitted way too early on a system startup before theX.orgserver is running.exec--no-startup-id"i3-workscreen"Installation:/home/user>pipinstallgit+https://github.com/fogine/i3-workscreen.git# or/home/user>pipinstalli3-workscreenDependencies:i3-msgxrandr(xlib)python 3.5logger(write messages into the system log)Configuration:/home/user>i3-workscreen-husage:i3workscreen.py[-h][--toggle]Requiredconfigurationfileisfetchedfrom:`$HOME/.config/i3-workscreen/config.json`optionalarguments:-h,--helpshowthishelpmessageandexit--toggleTogglesbetweenmirrored&extendeddisplaymodeThe bellow configuration example shows setup of maximum of three monitors. In this caseeDP-1is my laptop screen andHDMI-1&DP-1are external monitors.Four scenarios may happen with the configuration:eDP-1connected,HDMI-1&DP-1disconnectedIn this case all workspaces are assigned to the single screeneDP-1connected,HDMI-1connected,DP-1disconnectedIn this case workspaces 1-5 belong toeDP-1and workspaces 6-0 belong toHDMI-1eDP-1connected,HDMI-1disconnected,DP-1connectedIn this case workspaces 1-5 belong toDP-1and workspaces 6-0 belong toeDP-1eDP-1connected,HDMI-1connected,DP-1connectedIn this case workspaces 1-5 belong toDP-1and workspaces 6-0 belong toHDMI-1.eDP-1was stolen all workspaces by higher priority outputs and becausedisableEmptyOutputs=true,eDP-1display output will be disabled. if the option was set tofalse, the output would be enabled and you could interact with the connected monitor andi3would assign to it firstemptyworkspace (workspace without any windows in it){"disableEmptyOutputs":true,"outputs":[{"name":"eDP-1","workspaces":["1","2","3","4","5","6","7","8","9","0"]},{"name":"HDMI-1","xrandr":["--above","eDP-1"],"workspaces":["6","7","8","9","0"]},{"name":"DP-1","workspaces":["1","2","3","4","5"]}]}
Package: i3-workspace-names
# i3-workspace-names[![pipeline status](https://gitlab.com/flib99/i3-workspace-names/badges/master/pipeline.svg)](https://gitlab.com/flib99/i3-workspace-names/commits/master)## Abouti3-workspace-namesdynamically changes the names of workspaces depending on what windows are open in them. Names of applications and keywords are replaced with icons from FontAwesome.## InstallInstall frompippip install i3-workspace-names## Usageusage: i3-workspace-names [-h] [–copy-config] [-u]Dynamically change i3wm workspace names depending on windowsoptional arguments:-h,--helpshow this help message and exit--copy-configcopy sample config to
/home/$USER/.config/i3/icons.json-u,--update-iconsUpdate icon list from FontAwesomeCopy default config to home directory. Icons will be downloaded on first run.Add this to your i3 config:exec_always –no-startup-id exec i3-workspace-names
Package: i3-workspace-names-daemon
i3-workspace-names-daemonThis script dynamically updatesi3wmworkspace names based on the names of the windows therein.It also allows users to define an icon to show for a named window from theFont Awesomeicon list.tl;drupdate i3-bar workspace names to look something like thisinstallInstall thepackagefrom pypi withpip.sudo pip3 install i3-workspace-names-daemonNB. if you don't have sudo privileges instead dopip3 install --user i3-workspace-names-daemonfontInstall theFont Awesomefont via your favourite package manager. This is necessary if you want to show an icon instead of a window's name in the i3 status bar.For Debian/Ubuntu et al.sudo apt install fonts-font-awesomeNB: if the glyphs are not rendering make sure the font is installed.i3 configAdd the following line to your~/.i3/config.exec_always --no-startup-id exec i3-workspace-names-daemonIf you use the$mod+1etc. shortcuts to switch workspaces then update the following so that theswitch to workspaceandmove focussed window to workspaceshortcuts still work.frombindsym $mod+1 workspace 1
bindsym $mod+Shift+1 move container to workspace 1
# etctobindsym $mod+1 workspace number 1
bindsym $mod+Shift+1 move container to workspace number 1
# etcicons configConfigure what icons to show for what application-windows in the file~/.i3/app-icons.jsonor~/.config/i3/app-icons.json(in JSON format). For example:chris@vulcan: ~$ cat ~/.i3/app-icons.json
{
    "firefox": "firefox",
    "chromium-browser": "chrome",
    "chrome": "chrome",
    "google-chrome": "chrome",
    "x-terminal-emulator": "terminal",
    "thunderbird": "envelope",
    "jetbrains-idea-ce": "edit",
    "nautilus": "folder-open",
    "clementine": "music",
    "vlc": "play",
    "signal": "comment",
    "_no_match": "question",
}where the key is the name of the i3-window (ie. what is shown in the i3-bar when it is not configured yet) and  the value is the font-awesome icon name you want to show instead, seepicking icons.Note: the hard-coded list above is used if you don't add this icon-config file.matching windowsYou can debug windows names withxpropWindows names are detected by inspecting in the following prioritynametitleinstanceclassIf there is no window name available a question mark is shown instead.Another (simpler) way for debugging window names is running this script with-vor--verboseflag, it is suggested to use a terminal emulator that supports unicode (eg. kitty or urxvt)unrecognised windowsIf a window is not in the icon config then by default the window title will be displayed instead.The maximum length of the displayed window title can be set with the command line argument--max_title_lengthor-l.To show a specific icon in place of unrecognised windows, specify an icon for window_no_matchin the icon config.
If you want to show only that icon (hiding the name) then use the--no-match-not-show-nameor-noption.picking iconsThe easiest way to pick an icon is to search for one in thegallery.NB: the "pro" icons are not available in the debian package.windows delimiterThe window delimiter can be specified with-dor--delimiterparameter by default it is|.
Package: i3-workspace-swap
i3-workspace-swapA utility for thei3tiling window manager, which allows to swap the content of two workspaces. If both, the destination and the source workspace have content on them, the content will be swapped. If only a destination workspace is provided, the workspace will be created with the given name.DependenciesPython 3.xPython i3ipcOptional Dependeciedmenu: used for interactive modeUsagei3-workspace-swap [OPTION..]Arguments:-d NAMEor--destination NAME: destination workspace by name to move content to.-for--focus: focus destination workspace after swap-hor--help: print help message-i OPTIONor--interactive OPTION: uses dmenu to select dest/src; command line arguments will be overwriten-s NAMEor--source NAME: source workspace by name to move the content from, if none given the currently focused workspace will be usedOptions for interacive mode:all: source and destinationdest: destination onlysrc: source only
Package: i3-xfce
# i3-xfce[![Build Status](https://travis-ci.org/aacebedo/i3-xfce.svg?branch=master)](https://travis-ci.org/aacebedo/i3-xfce)This tool will install packages and scripts in order to use i3 with xfce. Amongst other things, it replacesthe builtin windows manager (xfwm4) and disable the builtin desktop (xfdesktop).It has been designed to work with deb packages system and more specifically with ubuntu flavor.It has been successfully tested with ubuntu 15.04/15.10/16.04 and xubuntu 15.04/15.10/16.04.### Dependencies- *Ubuntu 15.04/15.10/16.04- Python2 >=2.7.0- python-yaml- python-progressbar- python-ansible### Install dependenciesInstalll pip and python using the package manager tool of your distribution.For ubuntu the command to execute is:```$> apt install python python-pip```Then install the i3-xfce dependencies:```$> pip install -r ./requirements.txt```### Install and configure```$> ./setup.py install```or```$> pip install i3-xfce```### Usage##### Install all```$> i3-xfce install```##### Install parts```$> i3-xfce install -p <parts>```##### Install help```$> i3-xfce install -h```##### Uninstall all```$> i3-xfce uninstall```##### Uninstall parts```$> i3-xfce uninstall -p <part1> -p <part2> ...```##### Uninstall help```$> i3-xfce uninstall -h```### Screenshots![alt tag](https://raw.github.com/aacebedo/i3-xfce/master/screenshot.png)### LicenseLGPL
Package: i3-xkb-switcher
i3-xkb-switcherDescriptionThis app records keyboard layout for a i3 windows when you leave them.
And when you come back it is restore keyboard layout.Install$pipinstalli3-xkb-switcherAlso you can download compiled binary fromrelease page.Usage$i3-xkb-switcherTo enable debug mode run with--debugkey.By default it writes logs to stdout. You can specify path by--log-pathoption.
Package: i4sect
i-sectinsertect(x0, y0, x1, y1, x2, y2, x3, y3) calucurate intersection between two line segments and return the coordinate of the intersection.Four points: p1(x0, y0), p1(x1, y1), p3(x2, y2), p4(x3, y3)Two line segments: segment1(p1, p2) and segment2(p3, p4)return value: (x, y) or FalseHow to installpip install i-sectHow to usefrom i-sect import *
p = intersect(0, 0, 15, 0, 0, 5, 10, 5) # paralell
if p == False:
   print('no intersection.')
else:
   print(p[0], p[1])
Package: i6
i6A standardized collection of python libs and tools.InstallUsing pippip install i6
i6Using binary from GitHubgit clone https://github.com/kruserr/i6.git
cd i6
./bin/i6.exeFor further install instructions visit theDocumentation.DevelopOpen in VS Codegit clone https://github.com/kruserr/i6.git
python -m pip install --upgrade pip setuptools wheel pytest tox twine pyinstaller
cd i6
python -m pip install -e .
code .Run VS Code TasksCTRL+P>Tasks: Run TaskFor further developing instructions visit theDocumentation.
Package: i75
i75A wrapper around Pimoroni'sinterstate75library which allows for running locally and easier testing.This library provides a module,i75, which contains additional useful functionality over what is provided by MicroPython
and the Pimoroni libraries. For full details, pleaseread the documentation.This library also provides a script,i75, which is used when running programs on a normal PC for testing purposes.
This is done by a set of modules which replicate the functionality of the native Interstate75(W) hardware, in particular
usingPyGameto represent aHub75 LED matrix.This emulation is far from perfect but hopefully allows a quicker development cycle than deploying to the physical
hardware. In particular, problems may include:Full Python3.x is used, so syntactic and semantic differences with MicroPython won't be picked up.Your PC is many times more powerful than the RP2040 chip, so CPU limits won't be picked up.Our emulation of built-in functionality may be incomplete or incorrect.Sensors or additional hardware are not emulated.Any help improving these limitations is most welcome. Please seeCONTRIBUTING.mdfor more details.InstallationTo install this library either check it out from GitHub or install it fromPyPI.git checkout https://github.com/andrewjw/i75.git
cd i75
sudo python3 setup.py installorpip3 install i75Running On A PCTo run your script simply followi75with the path to your script. There are examples provided in theexamplesdirectory, which can be run as follows.i75 examples/clock/clock.pyRunning On Interstate75To install the library on your Interstate75 runinstall.sh. This will create ani75directory on the Raspberry Pi
Zero, and copy across the required files.Install your script in the normal way, e.g.ampy examples/clock/clock.py main.pyForampyto work you need to tell it the correct device to use to communicate with Raspberry Pi Pico. To do that either
runinstall.sh -p /dev/tty.usbmodemNor set theAMPY_PORTenvironment details. For more details aboutampy,
check outtheir documentation.