Saravanan666/pypi-org huggingface dataset:
Package: vmdpy
vmdpy: Variational mode decomposition in PythonFunction for decomposing a signal according to the Variational Mode Decomposition (Dragomiretskiy and Zosso, 2014) method.This package is a Python translation of the originalVMD MATLAB toolboxInstallationpip install vmdpyORDowload the project fromhttps://github.com/vrcarva/vmdpy, then run "python setup.py install" from the project folderCitation and ContactPaper available at:https://doi.org/10.1016/j.bspc.2020.102073If you find this package useful, we kindly ask you to cite it in your work:Vinícius R. Carvalho, Márcio F.D. Moraes, Antônio P. Braga, Eduardo M.A.M. Mendes,
Evaluating five different adaptive decomposition methods for EEG signal seizure detection and classification,
Biomedical Signal Processing and Control,
Volume 62,
2020,
102073,
ISSN 1746-8094,https://doi.org/10.1016/j.bspc.2020.102073.If you developed a new funcionality or fixed anything in the code, just provide me the corresponding files and which credit should I include in this readme file.For suggestions, questions, comments, etc:vrcarva@ufmg.brVinicius Rezende CarvalhoPrograma de Pós-Graduação em Engenharia Elétrica – Universidade Federal de Minas Gerais, Belo Horizonte, BrasilNúcleo de Neurociências - Universidade Federal de Minas GeraisExample script#%% Simple exampleimportnumpyasnpimportmatplotlib.pyplotaspltfromvmdpyimportVMD#. Time Domain 0 to TT=1000fs=1/Tt=np.arange(1,T+1)/Tfreqs=2*np.pi*(t-0.5-fs)/(fs)#. center frequencies of componentsf_1=2f_2=24f_3=288#. modesv_1=(np.cos(2*np.pi*f_1*t))v_2=1/4*(np.cos(2*np.pi*f_2*t))v_3=1/16*(np.cos(2*np.pi*f_3*t))f=v_1+v_2+v_3+0.1*np.random.randn(v_1.size)#. some sample parameters for VMDalpha=2000# moderate bandwidth constrainttau=0.# noise-tolerance (no strict fidelity enforcement)K=3# 3 modesDC=0# no DC part imposedinit=1# initialize omegas uniformlytol=1e-7#. Run actual VMD codeu,u_hat,omega=VMD(f,alpha,tau,K,DC,init,tol)
Package: vmdrs-py
vmdrs-pyDrop in replacement forvmdpywith fixes and improvements using thevmd-rsRust crate.VMD, aka Variational Mode Decomposition, is a signal processing tool that decompse the input signal into different band-limited IMFs.InstallationAvailable onPyPIpip install --upgrade vmdrs-pyRequirementsnumpy>=1.20Examples#%% Simple example: generate signal with 3 components + noise  
import numpy as np  
import matplotlib.pyplot as plt  
from vmdrs_py import VMD  

#. Time Domain 0 to T  
T = 1000  
fs = 1/T  
t = np.arange(1,T+1)/T  
freqs = 2*np.pi*(t-0.5-fs)/(fs)  

#. center frequencies of components  
f_1 = 2  
f_2 = 24  
f_3 = 288  

#. modes  
v_1 = (np.cos(2*np.pi*f_1*t))  
v_2 = 1/4*(np.cos(2*np.pi*f_2*t))  
v_3 = 1/16*(np.cos(2*np.pi*f_3*t))  

f = v_1 + v_2 + v_3 + 0.1*np.random.randn(v_1.size)  

#. some sample parameters for VMD  
alpha = 2000       # moderate bandwidth constraint  
tau = 0.            # noise-tolerance (no strict fidelity enforcement)  
K = 3              # 3 modes  
DC = 0             # no DC part imposed  
init = 1           # initialize omegas uniformly  
tol = 1e-7  


#. Run VMD 
u, u_hat, omega = VMD(f, alpha, tau, K, DC, init, tol)  

#. Visualize decomposed modes
plt.figure()
plt.subplot(2,1,1)
plt.plot(f)
plt.title('Original signal')
plt.xlabel('time (s)')
plt.subplot(2,1,2)
plt.plot(u.T)
plt.title('Decomposed modes')
plt.xlabel('time (s)')
plt.legend(['Mode %d'%m_i for m_i in range(u.shape[0])])
plt.tight_layout()Compiling from sourceRequirementsPython >= 3.7RustcInstructionsRust compiler is needed since this project is compiled usingMaturin.pip install maturin
git clone https://github.com/jiafuei/vmdrs-py.git && cd vmdrs-py
maturin build --releaseCustomizing BLAS providersBLAS is used byndarray, follow the instructions there
and editCargo.toml.
Package: vmem
vmemCross-platform drop-in replacement forpsutil's virtual_memory function, without native extensions, Cygwin compatible.Installpip install -U vmemUsage>>> from vmem import virtual_memory
>>> virtual_memory()
svmem(total=68658819072, available=34382245888, percent=49.9, used=34276573184, free=34382245888)LicenseGPLv3
Package: vmfactory
Welcome ! The Viennese Maze factory (vmfactory) is a Python package for the automatic generation ofViennese mazes, which are labyrinths made of streets and traffic lights. Here aresome examplesandtheir solutions.Read the full documentationhere.Installationvmfactoryrequires the python packages Numpy, Networkx and Matplotlib. All these packages will be installed automatically during the installation ofvmfactory, if they are not already installed.vmfactorycan be installed by unzipping the source code in a directory and running this command in a terminal(sudo) python setup.py installYou can also install it directly from the Python Package Index with this command:(sudo) pip vmfactory installContributevmfactoryis an open-source software originally written by Zulko and released under the MIT licence. Everyone is welcome to contribute on theGithubpage.
Package: vMFD
IntroductionvMFDis an easy-to-use Python package for inferring moral appeals from text.
It extends eMFD through word embedding and yields superior performance.Quick startInstallAfter cloning this repo to your computer, go to the directory wheresetup.pyresides and use the following command to install the package:pipinstallvMFDDownload dataThe package relies on a pre-calculated data frame that needs to be downloaded.
You can use the following command in a Python console or notebook:importvMFDvMFD.download_data("word_moral_appeals_googlenews")You can replaceword_moral_appeals_googlenewswith other categories. Currently, the following categories are supported:Category nameNoteword_moral_appeals_googlenewsBased on pre-trained embedding by Google. The embedding contains 300-dimensional vectors for 3 million words and phrases. Seehttps://code.google.com/archive/p/word2vec/for details.Calculate moral intuitionsOnce the data is downloaded, you can calculate the moral intuitions of any text.importvMFDvo=vMFD.vMFD()# Only calculate the valencevo.calculate_valence("Trump is the best president")# Calculate all metricsvo.calculate_metrics("Trump is the best president")
Package: vmf-tool
vmf_toolA library for interpreting & editing .vmf filesThis library was created for editing Valve's .vmf (Valve Map Format)Created as part ofQtPyHammerThe core parser is very lazy, anything that looks like a .vmf will be parsedOnce parsed, any issues with the source file can be traced to a rough line numberIdeally allowing for the recovery of corrupted .vmfs
Package: vmguestlib-mod
Python API for interacting with VMware’s VMGuestLib SDK
This software is (c) 2013-2014 Dag Wieersdag@wieers.com, modified 2023 by Leo Mermelstein
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 2 of the License, or (at your option) any later version.
Package: vmhub3
vmhub3Simple python module to send instructions to Virgin Media Hub 3.0 / Compal router.Example - Reading configs and attributes:import logging
from vmhub3 import VMHub3

logging.basicConfig(level=logging.DEBUG)

router = VMHub3(ip='your-router-ip', password='your-router-pwd')
router.connect()
router.get_global_config()
router.get_language_config()
router.get_languages()
router.get_wifi_state()
router.get_wifi_config()
router.get_wifi_basic_config()
router.get_wifi_advanced_config()
router.get_status()
router.get_wps()
router.get_lan()Example - Rebooting router:from vmhub3 import VMHub3

router = VMHub3(ip='your-router-ip', password='your-router-pwd')
router.connect()
router.reboot()
Package: vminspect
A collection of helpers for inspecting Virtual Machine disk images.Useful for computer forensics analysis and for tests validation.DisclaimersEven though all the precautions have been taken, if misused this library can cause corruption and data loss within the disk images. Always make a copy of the disk images before analysing them.The author is not responsible for any damage or data loss deriving from the usage of this tool.Analysing disk images may take several minutes and quite many of resources from the computer.The availability of hardware acceleration (KVM) as well as the use of concurrency speed up the process quite sensitively.DependenciesPython 3:https://www.python.org/libguestfs:http://libguestfs.org/hivex:http://libguestfs.org/hivex.3.htmlPebble:https://pypi.python.org/pypi/PebbleRequests:https://pypi.python.org/pypi/requests/Python Evtx:https://pypi.python.org/pypi/python-evtx/Documentationhttps://pythonhosted.org/vminspect/Exampleshttps://pythonhosted.org/vminspect/examples.html
Package: vminute
Give me an instance of mine image on OpenStack. Hurry!QuickStartInstallationThere are several ways of 5minute installation. You pick one of the
following.Fedora5minute package is available in Fedora repository.dnf install 5minuteCopr repositoryFor the latest builds enable Copr repositorydnf copr enable mkorbel/5minuteand install the 5minute.dnf install 5minuteManual InstallationTo run 5minute you need to install following libs:python3-keystoneclient
python3-cinderclient
python3-heatclient
python3-neutronclient
python3-novaclient
python3-glanceclient
python3-xmltodict
python3-prettytableTo install them as RPMs (Fedora), rundnf-yinstall $( catrequirement-rpms.txt).If you have installed 5minute usingpip install vminute, they have
been installed as dependencies. Otherwise, you have to install them
manually.Get config fileLogin into your OpenStack instance WebUINavigate to Project -> API AccessSave file from “Download OpenStack RC File” to ~/.5minute/configGet startedShow help:5minute helpUpload your SSH public key:5minute key ~/.ssh/id_rsa.pubShow images we can work with:5minute imagesBoot your machine (consider adding ‘–name’ or ‘–flavor’ to the
command):5minute boot <image_name_or_id>When the boot is finished, you should be able to ssh to your new machinessh root@<machine_ip_address>You can list your current machines:5minute listWhen you are done, kill the machine (you can do this via OpenStack webUI
as well):5minute delete <machine_name_or_id>To list available OpenStack scenarios:5minute scenario templatesRun scenario:5minute scenario boot <scenario_template_name>When finished with the scenario, you should delete it:5minute scenario delete <scenario_name_or_id>
Package: vmjuggler
What is vmjugglervmjugglerprovides the simple high level API to VMWare’s SDK.It built aroundpyvmomilibrary with aim to simplify interaction to VMWare VCenter and it’s managed objects
for DevOps crowd and those who don’t want to plunge deeply to object’s relations. At the same time ability
to perform actions on low level was preserved.Installationpip install vmjugglerManual installationInstall following python packagepyvmomiDownload latestvmjuugglerfromhttps://github.com/shurkam/vmjugglerUnpack and runpython setup.py installGetting startedfromvmjugglerimportVCenter# Create instance of VCenter and connect to VCentervc=VCenter('10.0.0.1','user','super_secret_password')vc.return_single(True)vc.connect()# Find VM and print out it's power statevm=vc.get_vm(name='My_Linux_VM')ifvm:print(f'{vm.name}|{vm.state}')# Close connection to VCentervc.disconnect()Please checkdocumentationfor more examples.
Package: vmm.alerts
IntroductionThis product displays alerts in the form of Alerts or Warnings on the top of some or all of your pages in a Plone website.History of this package1.0.6 (unreleased)Nothing changed yet.1.0.5 (2015-01-23)Update notification icon and border with a darker color for nieuwe huisstijl.
[f.vandijk]1.0.4 (2014-09-05)Set the styling of alerts like default plone error.
[l.huiskes]1.0.3 (2014-08-21)Change link to alert in the alert viewlet: put “read more” there and put the
original title of the alert in a a title attribute on the link for
accessibility.
[f.vandijk]1.0.2 (2014-06-11)Improve styling when no image is present, align link to the right.
[l.huiskes]1.0.1 (2014-05-26)Fix links to resource images for alerts and notifications.
[f.vandijk]1.0 (2014-05-21)Depend on plone.autoform, import form ordering directives from there.
[f.vandijk]Use the paths setting.
[maurits]0.9 (2014-05-19)Update translations, translate GS Profile name
[f.vandijk]Removed Contributor from the vmm.alerts: Add alert permission, add this
permission manually to an ‘Alerts’ folder.
[f.vandijk]Add a default view for the Alert CT with only title, description and text.
[f.vandijk]Add viewlet, basic layout, image scaling.
[f.vandijk]Add basic package for vmm.alerts with custom fields and provide translations
in Dutch.
[f.vandijk]
Package: vmman1
VMMan: a python3-based libvirt clientRequirements:--------------------Please run pip3 install -r requirements before running vmmanThekvmunix group must exist and whoever using vmman must be part of that group.This software basically clones already-existing VMs (the 'templates') to create new ones according to your cli arguments.Those template VMs must meet the following requirements:the virt-clone and virsh binaries must be present where you run vmmantemplated VM must allow ssh root@vm with key authenticationThe following templates are currently supported: ubuntu, debian, centos, fedora, rocky. Seetemplates.txt.TODO (long term):better exception handlingget a better handling of ssh with python3 (paramiko ?)find some way to get virt-clone nativeTOFIXvmman -c $HYPERVISOR create just wouldn't work for now
vmman -c $HYPERVISOR rm wouldn't remove the VM's image (thought I had fixed that one !)CURRENT KNOWN ISSUES:Sometimes when launching the shell script at the end of a VM creation(sh /tmp/execconfig.VMNAME-jfg_) it'll end up with a lost connection or no route to host.This means that the VM had not finished booting up and thus cannot receive the new configs.Workaround: just relaunch the shell script.Sometimes post-install scripts fail to copy on the new VM. No workaround yet.Important files to consider:environment.yaml : this is where you fetch the target VMs network configurationtemplates.txt : lists all the currently-supported templates, with some basic inforequirements.txt : this lists all the python modules used by this softwarehelpers.py, specifically Helpers.getConnectURI(), which shows how the hypervisor URI is constructedvmman (formerly vmman.py; the program's entry point). Check around line 80, LOGLEVEL . Levels are explained at the top of the file._version.py : current software version
Package: vmm_manager
vmm-managerPython script that manages resources in the System Center Virtual Machine Manager (SCVMM), in a declarative way, based on a YAML configuration file.Breaking changes1.0.0The inventory file schema has completely changed. See theinventory_example.yamlfile for more details.The command parameters were renamed to be more consistent.The API and inventory schema are now stable.PrerequisitesYou need a Windows machine, which will serve as the access point to SCVMM, with the following tools:OpenSSHSCVMM's PowerShell Module (virtualmachinemanager), installed with the Virtual Machine Manager (VMM) Console. You can also get it athttps://github.com/MP-ES/VirtualMachineManager-PowerShellModuleInstallationpipinstall-Uvmm-managerHow to useUse the command below to see the available options:vmm_manager-hEnvironment variablesYou can set environment variables to avoid passing the same parameters every time you run the script. See an example in the.env.defaultfile.Example of a inventory fileinventory_example.yamlDevelopmentInstall PoetryRun the following commands to install Poetry:# installcurl-sSLhttps://install.python-poetry.org|python3-# auto-completion# Bashpoetrycompletionsbash>>~/.bash_completionEnvironment variables (optional)Use the.env.defaultfile as a template to create a.envfile with the environment variables needed to run the script. You can load them by running the commandexport $(cat .env | xargs)before executing the script.How to run# Loading environment variables (optional)export$(cat.env|xargs)# Install dependenciespoetryinstall--no-root# Runpoetryrunpython-mvmm_manager-hHelpful commands# Poetry shellpoetryshell# Add a dependencypoetryadd<pacote>[--dev]# Update dependenciespoetryupdate# Run lintingflake8.&&isort--check-only--diff.# Fix dependencies sortingisort.# Run testspython-mpytest-vv# List virtualenvspoetryenvlist# Remove a virtualenvpoetryenvremove<name>ReferencesVirtual Machine ManagerPoetry
Package: vmn-image-match
image_match is a simple package for finding approximate image matches from a
corpus. It is similar, for instance, to pHash <http://www.phash.org/>, but
includes a database backend that easily scales to billions of images and
supports sustained high rates of image insertion: up to 10,000 images/s on our
cluster!Based on the paper An image signature for any kind of image, Goldberg et
al <http://www.cs.cmu.edu/~hcwong/Pdfs/icip02.ps>.
Package: vmnlcli
vmnlcliThis is a command line interface for these dutch velomobile web sites:http://www.velomobiel.nlhttps://www.intercitybike.nlIt might also work for other velomobile sites hosted at welmers.net which use the same server side software.Using it, you can script updating / publishing your velomobile's odometer value (overall km distance of your velomobile),
so you do not need to manually log in / fill out a form / log out.InstallationYou need to have Python >= 3.5 installed.
Seehttps://www.python.org/if you don't have it already.On a shell (linux terminal, windows cmd.exe), enter this to install the vmnlcli software:pip3 install vmnlcli         # system-wide installation, might require root/admin
or
pip3 install --user vmnlcli  # install into user's home/profile directoryOnly once, you need to find out the VMID (internal numerical identifier for your velomobile):vmnlcli --site http://www.velomobiel.nl --email 'you@example.org' --password 'CarsS*ck' vmidLet's assume it displayed that your VMID is 12345678.Now you can write 2 small wrapper scripts (they slightly differ for linux vs. windows).Linux wrapper scriptsmyvm-now-kmvmnlcli --site http://www.velomobiel.nl --email 'you@example.org' --password 'CarsS*ck' --vmid 12345678 update $1myvm-date-kmvmnlcli --site http://www.velomobiel.nl --email 'you@example.org' --password 'CarsS*ck' --vmid 12345678 update --date $1 $2Windows wrapper scriptsmyvm-now-km.cmdvmnlcli --site http://www.velomobiel.nl --email 'you@example.org' --password 'CarsS*ck' --vmid 12345678 update %1myvm-date-km.cmdvmnlcli --site http://www.velomobiel.nl --email 'you@example.org' --password 'CarsS*ck' --vmid 12345678 update --date %1 %2UsageYou just came home, odometer showed 4321 km and you want to update the site:myvm-now-km 4321Or, you noted that your odometer showed 4321 km at 2019-12-31 and you want to update the site with that:myvm-date-km 2019-12-31 4321
Package: vmo
vmo - Python Variable Markov Oracle LibraryMaintained by the Center for Research in Entertainment and Learning
(CREL) @UCSDContactsCheng-i Wang,chw160@ucsd.eduShlomo Dubnov,sdubnov@ucsd.eduAboutvmo is a Python library for time series and symbolic sequence analysis/synthesis
in the family of software built around the Factor Oracle and Variable Markov Oracle algorithms.
One of the main innovations in vmo is using functions related to Information Dynamics to
determine oracle structure and query-matching algorithms.Installationrunpython setup.py installorpip install vmoFriendly ReminderIf the VMO package is used for any research works result in publications, please cite the following paper.For machine improvisation and sequence generation,.For motif discovery and segmentation,.For human gesture applications,.
Package: vmodes
VModeS is a library for vectorized decoding of Mode S and ADS-B data.Install library with:pip install vmodesRead API documentation:pydoc vmodesThis library is inspired by pyModeS project by Junzi Sun. Learn more about
Mode S and ADS-B with his book athttps://mode-s.org/decode/VModeS library is licensed under terms of AGPL license, version 3, see
COPYING file for details. As stated in the license, there is no warranty,
so any usage is on your own risk.
Package: vmodule
vmoduleThis is a tiny project with no deps to add extra levels to stdlib logging, and
also something you can run from your main that processes logger-specific
verbosity.This is inspired by glog, which considers VLOG(1) to be a more restrictive
version of LOG(INFO).  For simplicity we just map that onto numeric severities.Here's a combined demo of how you might use this library -- we don't depend onclickbut you certainly can:fromloggingimportgetLoggerfromtypingimportOptionalimportclickfromvmoduleimportVLOG_1,VLOG_2,vmodule_initLOG=getLogger(__name__)@click.command()@click.option("-v",type=int)@click.option("--vmodule")defmain(v:Optional[int],vmodule:Optional[str])->None:vmodule_init(v,vmodule)LOG.warning("Warn")LOG.info("Starting up")LOG.log(VLOG_1,"Verbose%d",1)LOG.log(VLOG_2,"Verbose%d",2)LOG.debug("foo")if__name__=="__main__":main()If you're writing a library, it's even easier:fromloggingimportgetLoggerfromvmoduleimportVLOG_1LOG=getLogger(__name__)deffoo(...):LOG.info("Starting up")LOG.log(VLOG_1,"Verbose%d",1)Command line parsingIf you use the example above,(unset)  -> WARNING
-v 0     -> INFO
-v 1     -> VLOG_1
-v 2     -> VLOG_2
-v 3     -> VLOG_3
-v 10    -> DEBUG (by accident)You can also specify those same numbers with--vmodulealthough there are two
gotchas:You CLI's logger is quite possibly called"__main__".This doesn't take wildcards or use hierarchy.  You need to specify actual
logger names.--vmodule filelock=10,concurrent.futures=0

sets filelock to DEBUG
sets concurrent.futures to INFOVersion CompatUsage of this library should work back to 3.7, but development (and mypy
compatibility) only on 3.10-3.12.  Linting requires 3.12 for full fidelity.Licensevmodule is copyrightTim Hatch, and licensed under
the MIT license.  I am providing code in this repository to you under an open
source license.  This is my personal repository; the license you receive to
my code is from me and not from my employer. See theLICENSEfile for details.
Package: vmon-cli
vmon-clivmon-cli - CLI Viewer for Ibsen 512 USB interrogatorInstallation# clone the repository$gitclonegit@github.com:codenio/vmon-cli.git# move into tmon-cli folder$cdvmon-cli# install requirements$pipinstall-rrequirments.txt# intall tmon$pipinstall.# check installation$vmon--help
Usage:vmon[OPTIONS]COMMAND[ARGS]...vmon-I-MonSpectrumViewerandExporter

Options:--helpShowthismessageandexit.

Commands:exportExportProcessedI-Mondatareadfrom<file>.csvinto...plotPlottheI-MondataintographsUsagevmon commandsvmon--help
Usage:vmon[OPTIONS]COMMAND[ARGS]...vmon-I-MonSpectrumViewerandExporter

Options:--helpShowthismessageandexit.

Commands:exportExportProcessedI-Mondatareadfrom<file>.csvinto...plotPlottheI-Mondataintographsplot sub command$vmonplot--help
Usage:vmonplot[OPTIONS]FILES...PlottheI-Mondataintographs

Options:-p,--pathTEXTpathformwhichcsvfilesaretobeimported,default=.-t,--titleTEXTsetcustomtitlefortheplot,default=.-n,--normalisenormalisethedatabeforeploting-pk,--peaksshowpeaksintheplot--helpShowthismessageandexit.export sub command$vmonexport--help
Usage:vmonexport[OPTIONS][FILES]...ExportProcessedI-Mondatareadfrom<file>.csvinto<file>_vmon.csvfiles

Options:-p,--pathTEXTpathformwhichcsvfilesaretobeimported,default=.-n,--normalisenormalisethedatabeforeploting-i,--inspectinspecttheplotbeforeexporting--helpShowthismessageandexit.
Package: vmonere
vmonere : virtual machine monitorvmonerea wrapper CLI for virtual machine monitoring and resource usage comparison effectively. Vmonere framework enables user to monitor the real time guest and host resource usage.FeaturesCLI for virtual machine monitoring and resource usage comparison effectively.RequirementsPython 2.6, 2.7, 3.2, 3.3, 3.4setuptoolsLicenseMIT
Package: vmprofit
vmprof it!These are some unofficial helpers that make usingvmprofmore pleasant.For example you can do:import vmprofit

@vmprofit.profile()
def fn(x):
    do_stuff()or:with vmprofit.profile():
    do_stuff()vmprofit.profileacceptsweb_urlandautharguments,
by default it uploads profile result of each run tohttps://vmprof.com(thisWILLchange in the future to be more explicit).0.1.2 (2017-11-22)fixed installation from PyPI0.1.1 (2017-11-22)changelong and long description added0.1.0 (2017-11-22)initial release