Saravanan666/pypi-org huggingface dataset:
Package: i3dFeatureExtraction
Hello, I am Hao Vy Phan. I have develop this package using ResNet-50 to
convert a video into an extracted i3D features numpy file.Update:
*Version 0.3.2: Fix bug of searching for video files. Now it looks for extensions.webm, .avi, .wmv, .mp4, .m4v, .m4pinside folderdatasetpath.*Version 0.3.1.1: The function can receive directly the path to just 1 video, ifmultiplefilesis setFalse.OverviewInput: a directory which store 1 or more videos.Output: 1 or many.npyfiles (extracted i3D features). Each
features file is shapedn/16 * 2048wherenis the number of
frames in the videoIf there is a problem installing or implementing this package, please do
not hesitate to contact me via my email. I am pleased to have people use
my product.UsageInstallation(python3.8) Before installing my package, please install these pakages:pip install torchvision-0.11.2+cu113-cp38-cp38-win_amd64.whl
pip install torchaudio-0.10.1+cu113-cp38-cp38-win_amd64.whl
pip install torch-1.10.1+cu113-cp38-cp38-win_amd64.whl
pip install opencv_python-4.5.5-cp38-cp38-win_amd64.whlYou can find the wheels here:https://download.pytorch.org/whl/cu113/torch_stable.html*Opencv-Python==4.5.5*torch==1.10.1+cu113*torchaudio==0.10.1+cu113*torchvision==0.11.2+cu113After 4 above packages, to installi3dFeatureExtractionpackage into
your Python environment, run this code on your terminal:pip install i3dFeatureExtractionImplementingThe main function of this package isFeatureExtractionwhich
converts a directory of videos into numpy feature files.fromi3dFeatureExtractionimportFeatureExtractionFeatureExtraction.generate(datasetpath="directory/of/input/videos",outputpath="directory/to/store/output/numpy/files",pretrainedpath="path/to/i3D/pretrained/weight",sample_mode="oversample/center_crop"multiplefiles=True/False)datasetpath(REQUIRED): path to videos.IfmultiplefilesisTrue(default), thedatasetpathis the
path to a directory which contains 1 or more videos.IfmultiplefilesisFalse, thedatasetpathis the path to a
video.outputpath(optional, default:“output/”): the proccessed numpy
feature files would be stored in this directory.pretrainedpath(optional, default:“pretrained/”): the path of
the pretrained i3d weight. If the weight is not existed, it will be
downloaded and created manually.sample_mode(optional, default:“oversample/”) receive
“oversample” or “center_crop”. Ifoversample, each frame will be
cropped and flipped to be turned into 10 frames.Structure of this packageI am not good at drawing UML diagram but I hope this image helps illustrate the package’s structure.CreditsThis code is based on the following repositories:*pytorch-resnet3d*pytorch-i3d-feature-extraction*E2E-Action-Segmentation/feature_extraction/I would like to extend a special thank-you to the original authors of
these repositories for providing the foundation on which this
implementation is built.
Package: i3d-jax
I3D-JaxJax / Flax port of the originalKinetics-400 I3D networkfrom TFInstallationpip install i3d-jaxUsageFor convenience, we provide a wrapper to run inference on input videosimporti3d_jaximportnumpyasnpvideo=np.random.randn(1,16,224,224,3)# B x T x H x W x C in [-1, 1]i3d=i3d_jax.I3DWrapper(replicate=False)# set to True to auto-use pmap# out returns a tuple of:# 1) logits# 2) a dictionary mapping endpoint names to features at each endpointout=i3d(video)You can separate get the model and variables through:importi3d_jax# Load modeli3d_model=i3d_jax.InceptionI3d()# Load variables (params + batch_stats)variables=i3d_jax.load_variables(replicate=False)
Package: i3drsgm
PyI3DRSGMThis project is in development byI3DRand requires a valid license to run. Contactinfo@i3drobotics.comfor details on attaining a license.Currently this package uses the I3DRSGM application and communicates with it via a stdin/stdout API. For this reason the python package is currently limited to Windows x64.CompatibilityCompatible with python 3.6, 3.7, 3.8 on Windows x64Tested on Windows using Git Actions.Installpip install i3drsgm
Package: i3dxrd
Project intended to replace the ImageD11 interface, using the ImageD11 core functions.
A class Dataset is created to initialise the data and apply any needed functionalities.
All the widgets are created using silx and Qt. To define the workflow an Orange3 add-on is
implemented.For more about ImageD11 please visit:https://i3dxrd.readthedocs.io/en/latest/It is recommended to create a virtual environment to avoid conflicts between dependencies (https://docs.python.org/3/library/venv.html)... code-block:: bashpython3 -m venv /path/to/new/virtual/environment

source /path/to/new/virtual/environment/bin/activateNote: To deactivate the environment call::code:deactivateThen, you can install darfix with all its dependencies:.. code-block:: bashpip install i3dxrd[full]To install darfix with a minimal set of dependencies run instead:.. code-block:: bashpip install i3dxrdStart the GUI and make sure darfix appears as an add-on:.. code-block:: bashorange-canvasTo install from sources:.. code-block:: bashgit clone https://gitlab.esrf.fr/XRD/i3dxrd.git
cd i3dxrd
pip install .[full]To test the orange workflow run:.. code-block:: bashorange-canvas orangecontrib/i3dxrd/tutorials/example_workflow.ows
Package: i3egg
i3egg: an overly simple timer for i3i3eggis an overly simple -- perhaps simplistic -- timer for i3.It takes input like '0m3' or '4:0' or '15', waits the appointed number of seconds (3, 240, 900, respectively), and pops up an i3-nagbar when the timer expires.i3egghas the following "features":No visible ongoing countdown.No builtin way to stop the timer once it has been started. (See:kill.)Requiresi3wm(minimally, an implementation ofi3-nagbar) to function.It does one thing, and does it... welllll...🧙‍ Author
Package: i3_find_or_open
i3-find-or-openThis repo provides a command-line tool:i3-find-or-openthat can find a window by regex in your i3wm instance, and display it, or execute any command if it is not open.It is intended to help you bind keys that will reliably show you a window, whether or not it is open already, but technically it is capable of showing you any window (which is uniquely identifiable by either title or class), or running an arbitrary command if it is not open.Installationi3-find-or-open is available onPyPI, and the best way to install it (if you don't want to break your system python installation) is to usepipx(N.B. there is an Arch packagepython-pipxto install this with).pipx install i3-find-or-openNote that if you want to bind keys in i3 to this program, it will need to be installed for all users:sudo PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install i3-find-or-open(or you could bind$HOME/.local/bin/i3-find-or-openif you'd rather not install it for everybody)If you do want to risk breaking your system python, you could just usepip.Or, you could install it in a virtual environment yourself (note that this is allpipxis doing, but you might rather manage these environments manually).UsageLet's say I wanted to use this to bind$mod+oto open my Obsidian vault (called "vault"):bindsym $mod+o exec --no-startup-id "i3-find-or-open '^.* - vault - Obsidian v([1-9]|\.)+$' 'obsidian'"It's worth noting that the title regex you use will usually have to be quite specific when running from a command line, as the title of your terminal emulator will likely include the full command string (make use of^, and$tokens where possible).Some other examples, taken from my i3 config:bindsym $mod+t exec --no-startup-id "i3-find-or-open 'timetable\.ods — LibreOffice Calc' 'libreoffice --norestore ~/icl/timetable.ods'"
bindsym $mod+q exec --no-startup-id "i3-find-or-open 'qBittorrent' 'qbittorrent'"You can also use the-cflag to match a window class instead of title if the title completely changes (like for the Spotify app).bindsym $mod+s exec --no-startup-id "i3-find-or-open -c 'Spotify' 'spotify-launcher'"Title and class information about any open window can be found with thexpropcommand.
Package: i3geoweather
This blocklet provides temperature information for the i3blocks status bar
often used in the i3 window manager. It attempts to determine your location
based on your IP address using theipinfo.ioAPI. Based on the location it retrieves weather information from the freeopenweathermap.org API.i3geoweather is a pure Python 3 program. No attempt to make it compatible with
Python 2 has been or will be made. It is time to switch!InstallationThe easiest way to install i3geoweather is to use pip:$ pip install i3geoweatherDepending on your system you may need to call pip3 instead of pipDependenciesi3geoweather depends on the Pythonrequestslibrary. i3geoweather output usesFontAwesomefor its output. You should download the
free FontAwesome zip file and copy fontawesome-webfont.ttf to your ~/.fonts/
directory.Usagei3geoweather runs a daemon process in the background (if started with the -d
option) and periodically updates weather information by writing to
~/.i3geoweather/i3geoweather.txt.Start i3geoweather from your i3 configuration file:exec_always i3geoweather -dYou may need to use the full path to i3geoweather, e.g., for an installation
with pip install –user …:exec_always ~/.local/bin/i3geoweather -dA typical i3blocks.conf entry may look like this:[weather]
interval=repeat
command=inotifywait -qq -e delete_self ~/.i3geoweather/i3geoweather.txt && cat ~/.i3geoweather/i3geoweather.txtCommand line options:-d or –daemon run as background process-l or –location force a location by specifying a comma separated
latitude/longitude pair, e.g., -l “50.0126, 7.996”. North and east are
positive.-r or –restart restart background process-s or –stop stop running background process-v increase verbosity of logging to ~/.i3geoweather/i3geoweather.log. Can be
used up to three times. Using -v twice logs informational
messages. Debugging output is produced when -v is used three times.AuthorJörg Dietrichjoerg@joergdietrich.comContributingDevelopment takes place onGitHub. Please report any bugs as an issue in the
GitHub issue tracker.Licensei3geoweather is released under an MIT license. See LICENCE.txt
Package: i3ipc
An improved Python library to controli3wmandsway.Abouti3’s interprocess communication (oripc) is the interface i3wm uses to receivecommandsfrom client applications such asi3-msg. It also features a publish/subscribe mechanism for notifying interested parties of window manager events.i3ipc-python is a Python library for controlling the window manager.  This project is intended to be useful for general scripting, and for applications that interact with the window manager like status line generators, notification daemons, and window pagers.If you have an idea for a script to extend i3wm, you can add your script to theexamples folder.For details on how to use the library, see thereference documentation.Installationi3ipc is onPyPI.pip3 install i3ipcExamplefromi3ipcimportConnection,Event# Create the Connection object that can be used to send commands and subscribe# to events.i3=Connection()# Print the name of the focused windowfocused=i3.get_tree().find_focused()print('Focused window%sis on workspace%s'%(focused.name,focused.workspace().name))# Query the ipc for outputs. The result is a list that represents the parsed# reply of a command like `i3-msg -t get_outputs`.outputs=i3.get_outputs()print('Active outputs:')foroutputinfilter(lambdao:o.active,outputs):print(output.name)# Send a command to be executed synchronously.i3.command('focus left')# Take all fullscreen windows out of fullscreenforcontainerini3.get_tree().find_fullscreen():container.command('fullscreen')# Print the names of all the containers in the treeroot=i3.get_tree()print(root.name)forconinroot:print(con.name)# Define a callback to be called when you switch workspaces.defon_workspace_focus(self,e):# The first parameter is the connection to the ipc and the second is an object# with the data of the event sent from i3.ife.current:print('Windows on this workspace:')forwine.current.leaves():print(w.name)# Dynamically name your workspaces after the current window classdefon_window_focus(i3,e):focused=i3.get_tree().find_focused()ws_name="%s:%s"%(focused.workspace().num,focused.window_class)i3.command('rename workspace to "%s"'%ws_name)# Subscribe to eventsi3.on(Event.WORKSPACE_FOCUS,on_workspace_focus)i3.on(Event.WINDOW_FOCUS,on_window_focus)# Start the main loop and wait for events to come in.i3.main()Asyncio SupportSupport for asyncio is included in thei3ipc.aiopackage. The interface is similar to the blocking interface but the methods that interact with the socket are coroutines.fromi3ipc.aioimportConnectionfromi3ipcimportEventimportasyncioasyncdefmain():defon_window(self,e):print(e)c=awaitConnection(auto_reconnect=True).connect()workspaces=awaitc.get_workspaces()c.on(Event.WINDOW,on_window)awaitc.main()asyncio.get_event_loop().run_until_complete(main())ContributingDevelopment happens onGithub. Please feel free to report bugs, request features or add examples by submitting a pull request.LicenseThis work is available under a BSD-3-Clause license (see LICENSE).Copyright © 2015, Tony CrisciAll rights reserved.
Package: i3ipct
i3ipc-python-toolsAdditions to i3ipc to ease finding and focusing containers in the i3 tree.AboutThis package was created from my need to have a directional focus (left/right, up/down) of i3 windows and is build up on thei3ipcpackage.This package also includes extended ways of finding containers in the i3 tree.There is an example for focusing windows. If You are interested in examples for finding containers, write me, and I may add a short example.Installationpip install i3ipct
Package: i3lockcomics
i3lockcomicsPython script to fetch the newest edition of a comic strip and use it in i3lock.Highlyinspired byxkcd-lockby@angs.Short descriptionThis script gets the latest strip of a comic which is added on top of a pixelated screenshot of your desktop. This image is then used as a background image when running i3lock.Comics supported:Bestis (no) (new)Calvin & HobbesCommitStripDilbertDinosaur ComicsFagprat (no)Get FuzzyIntet Nytt fra Hjemmefronten (no)Lunch (no)Nemi (no)PvPxkcdInstallEasy peasy:pip install i3lockcomicsHow to useRuni3lockcomicsto lock your screen with i3lock and show a random comic strip. You can also chose a specific comic and use a pixellation distort on your lockscreen instead of the blurring. Check outi3lockcomics -hfor more info.If you use multiple displays, the script will only place the comic strip on your primary screen.If the script can't fetch a comic because of connection issues, it will use a previous strip from the same comic, if it can find one in thestrips-folder.
If there is no net and no cached comic strip available, the script will use XKCD's password-strip as default.(This seems to be OK according toMr. xkcd himself:"Can we print xkcd in our magazine/newspaper/other publication?""You can post xkcd in your blog (whether ad-supported or not) with no need to get my permission."But Randall, if I'm mistaken, please let me know.)When using xkcd, it will also get the alt-text for the image and paste it underneath the comic.Dependencies:These dependencies are required besides the modules installed by pip:i3lockmaimcurl (called by the subprocess module)
Package: i3menu
Introductioni3menuprovides a useful set of menus based onRofianddmenuthat will help you manage youi3wm.Requirementsi3menurequires eitherRofiordmenuto work.dmenu is pretty easy to install:sudo apt-get install suckless-toolsButRofiis way much nicer. To install it follow itsinstallation guide.Installationi3menucan be installed directly frompypilike this:$ pip install i3menuOr from source code like this:$ git clone https://github.com/giacomos/i3menu.git
$ cd i3menu
$ make installWhatever installation method you choosed, you will end up having a script in your local bin path,~/.local/bin. If your $PATH
is set up correctly, now you should be able to run i3menu:$ i3menu -hIf the command is not found, please check your $PATH to be sure to have your local bin
path:$ PATH=$PATH:~/.local/binTo make this change permanent, you can add to your.profilefile this:if [ -d "$HOME/.local/bin" ] ; then
    PATH="$PATH:$HOME/.local/bin"
fiThis change will be permanent at your next login.UsageFor a complete list of the command line parameters you can check the help:$ i3menu --helpAny available menu can be run like this:$ i3menu window_actionsI3WM configYou can add i3menu to your i3 config. For example:bindsym $mod+w exec --no-startup-id i3menu goto_workspaceor:bindsym $mod+w exec --no-startup-id i3menu -m go_to_workspaceFor a more complete set of examples, please take a look at myi3wm configCreditspartially inspired byquickswitch-i3LicenseDisclaimer: i3menu is a third party script and in no way affiliated
with the i3 project, the dmenu project or the rofi project.Changelog3.0 (2016-03-02)reboot, better code, better tests, better coverage [giacomos]2.1 (2016-03-02)fix targets in windows and workspace actions [giacomos]fix menu ordering and add the entries’ numbers [giacomos]add tests and tests coverage [giacomos]2.0.5 (2016-02-27)move script to bin dir and source code under lib [giacomos]2.0.4 (2016-02-27)move from console_scripts to script, cli.py -> i3menu, improve README [giacomos]2.0.3 (2016-02-26)fix a typo that prevented to use the package without rofi installed [giacomos]2.0.2 (2016-02-26)fix an error with missing history by adding a MANIFEST.in [giacomos]2.0.1 (2016-02-26)nothis to see here [giacomos]2.0 (2016-02-26)major code restyleadd all the i3-msg commandsmajor improvement of the command line interfaceuse both rofi and dmenu as menu providersname changed: i3-rofi -> i3menu
[giacomos]1.0 (2016-02-18)Initial releaseincluded menus are: go_to_workspace, move_window_to_workspace,
move_window_to_this_workspace, move_workspace_to_output, rename_workspace,
window_actions, workspace_actions
[giacomos]
Package: i3minator
# i3minatori3minator is a simple "workspace manager" for i3.It allows to quickly manage workspaces defining windows and their layout.The project is inspired by [tmuxinator](https://github.com/aziz/tmuxinator) and uses [i3-py](https://github.com/ziberna/i3-py).# Installi3minator can be installed with pip```shell$ sudo pip install i3minator```# Project descriptionAll project file are stored in `~/.i3minator/` and are in yaml format.An example:```yaml# /home/carlesso/.i3minator/default.yml# The Name of the projectname: default# If needes, where the project lives. If present, all terminal will be opened here# and all commands are relative to this path.root: ~/projects/my_project/# The name of the workspace to open the project.# If not present, current workspace is usedworkspace_name: MyProject# Chain of commands to populate workspace.# Every element can be either a node (see below), or a command between:#   go_vertical, vertical, v:      change split mode into vertical#   go_horizontal, horizontal, h:  change split mode into vertical#   go_stacked, stacked:           set the layout to stacked## Example for a rails application:window_chain:- gvim- console- go_vertical- server- logs# Nodes. Each node represent a window. The available parameters are:#   command:  the command to execute#   terminal: whatever the command should be run in a terminal window#   timeout:  A window can take a while to be placed, if your layout does not come as you want,#             inceremnt the timeout for slow windows. default: 0.1nodes:gvim:terminal: falsecommand: gvim .timeout: 0.3console:terminal: truecommand: bundle exec rails cserver:terminal: truecommand: bundle exec rails slogs:terminal: truecommand: tailf log/development.log```# List of commandsi3minator supports the following commands:```i3minator commands:i3minator commands                  # Lists commands available in i3minatori3minator copy [EXISTING] [NEW]     # Copy an existing project to a new project and open it in your editori3minator edit [PROJECT]            # Edit given projecti3minator delete [PROJECT]          # Deletes given projecti3minator impolode                  # Delete all i3minator project, as well as the ~/.i3minator folderi3minator list                      # List all i3minator projectsi3minator new [PROJECT]             # Create a new project and open in your text editori3minator start [PROJECT]           # Start a i3minator projecti3minator version                   # Display installed i3minator version```# Terminal and EditorBoth Terminal and Editor are read from shell's defaults:```bashecho $TERMecho $SHELL```Right now has been tested only with xterm and zsh# Timeouting node spawnSome windows may take more time to be insert in the workspace. If you experience this, and yout layout get messed up, try to play with `timeout` value in the node.# AboutAuthor: Enrico CarlessoLicense: [WTFPL](http://www.wtfpl.net/about/)Thanks:- [i3 window manager](http://i3wm.org/) and its author Michael Stapelberg- [i3-py](https://github.com/ziberna/i3-py)and its author Jure Žibernai3minator was tested with Python 3.3.2Dependencies:- i3-wm- i3-py- Python
Package: i3-output-selector
i3-output-selectorDamn simple output selector of the current workspace in i3 WM.
It is based on i3-py package and Tkinter.InstallationYou can use pip (python3 and python2 compatible):pip install i3-output-selector
# .. or directly from Github
# pip install git+https://github.com/kwarunek/i3-output-selector.gitApp uses Tkinter as a GUI, be sure to have it installed. On Debian/Ubunutu:apt-get install python-tkinter
# .. or
# apt-get install python3-tkUsageSimply runi3-output-selector.LicenseMIT
Package: i3pyblocks
i3pyblocksA replacement for i3status, written inPythonusingasyncio.Works in bothi3wmandsway.For Python 3.6+.Installation and UsageLook at theexample.pyfile for inspiration and check theUser guidesection of documentation.DevelopmentTo setup a development environment, create a newvenvfirst and run:makedev-installTo run the tests, you may run:maketestLook at the includedMakefilefor more available commands.If you're usingNixOSor nixpkgs, an alternative way to
get a working environment variable is using theshell.nixfile included in
this repo:nix-shellshell-dev.nixFor more information, look atCreating a new blocksection of documentation.ContributingPull requests are welcome. For major changes, please open an issue first to
discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: i3pystatus
i3pystatus==========.. image:: http://golem.enkore.de/job/i3pystatus-dev/badge/icon:target: http://golem.enkore.de/job/i3pystatus-dev/.. image:: https://travis-ci.org/enkore/i3pystatus.svg?branch=master:target: https://travis-ci.org/enkore/i3pystatusi3pystatus is a growing collection of python scripts forstatus output compatible to i3status / i3bar of the i3 window manager.Installation------------.. note:: Supported Python versionsi3pystatus requires Python 3.2 or newer and is not compatible withPython 2.x. Some modules require additional dependenciesdocumented in the docs.From PyPI package `i3pystatus <https://pypi.python.org/pypi/i3pystatus>`_+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++::pip install i3pystatusPackages for your OS++++++++++++++++++++* `Arch Linux <https://aur.archlinux.org/packages/i3pystatus/>`_ (stablerelease)* `Arch Linux <https://aur.archlinux.org/packages/i3pystatus-git/>`_ (latestversion)Documentation-------------`All further user documentation has been moved here. <http://docs.enkore.de/i3pystatus>`_Changelog---------`Located here. <http://docs.enkore.de/i3pystatus/changelog.html>`_Contributors------------A list of all contributors can be found in `CONTRIBUTORS <https://github.com/enkore/i3pystatus/blob/master/CONTRIBUTORS>`_.Particular noteworthy contributors are former maintainer Jan Oliver Oelerich andcurrent maintainer enkore.Contribute----------To contribute a module, make sure it uses one of the ``Module`` classes. Most modulesuse ``IntervalModule``, which just calls a function repeatedly in a specified interval.The ``output`` attribute should be set to a dictionary which represents your modules output,the protocol is documented `here <http://i3wm.org/docs/i3bar-protocol.html>`_.Developer documentation is available in the source code and `here<http://docs.enkore.de/i3pystatus>`_.**Patches and pull requests are very welcome :-)**