Saravanan666/pypi-org huggingface dataset:
Package: virtualpen
With this library, you can make/draw virtualy on your screenfunctions/classes:
obtaincolor - It takes  hsv values(i.e [57,56,0,100,255,255]) and the corresponding bgr value(i.e blue,green,red) as a input
and process the contours of the masked image. it also point out the center point of the detected objectgetcontours - it takes images as a input. this functions helps the obtaincolor function to detects the contours and the
center point of the contour (i.e outer bounders of a detected shap or object) 

draw - this function takes coordinates of the detected object, bgr list to draw and an image. this function helps to draw the
the color when detected object is moving
Package: virtualpp
SINGLE PINGPONG-handPlaying a pingpong game with just color detection  using opencv and python scriptsUsing opencv, to detect a specific colour(of the glove),and draw a contour over it and use the glove movements to move the centroid obtained from the operations.This will in turn move the paddle for the game.The Game is written such a way that there is only a single player and you gotta survive for as much time as possible.Installationpip install virtualppExamplefrom virtualpp import final
final.GameColor("Green")(optional)You can integrate this into a projector inside a dark room and it will give good results.
Package: virtualpy
VirtualWelcome to Virtual - the Python project that lets you run all sorts of 'operating systems' - inside a virtual environment!Virtual is designed to make programs built for the community, by the community, easier to build. We provide many libraries for independent developers to built cool apps upon our software. You can contribute to our mission onGitHub.Why use Virtual?Virtual has many security features in place to prevent any malicious activity an app is attempting, such as a sandboxed environment only allowing access to the virtual environment the app is running in.For developers, Virtual makes it easier to create programs, thanks to an extensive Python library allowing this.
Package: virtualsmoke
virtialsmokeWe used empirical data to build a virtual smoke detector or a model to predict fire alarm from environmental variablesInstallationInstall the package as follows:python3 -m pip install virtualsmokeUsageAs a CLIThe package can be used as a commandline interface or in a script. For CLI the following options must be provided:NAME
    smoke.py

SYNOPSIS
    smoke.py T H P

POSITIONAL ARGUMENTS
    T
    H
    P

NOTES
    You can also use flags syntax for POSITIONAL ARGUMENTSIn the scriptfrom virtualsmoke.smoke import signal
print(signal(T,H,P))Where T is the surrounding or surface temperature in Kelvin, H is the relative humidity (%), and P is the barometric pressure in hectopascal (hPa).The model will calculate the mean free path of air, which is the main indicator for sensing fires.
Package: virtualtime
Implements a system for simulating a virtual time (based on an offset from the current actual time)
so that all Python objects believe it though the actual system time remains the same.This also includes an extension to the python-datetime-tz library (datetime_tz) that ensures that the
classes are all patched in the correct order. It also changes the behaviour ofdatetime_tz.datetime_tzobjects
to allow them to be compared with naivedatetime.datetimeobjects by assuming that they are in the local timezone, if unspecified.This always patchestime.strftimeanddatetime.datetime.strftimeto support pre-1900 and pre-1000 years
and to not map years between0and99to the years1969to2068, on versions prior to Python 3.3
(where all years are supported without any strange mapping), even whenvirtualtimeis not enabled.
Seehttp://bugs.python.org/issue1777412for a discussion on the Python 2.7 behaviourThis library is licensed under the Apache License, Version 2.0, and is published on pypi athttps://pypi.python.org/pypi/virtualtime
Package: virtualvideo
VirtualVideoVirtualVideo allows you to write simple programs that feed images to a v4l2loopback device.Prerequisitesv4l2loopbackffmpegGuideInstall virtualvideo with:pip3 install --user virtualvideoInstall ffmpeg(preferably with your systems packagemanager) and v4l2loopback. Installing v4l2loopback can be tricky and i suggest usingdkmsto install/build it. (If you're using Arch-Linux theres an AUR Package for you:v4l2loopback-dkms).ExampleshowFish.pyshows how to use the virtualvideo package.Running the ExampleTo run the example:$ sudo modprobe v4l2loopback video_nr=XX exclusive_caps=1
$ cd examples
$ python3 showFish.pyAdjust thefvd.init_output(42, 1280, 720, fps=30)line in showFish.py to use the same video_nr as
you used to initialise the v4l2loopback device. Or usevideo_nr=42when initing v4l2loopback.Then you should be able to open/view the webcam for example with vlc (or on webcamtest.com).
You then should see a red goldfish getting blurred and unblurred.
Seeexample/README.mdfor a gif.Errorhandling:Check if the user is allowed to access the device, otherwise change permissions of/dev/videoXXUse following code to check if ffmpeg is working properly$ ffmpeg -loop 1 -re -i foo.jpg -f v4l2 -vcodec rawvideo -pix_fmt yuv420p /dev/videoXXXIf not checkout the v4l2loopback github and wikiIf the image is distorted try unloading and loading the module,
maybe check$cat /sys/devices/virtual/video4linux/video69/formatfor the format you should useIf you want to change the format or the pixel format unload the moduleIf you cannot unload the module, check processes that access /dev/videoXX ($ fuser /dev/videoXX) and kill themIf you get an pixel_format not supported error, try yuyv422 as pixelformat e.g.:fvd.init_output(...,pix_fmt="yuyv422")or$ ffmpeg -loop 1 -re -i foo.jpg -f v4l2 -vcodec rawvideo -pix_fmt yuyv422 /dev/videoXXXCreditsThis Module relies heavily onv4l2loopbackandffmpeg-pythonThe fish.jpg used in the examples is"Goldfish" by Melinda van den Brink
Package: virtualwatts
VirtualWatts is a software-defined power meter based on the PowerAPI toolkit.
VirtualWatts a configurable software that can estimate the power consumption of
process inside a VM in real-time.
VirtuallWatts is supposed to be used inside a VM. It need to receive two metrics :The energy consumption of the VM, usually made with
[SmartWatts](https://github.com/powerapi-ng/smartwatts-formula)The cpu usage of the tracked processes and the global cpu usage, as provided
by [procfs-sensor](https://github.com/powerapi-ng/procfs-sensor).# AboutVirtualWatts is an open-source project developed by the [Spirals research
group](https://team.inria.fr/spirals) (University of Lille 1 and Inria).The documentation is not available yet.## ContributingIf you would like to contribute code you can do so through GitHub by forking the
repository and sending a pull request.
You should start by reading the [contribution guide](https://github.com/powerapi-ng/virtualwatts/blob/main/contributing.md)When submitting code, please check that it is conform by usingpylintandflake8with the configurations files at the root of the project.## AcknowledgmentsVirtualWatts is written in [Python](https://www.python.org/) (under [PSF
license](https://docs.python.org/3/license.html)) and built on top of
[PowerAPI](https://github.com/powerapi-ng/powerapi)MIT LicenseCopyright (c) 2021 PowerAPIPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: virtue
virtueis a modern, extensible,unittestcompliant
test runner.It isnota test framework (it doesn’t contain aTestCasesubclass
and it never will).UsageRunning aunittest-based suite works essentially as it does fortwisted’strial, i.e.:$ python -m virtue mypackage.testswill run the tests subpackage of a given importable package.More docs are coming. Sorry.ContributingI’m Julian Berman.virtueis onGitHub.Get in touch, via GitHub or otherwise, if you’ve got something to contribute,
it’d be most welcome!You can also generally find me on Libera (nick:Julian) in various
channels, including#python.If you feel overwhelmingly grateful, you can alsosponsor me.
Package: virtue-skill
A SKILL and Python Framework for automating IC design inCadence Virtuosowith the following goals:Bring the capabilities of skill to Python so (ideally) you don't have
to write skill code to do EDA in PythonIn those cases where you do need to write skill, make it pythonicProjects Built with VirtueSoftworks:
Software and documentation view types in the Cadence Virtuoso IC design environment.Data-panels:
Export rich data reports from simulation results to pptx slides and
xlsx tablesMorpheus:
Generate Maestro test benches in a standard way compatible with an associated
data-panels reportYouTube Video ExplanationFeaturesASKILL standard libraryof "batteries included" modulesASKILL test frameworkmodeled afterpytestASKILL TOML config file reader and writerfor theTOML standardA SKILL package managerDefineSKILL++ modulesImport modules into a SKILL++ lexical scope using the top-level "Import" tableCreateSKILL++ packagesSKILL environment manager usingCondaorPipPython environmentsSeamless execution of SKILL from Python usingSkillBridgeExample SKILL++ Packagelet((Str(module_description"String functions")(ModuleImport['Module]))Str=let(()procedure(emptyp(in"g")"Checks if the input is an empty string@param Any type of object to be checked@return A boolean, 't if it is an empty string, otherwise nil"stringp(in)&&strlen(in)==0)procedure(str2bool(input_string"t")"Converts a case-insensitive 'TRUE' or 'FALSE' string to a boolean('t / nil) If it is not a boolean, the string is returned."if(stringp(input_string)&&(upperCase(input_string)=="TRUE")then'telseif(stringp(input_string)&&(upperCase(input_string)=="FALSE")thennilelseerror("%s is not a boolean, must be\"TRUE\"or\"FALSE\"(case insensitive)"input_string))))list(nil'emptypemptyp'str2boolstr2bool))Module->New('StrStr?packageImport['Virtue]?descriptionmodule_description))Example Test ScriptNote the package imports at the toplet(((StrImport['Str])(TestImport['Test])(VirtueImport['Virtue]))procedure(Test_emptyp()assert(Str->emptyp(""))assert(!Str->emptyp("test")))procedure(Test_str2bool()assert(Str->str2bool("true"))assert(Str->str2bool("TRUE"))assert(!Str->str2bool("false")))procedure(Test_str2bool_error()assert(!errset(Str->str2bool("Nothing"))))Test->RunFile(list(nil'Test_emptypTest_emptyp'Test_str2boolTest_str2bool'Test_str2bool_errorTest_str2bool_error)?filepathVirtue->GetCurrentFilePath()))Prints out the following when ran in the CIW:FILE:/path/to/file/test_Str.ilspassed:Test_emptyppassed:Test_str2boolpassed:Test_str2bool_error3/3testspassedInstallationVirtue requires Python >= 3.7 and can be installed using several methods:CondaPipFrom sourceSee theinstallation instructions in the documentationfor detailed instructions.
Package: virtuoso
This package is intended to be a collection of modules for
interacting withOpenLink Virtuosofrom python.The goal is to provide drivers forSQLAlchemyandRDFLib.At the time of this writing it requires a patch for pyodbc
as documented in:http://river.styx.org/ww/2010/10/pyodbc-spasql/indexFor more information seehttp://packages.python.org/virtuoso
Package: virt-up
virt-upvirt-upis a command line tool for creating virtual machines quickly on a
local KVM hypervisor usingvirt-builderandvirt-installVirtual machines are created from existing digitally signed OS images, which
are downloaded and cached. Atemplate virtual machineis created from the
downloaded image. Optionally, an ansible playbook is executed to further
customize the templates. Virtual machines are then cloned from the templates
to quickly create new instances.A login user and the ssh keys to connect to the new virtual machines are
created automatically. The login user is given sudo access. Connection
information is stored in a json meta data file for each virtual machine
created.  An ansible inventory file is created for the templates and
instances to make it easier to run ansible playbooks for further
configuration.Complete documentation hereSystem requirementsPython 3.6+libvirt based hypervisor (qemu/KVM)libvirt, python-libvirtlibguestfs-tools (virt-builder,virt-sysprep,virt-clone)libosinfo (osinfo-db)qemu-utils (qemu-img)virt-manager (virt-install)
Package: virus
In ecosystems there are three levels of virus development:level 1. virus kills the host
level 2. virus is neutral towards host
level 3. virus is useful for the hostThis is level 3 virus system, implemented in Python language, which goal is to protect its host, to make host owner interested in virus survival. It makes it by striving for the best user experience of owning a virus, it supports and encourages evolution by providing security prection from malicious injection, mutability to resolve/avoid conflicts and removing obstacles from generating a viable population. This may infect and transform your tools, your mindset and may affect your relations. It is experiment that may become dangerous. There is no guarantees, no refunds and no giving back your life. You’ve been warned.
Package: virushostinteractionpredictor
Virus Host Infection Predictor (VHIP)IntroductionGoal: Predict hosts for virus of interest from sequence data (fasta files)Input: Sequences for viruses and hosts of interest and the blast results between viruses and hosts, and between viruses and spacers.Output: Predictions and score for each virus-host pair. This can be used to plot virus-host infection network.RequirementsBefore the tool can be used, you will need to:Create a virus and a host directory. The virus and host sequences need to be in separate folders. Each fasta file should only represent 1 host or virus.Run blastn between viruses and hosts. Also run CRISPRCasFinder on hosts sequences, then blastn between viruses and the spacers (output of CRISPRCasFinder).Create a conda environment namedvhipwith the modules/packages that are in therequirements.txtfile.TutorialA tutorial is included in thetutorials/folder, with a test dataset.
The test dataset include sequences for hosts, viruses, and the blastn files (viruses against spacers, and viruses against host sequences).
Package: virustotal3
virustotal3virustotal3 provides an easy way to use VirusTotal version 3 REST endpoints, including those exclusive to VirusTotal Enterprise such as Live Hunt, Retro Hunt and Zip Files that were not available in version 2.Changelog1.0.8Merged pull request #8Documentationhttps://virustotal3.readthedocs.io/en/latest/Usage exampleimport os
import virustotal3.enterprise

API_KEY = os.environ['VT_API']

livehunt = virustotal3.enterprise.Livehunt(API_KEY)

rulesets = livehunt.get_rulesets()

print(rulesets)FeaturesAccess to many more features than the ones provided by the v2 API such as Live Hunt, Retro Hunt, Zip Files, Relationships, etc.Easy to use methods for all API endpoints (except Graphs).Simplified upload and download of files.The API requires the use of a different endpoint for files larger than 32MB. theFile.upload()method calculates the file size and picks the approriate endpoint.Written in Python 3.InstallationInstalling with pippip install virustotal3Install from repositorypython3 setup.py installContributeIssue Tracker:https://github.com/tr4cefl0w/virustotal3/issuesSource Code:https://github.com/tr4cefl0w/virustotal3.gitSupportThe v3 API is in beta and under active development. While most of the implementation was tested and works perfectly, breaking changes might be introduced by VirusTotal. This rarely occurs, but recently URL.get_comments() and URL.get_votes() stopped working. An issue is current opened with VirusTotal (96772) and they are working on it.If you are having issues, first make sure it does not come from the API itself. I'm in no way associated with VirusTotal. If it's an API bug, contact VirusTotal directly. Otherwise, open a GitHub issue.
Package: virustotalpy
VirusTotalPyOpen-source Python library for an easier interaction with the VirusTotal v3 APIFeaturesThe latest Version 1.0.1 lets you analyse and scan a list of IPs, URLs and files up to 650MB.InstallationMethod 1:pip install virustotalpyMethod 2:git clone https://github.com/maxmmueller/virustotalpy.gitMethod 3:Download thelatest ReleaseUsageIn order to use the API you need tosign upfor a VirusTotal account and create an API key.Code example:fromvirustotalpyimportScanner# replace this with your actual api key and usernameAPI_KEY="YOUR-API-KEY"USER_NAME="YOUR-VIRUSTOTAL-USERNAME"scanner=Scanner(API_KEY,USER_NAME)data=["https://www.example.com","192.168.0.1","test.exe"]result=scanner.scan(data)print(result)Learn moreDocumentation and referencePyPIAPI referenceContributingContributions to this project are welcome!If you encounter any problems, find a bug or have feature requests, please open anissue.LicenceMaximilian Müller 2021-2023Apache License 2.0
Package: virustotal-tddschn
VirusTotal Utility Library and Command Line ToolsVirusTotal Utility Library and Command Line ToolsInstallationpipxpipUtilitiesvtpyFeaturesHomebrew integrationmacOS specific featuresUsageDevelopInstallationpipxThis is the recommended installation method.$ pipx install virustotal-tddschnpip$ pip install virustotal-tddschnUtilitiesvtpyFeaturesHomebrew integration--brew&--cask: Parsing Homebrew's DSLformulaandcaskfiles, extracting the package checksum with matching CPU archClick to expand example$ vtpy -w inkscape -B

File path:       /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/inkscape.rb
SHA256 checksum: 8117d5d864358c9f626ce574d07d2f121ad96fc96a535cc3fddaba3c74bd3279
VirusTotal URL:  https://www.virustotal.com/gui/search/8117d5d864358c9f626ce574d07d2f121ad96fc96a535cc3fddaba3c74bd3279--brew-cache: Locating thebrew-downloaded package inbrew's cacheClick to expand example$ vtpy -c google-chrome -b firefox -B

File path:       /Users/tscp/Library/Caches/Homebrew/downloads/88881e66883c4776fff9b3019b48a26795020439a33ddbedd3bd4620283aecd2--googlechrome.dmg
SHA256 checksum: 201739d3cf941d33daf605351160f22bdd5877070267e2b42f37efa661378772
VirusTotal URL:  https://www.virustotal.com/gui/search/201739d3cf941d33daf605351160f22bdd5877070267e2b42f37efa661378772macOS specific features--mac: Locating binaries inside macOS app bundles (the.appdirectories).Click to expand example$ vtpy -m /Applications/kitty.app -B

File path:       /Applications/kitty.app/Contents/MacOS/kitty
SHA256 checksum: ca6aabac5bd9cd9dde7e3c713eae2031aabec08129218817aecbccb5408b3b0b
VirusTotal URL:  https://www.virustotal.com/gui/search/ca6aabac5bd9cd9dde7e3c713eae2031aabec08129218817aecbccb5408b3b0bUsage$ vtpy --help

usage: vtpy [-h] [--hash HASH] [-f FILE] [-b browser] [-B] [-ldl] [-w BREW] [-C] [-c BREW] [-m APP] [-F PATH] [-V]

Search file or Homebrew package checksum on VirusTotal

options:
  -h, --help            show this help message and exit
  --hash HASH           The hash to search (default: None)
  -f FILE, --file FILE  The file to hash and check (default: None)
  -b browser, --browser browser
                        Browser to open URLs (default: chrome)
  -B, --no-browser      Do not open URLs in a browser (default: False)
  -ldl, --latest-download
                        Use the latest downloaded file (default: False)
  -w BREW, --brew BREW  Use the checksum in Homebrew formula or cask file (default: None)
  -C, --cask            Use cask (default: None)
  -c BREW, --brew-cache BREW
                        Use brew downloaded cache (default: None)
  -m APP, --mac APP     Path to app bundle (default: None)
  -F PATH, --brew-file PATH
                        Use the checksum in the brew formula or cask file (default: None)
  -V, --version         show program's version number and exitDevelop$ git clone https://github.com/tddschn/virustotal-tddschn.git
$ cd virustotal-tddschn
$ poetry install
Package: virva
VirvaVirva is the simplest fake dataframe generatorPurpose of the packageThe purpose of this package is to provide the world simplest fake dataframe generatorFeaturesGenerate fake dataframe of any lenghtRandom names generationsRandom cities generationsRandom jobs title generationsRandom contrie generationsCSV exportGenerate custom categorical variablesGenerate custom numerical variablesAnd much moreGetting StartedThe package can be found on pypi hence you can install it using pipInstallationpipinstallvirvaUsage# Import Virva generator>>>fromvirva.coreimportGenerator# generate 50 random names>>>names=Generator.generate_names("Names",number=50)# generate 50 random age's between 5 and  18 year old>>>ages=Generator.generate_integers("Ages",number=50,5,18)# generate 50 random  scores between 1.0 and 5.0>>>scores=Generator.generate_floats("stars",number=50,1.0,5.1)# generate 50 random gender type between Male (M) and Female (F)>>>gender=Generator.generate_objects("Gender",number=50,["M","F"])# generate 50 random jobs>>>jobs=Generator.generate_jobs("Jobs",number=50)# generate 50 random cities>>>cities=Generator.generate_cities("Cities",number=50)# generate 50 random diseases>>>diseases=Generator.generate_diseases("diseases",number=50)# generate 50 random foods>>>foods=Generator.generate_foods("foods",number=50)# generate 50 random us_states>>>us_states=Generator.generate_us_states("us_states",number=50)# generate 50 random contries>>>countries=Generator.generate_countries("Countries",number=50)#generate csv file with above dataframe with the name "my_shynthetic_dataframe">>>list_of_dataframe=[names,ages,scores,gender,jobs,cities,diseases,foods,us_states,countries]>>>Generator.assemble("path/to/your/directory",list_of_dataframe,"my_shynthetic_dataframe")ContributionContribution are welcome.
Notice a bug ? let us know. Thanks youAuthorMain Maitainer : Charles TCHANAKEemail :datadevfernolf@gmail.com
Package: vis3dpy
vis3dpyInstallationRequirements:python3 with pipInstall:pipinstallvis3dpyUsageclassvis3d.plot.Figure(window width, window height, grid color, mode)window width- x size of the window in pixelswindow height- y size of the window in pixelsgrid color- color of the generated grid (for now just the cube)mode(default: 0) - 0 for orthographic, 1 for perspectivemethodparametersdescriptionscatterpoints, colorcreates a scatter plotplotpoints, colorcreates a line plotshownonedisplays plotsTo Doupload to pypiclean the codefix UI control bugsadd gridadd axis labels