Saravanan666/pypi-org huggingface dataset:
Package: vbox-sdk
Oracle provides this SDK to interface with VirtualBox. In the main branch,
everything is exactly as it would be if you were to download the kit directly
from Oracle (https://www.virtualbox.org/wiki/Downloads), except for the README,
LICENSE, Makefile, and setup.py files.In this branch, only the original (Python 2) libraries remain. This is to make
checkouts smaller that only need those few files. Nothing else about the files
has changed from the version made available by Oracle.The code is available onGithubandPyPI.InstallationSince the package is listed onPyPI, you can install it with:pip install vbox_sdkPlease note that this package conflicts with thevboxapipackage.UsageI won’t attempt to document the full API since I’m not the maintainer of the
actual code. However, if, like me, all you’re trying to do is manage the VMs
in VirtualBox, you’ll want to check out thevboxapi.VirtualBoxManagerclass
in particular. From the SDK Reference manual, here’s an example of how to use
the manager to perform some basic tasks:from vboxapi import VirtualBoxManager
mgr = VirtualBoxManager(None, None)
vbox = mgr.vbox
name = "Linux"
mach = vbox.findMachine(name)
session = mgr.getSessionObject(vbox)
progress = mach.launchVMProcess(session, "gui", "")
progress.waitForCompletion(-1)
mgr.closeMachineSession(session)LicenseAlthough I’ve listed this repository as being licensed under “The Unlicense”,
I am not the originator of the code. The license information in SDKRef.pdf
(in the docs folder) contains this explanation of the code’s license:The sample code files shipped with the SDK are generally licensed
liberally to make it easy for anyone to use this code for their own
application code.The Java files under bindings/webservice/java/jax-ws/ (library files for
the object-oriented web service) are, by contrast, licensed under the GNU
Lesser General Public License (LGPL) V2.1.See sdk/bindings/webservice/java/jax-ws/src/COPYING.LIB for the full text
of the LGPL 2.1.When in doubt, please refer to the individual source code files shipped
with this SDK.My hope is that by storing the SDK here, it will be of use to those who want to
install the library from pip as well as those working with Git repositories
exclusively, but I cannot take responsibility for the code as provided by
Oracle.
Package: vboxwebber
vboxwebberThe purpose of this project is to provide aPython3client for the VirtualBox remotewebservicesAPI. It is standalone in the way that it does not depend on the python libraries distributed with VirtualBox SDK (which to date only supports Python2 via the ancient ZSI library).The client is generated from an XSL stylesheet and contains vbox API wrapper functions that uses zeep as SOAP-library under the hood for remote access.The XSL stylesheet is based on the websrv-python.xsl file from the VirtualBox source package, but somewhat improved and modified to use zeep instead of ZSI. Documentation for classes and methods are also generated, hopefully removing the need of sitting with the SDK reference alongside when coding.Installationpip install vboxwebberUsageInitialize a web session manager by specifying the URL for the VirtualBox web service, and optionally the URL for the wsdl file. For older web services, I didn't manage to get the remote server's wsdl file, so it can be specified as a local file, e.g. "file:///tmp/vboxweb.wsdl".The service and interface methods should be the same as when using the official SDK, so porting old code should be easy. Classes are generated for enums etc., but it is recommended to combine with the VirtualBox_constants.py from the SDK (which is also generated from the constants-python.xsl stylesheet - encorporating this into the same file is a TODO).fromvboxwebberimport*# Initiate the clientmgr=IWebsessionManager2("http://localhost:18083")# Logon, get the IVirtualBox objectvbox=mgr.logon("username","password")# Print API versionprint(vbox.getAPIVersion())# Find machinemachine=vbox.findMachine("kali2019.4")# Get the session objectsession=mgr.getSessionObject(vbox)# Lock the machine to the sessionmachine.lockMachine(session,SessionType.WriteLock)# Get the displaydisplay=session.console.display# Get screen resolution infowidth,height,_bpp,_xo,_yo,_status=display.getScreenResolution(0)# Take a screenshotscreenshot=display.takeScreenShotToArray(0,width,height,"PNG")# Write data to filewithopen("/tmp/screenshot.png","wb")asf:f.write(screenshot)# Log off, cleaning up resources (implicit, at least for newer vbox versions)mgr.logoff(vbox)Generating new API wrappersThe VirtualBox API doesn't change much, but should the need arise, it is easy to generate a new wrapper based on a specific VirtualBox release. Just download the VirtualBox source code package, put the xsl stylesheet in src/VBox/Main/webservice and run:xsltproc websrv-zeep.xsl ../idl/VirtualBox.xidl > vboxwebber.pyTODO'sConditionalize the generation of documentation?Modify the VirtualBox glue code to include this as a platform?Generate even better documentation with docstring syntax etc.HelpImprovements are welcome.
Package: vbpdf
vbpdfInstall using pippipinstallvbpdfUsagevbpdf-hUsage:vbpdf[OPTIONS]COMMAND[ARGS]...

Options:-h,--helpShowthismessageandexit.

Commands:overlayAnnotatesanypdffile.splitSplitsanypdffile.topngConvertspdfpagesintopngsaddbgAddsbackgroundtopngs.vbpdfsplit-hUsage:vbpdfsplit[OPTIONS]Splitsanypdffile.

Options:-i,--inputfilePATHInputfile[default:./main.pdf]-o,--outputfilePATHOutputfile[default:./main_splited.pdf]-p,--pages<INTEGERINTEGER>...Pagesrange[default:0,0]-h,--helpShowthismessageandexit.vbpdfoverlay-hUsage:vbpdfoverlay[OPTIONS]Annotatesanypdffile.

Options:-i,--inputfilePATHInputfile[default:./main.pdf]-o,--outputfilePATHOutputfile[default:./main_annotated.pdf]-s,--sizeForcheckingsizeofthepdf-t,--textTEXTTexttobeplaced[default:HelloSir!]-p,--position<INTEGERINTEGERINTEGERINTEGER>...Coordintesofthetexbox[default:0,0,100,100]-f,--foreground_colorTEXTForegroundColor[default:000000]-b,--background_colorTEXTBackgroundColor[default:ffffff]-F,--fontTEXTFonttype[default:Courier]--font_sizeINTEGERFontsize[default:24]-h,--helpShowthismessageandexit.vbpdftopng-hUsage:vbpdftopng[OPTIONS]Convertspdfpagesintopngs

Options:-i,--inputfilePATHInputfilename[default:./main.pdf]-o,--outputfilePATHOutputfilename[default:./main.png]-d,--dpiINTEGERDPI->densityperinchforpng[default:320]-t,--transparentUsethisflagfortransparentpng-r,--ranges<INTEGERINTEGER>...Pagerangetobeconvertedintopng[default:1,1]-p,--pagesShowsnoofpagesinapdffile-h,--helpShowthismessageandexit.
Package: vbpr-pytorch
VBPR-PyTorchImplementation of VBPR, a visual recommender model, from the paper"VBPR: Visual Bayesian Personalized Ranking from Implicit Feedback".The implementation has a good enough training time: ~50 seconds per epoch in a regular Google Colab machine (GPU, free) in the Tradesy dataset (+410k interactions, usingbatch_size=64). Also, the whole source code includes typing annotations that should help to improve readibility and detect unexpected behaviors. Finally, the performance reached by the implementation is similar to the metrics reported in the paper:DatasetSettingPaperThis repo% diff.TradesyAll Items0.78340.7628-2.6%TradesyCold Start0.75940.7489-1.4%@inproceedings{he2016vbpr,title={VBPR: visual bayesian personalized ranking from implicit feedback},author={He, Ruining and McAuley, Julian},booktitle={Proceedings of the AAAI conference on artificial intelligence},volume={30},number={1},year={2016}}Installpip install vbpr-pytorchYou can also installvbpr-pytorchwith their optional dependencies:# Development dependencies
pip install vbpr-pytorch[dev]# Weight and biases dependency
pip install vbpr-pytorch[wandb]UsageThis is a simplified version of the training script on the Tradesy dataset:importtorchfromtorchimportoptimfromvbprimportVBPR,Trainerfromvbpr.datasetsimportTradesyDatasetdataset,features=TradesyDataset.from_files("/path/to/transactions.json.gz","/path/to/features.b",)model=VBPR(dataset.n_users,dataset.n_items,torch.tensor(features),dim_gamma=20,dim_theta=20,)optimizer=optim.SGD(model.parameters(),lr=5e-04)trainer=Trainer(model,optimizer)trainer.fit(dataset,n_epochs=10)You can use a custom dataset by writing a subclass ofTradesyDatasetor making sure the the__getitem__method of your dataset returns a tuple containing: user ID, positive item ID, and negative item ID.NotesNotice that the original VBPR implementation (available atHe's website) contains a different regularization than the one used in this implementation. The authors update thegamma_itemsembedding in a stronger way for positive than for negative items (dividing the lambda by 10). Notice thatCornacapplies this regularization in their implementation (code). In this implementation, it was not considered because it is hard to do without having to manually calculate the regularization as Cornac (I am prioritizing simplicity and portability of the implementation) or without having to use a custom loss that includes the regularization term (a future version might do this). In the future, I will implement the authors' regularization to check if the results change significantly, but it might not be significant (I assume this regularization was not included in the paper for a reason).Relevant code:// adjust latent factorsfor(intf=0;f<K;f++){doublew_uf=gamma_user[user_id][f];doubleh_if=gamma_item[pos_item_id][f];doubleh_jf=gamma_item[neg_item_id][f];gamma_user[user_id][f]+=learn_rate*(deri*(h_if-h_jf)-lambda*w_uf);gamma_item[pos_item_id][f]+=learn_rate*(deri*w_uf-lambda*h_if);gamma_item[neg_item_id][f]+=learn_rate*(-deri*w_uf-lambda/10.0*h_jf);}
Package: vbs
vbspython is a simple package that makes you interact with visual basic script in python.Changelog0.0.1 - Made vbspython but it doesnt work
0.0.2 - Made it work
0.0.8 - Made a press keys will press any keys of choice. A sleep that will make the .vbs file sleep. And a presskey that will press a special key leave empty for a list of keys.
0.1.0 - Made a help loop and runfile.
0.1.1 - Made the getting input system better. Added icons and options in the itemattributes class
0.1.2 - Added a runas command this will run the file as administrator. And a tts class with: say, rate, volume (see in attributes), speak (same as say)
0.1.3 - Added a copyfile movefile createfolder movefolder deletefolder deletefile copyfolder and did some bug fixes
0.1.4 - Added an execute this doesnt stop when opening files like with system
0.1.5 - Added special folders
0.1.7 - Forgot to do the changelog on 0.1.6 and partialy on 0.1.7. I added creating shortcuts to files and added hotkeys.
0.1.8 - Added the option to get a variable from msgbox. use to see if someone said yes or no using the itemattributes.
0.1.9 - Added the Variable class (see github docs) that applies to input, msgbox, and system. Also added @staticmethod to itemattributes.
0.2.0 - Big update! What was added in 0.2.0 was: the amount of looping in @loop, and a variable param to specialfolder, :param for all items in makefile to help ide’s read it, and added a copy and getcopied function.
0.2.1 - Fixes, fixes, more fixes. And added a insta run for runas.
Package: vbscript
vbspython is a simple package that makes you interact with visual basic script in python.Changelog0.0.1 - Made vbspython but it doesnt work
0.0.2 - Made it work
0.0.8 - Made a press keys will press any keys of choice. A sleep that will make the .vbs file sleep. And a presskey that will press a special key leave empty for a list of keys.
0.1.0 - Made a help loop and runfile.
0.1.1 - Made the getting input system better. Added icons and options in the itemattributes class
0.1.2 - Added a runas command this will run the file as administrator. And a tts class with: say, rate, volume (see in attributes), speak (same as say)
0.1.3 - Added a copyfile movefile createfolder movefolder deletefolder deletefile copyfolder and did some bug fixes
0.1.4 - Added an execute this doesnt stop when opening files like with system
0.1.5 - Added special folders
0.1.7 - Forgot to do the changelog on 0.1.6 and partialy on 0.1.7. I added creating shortcuts to files and added hotkeys.
0.1.8 - Added the option to get a variable from msgbox. use to see if someone said yes or no using the itemattributes.
0.1.9 - Added the Variable class (see github docs) that applies to input, msgbox, and system. Also added @staticmethod to itemattributes.
0.2.0 - Big update! What was added in 0.2.0 was: the amount of looping in @loop, and a variable param to specialfolder, :param for all items in makefile to help ide’s read it, and added a copy and getcopied function.
0.2.1 - Fixes, fixes, more fixes. And added a insta run for runas.
Package: vbspython
vbspython is a simple package that makes you interact with visual basic script in python.Changelog0.0.1 - Made vbspython but it doesnt work
0.0.2 - Made it work
0.0.8 - Made a press keys will press any keys of choice. A sleep that will make the .vbs file sleep. And a presskey that will press a special key leave empty for a list of keys.
0.1.0 - Made a help loop and runfile.
0.1.1 - Made the getting input system better. Added icons and options in the itemattributes class
0.1.2 - Added a runas command this will run the file as administrator. And a tts class with: say, rate, volume (see in attributes), speak (same as say)
0.1.3 - Added a copyfile movefile createfolder movefolder deletefolder deletefile copyfolder and did some bug fixes
0.1.4 - Added an execute this doesnt stop when opening files like with system
0.1.5 - Added special folders
0.1.7 - Forgot to do the changelog on 0.1.6 and partialy on 0.1.7. I added creating shortcuts to files and added hotkeys.
0.1.8 - Added the option to get a variable from msgbox. use to see if someone said yes or no using the itemattributes.
0.1.9 - Added the Variable class (see github docs) that applies to input, msgbox, and system. Also added @staticmethod to itemattributes.
0.2.0 - Big update! What was added in 0.2.0 was: the amount of looping in @loop, and a variable param to specialfolder, :param for all items in makefile to help ide’s read it, and added a copy and getcopied function.
0.2.1 - Fixes, fixes, more fixes. And added a insta run for runas.
Package: vbtools
vbtools: a variant benchmark tool to compare VCFs with a consensus setInstallBefore installation, make surecondais under yourPATH. Conda installationhere.# clone this repogitclonegit@github.com:broadinstitute/vbtools.git# setup conda environmentcdvbtools

condaenvcreate-fenv.yml# this will take a few minutescondalist# verify new environment was installed correctly# activate environmentcondaactivatevbtools# deactivate the environment when donecondadeactivate# completely remove the virtual environmentcondaremove-namevbtools--allUsageYou can use following command to benchmark a VCF against a reference/consensus VCF.vcfbench.py-v<input.vcf>-b<reference.vcf>--prefixis an option to define prefix to the output files.Currently, only haploid VCF is supported in the analysis. Diploid VCF will be standardized into haploid before comparison. Input VCF should followVCF spec v4.2.Following pre-processing steps are performed on the input VCF before the analysis:remove unused allelesremove monomorphic sitesremove sites with heterozygous genotypesremove non-SNP sitesremove sites with asterisk markschange diploid to haploid VCFThe script will output:Site level comparison:a tsv file including number of unique and shared sites.Sample level comparision:The sample level comparison functionality will be added to the script soon.
Package: vbuild
vbuild"Compile" yourVueJScomponents (*.vue) to standalone html/js/css ... python only,no need of nodejs. And you can usepython componentswithvbuild, in your vue/sfc files !!!It's just an utility togenerateHTML(template), SCRIPT and STYLE from aVUE/SFC component(*.vue). It won't replace webpack/nodejs/vue-cli, it fills the"Sometimes you have to work with the tools you have, not the ones you want."gap.DEMOAvailable on pypiChangelogFeaturesNO node-js stack, only pure python (py2 or py3 compliant)Ability to usepython componentsComponents can be styled withSASS or LESS ccs-pre-processors!Provide aJS-minifier (ES5 compliant JS, via closure)Ability topost process stuff, with your own processorsRespectVueJs specs(at least one template tag, many style (scoped or not) tags)templatesare converted to a<script type="text/x-template" id="XXX"></script>(not converted to JS)Unittested (coverage 100%)no import/from !importvbuildc=vbuild.render("mycompo.vue")#c=vbuild.render("vues/*.vue")#c=vbuild.render( "c1.vue", "c2.vue" )#c=vbuild.render( "c1.vue", "vues/*.vue" )print(c.html)print(c.script)print(c.style)#orprint(c)# all stuff in html tagsMain GoalIts main purpose is to let you use components (.vue files) in your vuejs app, without a full nodejs stack. It's up to you to create your generator, to extract the things, and create your "index.html" file. It's a 4 lines of python code; example:importvbuildbuf=readYourTemplate("index.tpl")# should contains a tag "<!-- HERE -->" that would be substitutedbuf=buf.replace("<!-- HERE -->",str(vbuild.render("vues/*.vue")))writeYourTemplate("index.html",buf)(a real exampleof rendering vue/sfc components, usingvbuildand the marvelouswuy)Vue/sfc component compatibilityAll classical JS vue/sfc components are compatibles. But now, you can usepython componenttoo.Here is, side by side, the same component (in js, and in python):To use the full features of vbuildIf you want to use the full features, you'll need to install the optionnal's libs.sudo pip install pyscss lesscpy closureAll theses libs works with py2 and/or py3, and you could use thecss-pre-processors SASS and LESS, andclosure to minify js.TODOmore utilitiesmore rock solid versionand docs !add pyscss lesscpy closure to pip setup.py (optionnal's modules)see theTODO list for python components too
Package: vbump
vbumpvbump is yet another Python package version bump tool. Unlike others, e.g.bumpversion,changes, etc., it aims to just do the obvious thing without any unneeded configuration or requirements.It is a simple < 100 LOC package which has no dependencies and is compatible with Python 2.7 and 3.5+.PrerequisitesA SemVer version string specified in eithersetup.pyor__version__.py.If __version__.py exists that will be used; the expected fromat isVERSION = "1.0.0".Otherwise setup.py will be used.Installing$ pip install vbumpUsageusage: vbump [-h] [--patch | --minor | --major] [--test]

Yet another Python version bumper

optional arguments:
  -h, --help  show this help message and exit
  --patch     increment patch level
  --minor     increment minor level
  --major     increment major level
  --test      shows result of version bump with writingExamplesvbump --majorto increment from version1.0.0to2.0.0.vbump --minor --testto preview updating from version1.0.0to1.1.0.if no arguments are specified the current version will be printed without changes.
Package: vbz-h5py-plugin
VBZ-H5Py-PluginThis module provides a plugin to H5Py for the VBZ (de)compression library.VBZ CompressionVBZ compression is a compression algorithm developed by Oxford Nanopore to reduce
file size and improve read/write performance when handling raw data in POD5/Fast5 files.
Previously, the default compression was GZIP and comparing to GZIP we see a
compression improvement of >30% and a CPU performance improvement of >10X for
compression and >5X for decompression. Further details of the implementation and
benchmarks can be found here:Nanoporetech/vbz_compressionUsageSimply import the module to register the vbz plugin withh5py.importvbz_h5py_plugin
Package: vc2-bit-widths
SMPTE ST 2042-1 (VC-2) Bit Width Calculation SoftwareThis Python package,vc2_bit_widths, provides routines computing how many
bits of numerical precision are required for implementations of the for the
SMPTE ST 2042-1VC-2 professional video
codec.To get started, read thevc2_bit_widthsmanual(also available inPDF
format).See alsoThis package is part of theVC-2 conformance
softwareproject.Thevc2_conformance_datapackageprovides a precomputed
static filter analysis bundle produced by this software for all VC-2 filters
with a default quantisation matrix defined.For further information, please conatactJonathan
HeathcoteorJohn
Fletcher.DevelopersFor details on setting up a developer's installation of this software,
including instructions on building the associated documentation, see thedeveloper installation instructions for the mainvc2_conformancerepository.LicenseThis software is distributed under theGNU General Public License version
3, © BBC 2021.
Package: vc2-conformance
VC-2 Conformance Testing SoftwareThis repository contains software tools for checking the conformance of VC-2
video codec implementations to theSMPTE ST 2042-1 (VC-2) family of
standards.Getting startedThe VC-2 conformance software manual walks through the process of installing
and using these tools to test the conformance of a VC-2 codec implementation.
You can read the manual online using one of the links below:VC-2 conformance software manual (HTML version)VC-2 conformance software manual (PDF version)See alsoThis software builds on the following support libraries:vc2_data_tables: Data tables and
constant definitions from the VC-2 standard.vc2_bit_widthsMathematical
routines for computing near worst case signals for VC-2 codecs.vc2_conformance_data: Data
files (e.g. test pictures) used in the conformance testing process.This software's test suite implements a formal verification processes to ensure
consistency with the VC-2 specification. This process uses code generated by
thevc2_pseudocode_parserpackage.DevelopersThedeveloper's manual for this
softwareincludes a detailed overview of the construction and design of this software,
includinginstructions for setting up a development
installation.LicenseThis software is distributed under theGNU General Public License version
3, © BBC 2021.
Package: vc2-conformance-data
vc2_conformance_data: Data files for VC-2 conformance testingThis Python module contains data files and test pictures used by thevc2_conformanceconformance testing software.To get started, read thevc2_conformance_datamanual(also available inPDF
format).See alsoThis package is part of theVC-2 conformance
softwareproject.For further information, please conatactJonathan
HeathcoteorJohn
Fletcher.DevelopersFor details on setting up a developer's installation of this software,
including instructions on building the associated documentation, see thedeveloper installation instructions for the mainvc2_conformancerepository.LicenseThis software is distributed under theGNU General Public License version
3, © BBC 2021.
Package: vc2-data-tables
SMPTE ST 2042-1 (VC-2) Constants and Data TablesThis Python package,vc2_data_tables, contains machine-readable versions of
the constants and data tables in the SMPTE ST 2042-series of standards relating
to theVC-2 professional video codec.To get started, read thevc2_data_tablesmanual(also available inPDF
format).See alsoThis package was produced to support theVC-2 conformance
software, though it has been made
available under the hope that it may be useful to others.The quantisation matrices in this module reproduce the default quantisation
matrices set out in the VC-2 specification (including the erroneous values for
the Fidelity filter). For tools and guidance on producing your own quantisation
matrices seethevc2_quantisation_matricespackage.For further information, please conatactJonathan
HeathcoteorJohn
Fletcher.DevelopersFor details on setting up a developer's installation of this software,
including instructions on building the associated documentation, see thedeveloper installation instructions for the mainvc2_conformancerepository.LicenseThis software is distributed under theGNU General Public License version
3, © BBC 2021.