Saravanan666/pypi-org huggingface dataset:
Package: vmpy
VMPYis a toolbox for evaluatingtypicalCycling Performance Metricsfrom the ride data e.g. power, heart-rate, velocity,
gradient, cadence streams.All functions within the package do follow the convention, where input/output
formats are either traditionalPythonbuilt-in data structures
or are thend-arrays. This design choice favors easy integration into other projects,
e.g.velometria.comTo help you getting started VMPY also provides a very thin wrapper around theStrava API.InstallationOfficial release:pip install vmpyThe bleeding edge work in progress:pip installgit+git://github.com/sladkovm/vmpy.git@developmentScopeTheVMPYpackage provides the following functionality:streams.py: Streams shape preserving calculations e.g. masking, filtering, zone conversionsmetrics.py: Cycling Performance Metricsstrava.py: Python wrapper around the Strava API v3 for fetching Athletes, Activities and Stream dataUsage>>> from vmpy import strava
>>> stream = strava.retrieve_streams(activity_id=1282167861, access_token=STRAVA_ACCESS_TOKEN)>>> from vmpy import streams
>>> power_zones = streams.compute_zones(stream['watts'], ftp=270)
>>> hr_zones = streams.compute_zones(stream['heartrate'], lthr=160)
>>> watts_3sec = streams.rolling_mean(stream['watts'], window=3, mask=stream['moving'])
>>> gradient_wo_outliers = streams.median_filter(stream['grade_smooth'], window=31, threshold=1)>>> from vmpy import metrics
>>> normalizes_power = metrics.normalized_power(stream['watts'])
>>> time_in_power_zones = metrics.time_in_zones(stream['watts'], ftp=260)Quick StartRegister Strava AppIn order to be able to use Strava API the user App must be registered at thelinkhttp://www.strava.com/developers:Application Name:ex.:My Awesome AppWebsite:ex.:myawesomeapp.com(can be anything, even your FB or Strava page will do)Application Descriptionex.:Just fooling around with some Strava dataAuthorization Callback Domain127.0.0.1(unless you are building a serious App)Access TokenTheAccess Tokenwill be found at theusers profile pageIt will look like this:83ebeabdec09f6670863766f792ead24d61fe3f9Access Token must be passed explicitly as an argument
to the functions found instrava.pymoduleContribution guidelinesThis project is absolutely open for contributions. No strong guidelines yet, except for:Don’t push on master branchTestWrite docstrings in NumPy styleUseful linksStrava API v3 documentation -https://strava.github.io/api/
Package: vmshepherd-aws-drivers
vmshepherd-aws-driversIntroductionProvides plugin forVmShepherd.
Drivers allows to view panel with autoscaling groups and use rpc api from vmshepherdInstallationSimply usepip.pip install vmshepherd-aws-driversLibrary requires (as well as VmShepherd itself) python 3.6 or later.UsageInstall package (in the same environment as VmShepherd) and configureVmShepherdlike:# ...

iaas:
  driver: AwsIaaSDriver

preset:
  driver: AwsPresetDriver
  ec2_page_size: 1000 (optional) - maximum number of instances returned in one call to aws ec2 api

# ...DevelopRun tests:make test
make developLicenseApache License 2.0Changelog1.3.1 (2020-11-05)bugfix: AutoScalingGroups paginator - the right way1.3.0 (2020-11-04)bugfix: AutoScalingGroups fetch aware of marker/token1.2.1 (2020-05-06)bugfix: SecurityGroups field is optional in a launch configuration  (eg. EKS’ ASG)1.2.0 (2019-12-18)feature: preset specification with tags1.1.0 (2019-08-29)vm object without iaas manager1.0.0 (2019-06-04)initial
Package: vmshepherd-runtime-postgres-driver
vmshepherd-runtime-postgres-driverIntroductionProvides plugin forVmShepherd- driver allows to store runtime data and lock management in postgres database.InstallationSimply usepip.pip install vmshepherd-runtime-postgres-driverLibrary requires (as well as VmShepherd itself) python 3.6 or later.UsageInstall package (in the same environment as VmShepherd) and configureVmShepherdlike:# ...

runtime:
  driver: PostgresDriver
  host: (hostname -f)
  database: vmshepherd
  user: vmshepherd
  password: vmshepherd

# ...Available config optionsNameTypeDescriptionDefault valuehoststringPostgres DB host.portintegerPostgres DB port.5432databasestringPostgres DB name.userstringPostgres auth user.passwordstringPostgres auth password.pool_sizeintegerPostgres connection pool size.2DevelopRun tests:make testCreate local DB in docker and start vmshepherd:make db
make developLicenseApache License 2.0Changelog1.2.1 (2019-08-26)bugfix: set_preset_data - immutable arguments1.2.0 (2019-08-23)Keep list vms with state in runtime1.1.0 (2019-08-21)refactoring - moved logic to sql procedures1.0.0 (2018-06-10)Public releasex.y.z (2018-xx-yy)Internal devel0.0.1 (2018-03-15)Initial release
Package: vmshepherd-zookeeper-driver
vmshepherd-zookeeper-driverIntroductionProvides plugin forVmShepherd- driver allows to store runtime data and lock management in Zookeeper.InstallationSimply usepip.pip install vmshepherd-zookeeper-driverLibrary requires (as well as VmShepherd itself) python 3.6 or later.UsageInstall package (in the same environment as VmShepherd) and configureVmShepherdlike:# ...

runtime:
  driver: ZookeeperDriver
  servers:
   - some.zk.host
  working_path: /vmshepherd
  addauth:
    auth: vmshepherduser:password


# ...Available config optionsNameTypeDescriptionDefault valueserverslistZookeeper hostsworking_pathstringBase path where vmshepherd will read/write/create/deletes its nodes. A cdrwa permissions must be set for this path either to provided auth otherwise to anyone/world/vmshepherdaddauthobjectAuthentication options. If not provided ornullno auth assumed.nulladdauth.schemestringZookeeper’s auth scheme (eg. digest sasl).digestaddauth.authstringAuth data specific to given scheme (eg. user:password for digest)vmshepherd:vmshepherdLicenseMITChangelog1.0.0 (2018-05-21)Implement stable APILock management0.0.1 (2018-02-13)Initial release
Package: vmsshgen
py-vmsshgenAutomatic generation of SSH keys for VM.Why?I got tired of provisioning SSH keys manually between hundreds of VMs that I had to use.How to use?The script generates OpenSSH keypair and pushes public key to VM using existing SSH connection that can be protected by password (or some another SSH key). The private key on client machine (that executes this application) automatically goes to~/.ssh/{name}.pem+ reference to it is appended to~/.ssh/configfor automatic pickup by SSH client configuration.Supported parameters for key generation -https://asyncssh.readthedocs.io/en/latest/api.html#asyncssh.generate_private_keySupported parameters for private key export -https://asyncssh.readthedocs.io/en/latest/api.html#asyncssh.SSHKey.export_private_keyDefault settings:Algo for generation - ssh-ed25519No passphraseOutput private key with cipher AES256 with SHA256 hashing and 128 rounds of bcrypt.You can install it using pippip install vmsshgenAll actions are done interactively in terminal:usage: vmsshgen [-h] [-n N] [-a ALGO] [-ks KEY_SIZE] [-e EXPONENT] [-p PASSPHRASE] [-c CIPHER] [-r ROUNDS] [-hn HASH_NAME] host {password,privatekey} username pf

positional arguments:
  host                  VM hostname:port (example localhost:22)
  {password,privatekey}
                        login type
  username              VM username
  pf                    Password file location

optional arguments:
  -h, --help            show this help message and exit
  -n N, --name N        name for public/private key
  -a ALGO, --algorithm ALGO
                        algorithm for keypair (default is ssh-ed25519)
  -ks KEY_SIZE, --key-size KEY_SIZE
                        key size (only for RSA)
  -e EXPONENT, --exponent EXPONENT
                        exponent (only for RSA)
  -p PASSPHRASE, --passphrase PASSPHRASE
                        passphrase for OpenSSH key (default is None)
  -c CIPHER, --cipher CIPHER
                        cipher for OpenSSH key (default is aes256)
  -r ROUNDS, --rounds ROUNDS
                        rounds for OpenSSH key (default is 128)
  -hn HASH_NAME, --hash-name HASH_NAME
                        hash name for OpenSSH key (default is sha256)Example with password file onlinuxserver.iowith passwordpasswordstored in file namedpf:vmsshgen -n test localhost:2222 password linuxserver.io pfOf course, if you want to supply password right inside of same commandline statement, there's an option using FIFO pipe:vmsshgen -n test localhost:2222 password linuxserver.io <(echo 'password')(Honestly, if you decided to go with this option, I suggest to  ensure that history for current shell is disabled or you enterspacein front of command to avoid leaking password in history)
Package: vmtconnect
vmt-connect: Turbonomic API Connection Wrappervmt-connectis a user-friendly wrapper around the second generation Turbonomic
API. The wrapper provides useful helper functions for handling general tasks within
the API, such as searching, filtering, and error checking. This module is not
intended to be a full API client implementation.InstallationpipinstallvmtconnectUsageimportvmtconnectasvcconn=vc.Connection('localhost','administrator','<password>')vms=conn.get_virtualmachines()print([x['displayName']forxinvms])DocumentationTheuser guideis a
good place to start. Detailed documentation is also availablehere.
Package: vmtk
vmtk - The Vascular Modeling Toolkit
vmtk (http://www.vmtk.org) is a collection of libraries and tools for 3D reconstruction,geometric analysis, mesh generation and surface data analysis for image-based modeling of blood vessels.INSTALLATION REQUIREMENTS:
Python 2.7 (http://www.python.org/download/releases/2.7.6/)Read the HOWTO to build your own distribution or to install vmtk under linux/OSX.
Package: vmtlib
VMTlibDescription:VMTlib is a simple parser for Valve Material Type (.vmt) files.Note:At the moment this package doesn't support attribute key-value pairs
separated by tabs.The formatting of the write function is very basic.Basic Usage:Importfromvmtlib.vmt_fileimportVmtFileReadingvmtf=VmtFile("example.vmt")vmtf.read()Writingvmtf.write("path/to/target.vmt")Accessing Objects and Attributes# Attributesbasetexture=vmtf.shader.get("$baseTexture")# orbasetexture=vmtf.shader.attributes["$baseTexture"]# Objectsproxy_obj=vmtf.shader.get("Proxies")#orproxy_obj=vmtf.shader.childs["Proxies"]Setting Attributesvmtf.shader.set("$basetexture","new_texture")Getting the structure as dictionary:d=vmtf.shader.dictCreating a VMT file from a dictionary:d={"shader":{"$basetexture":"brick","Proxies":{"key":"val"}}}vmtf=VmtFile()vmtf.from_dict(d)Getting the filename and directory:filename=vmtf.filenamedir=vmtf.directory
Package: vmtools
# vmtools
misc tools to make working with python virtualenv easiervm_root_grabber
Get the current time and return a dictionary with the current time available in various formats
I use it to be able to find the local_settings.pys file and import all variable from that file.` import vmtools vm_root_path = vmtools.vm_root_grabber() sys.path.append(vm_root_path) from local_settings import * `get_time
Get the current time and return a dictionary with the current time available in various formats
Package: vmtplan
vmt-plan: Turbonomic API plan enginevmt-planis a companion library tovmt-connectfor working with the Turbonomic API. The core purpose of the library is to provide
interfaces for constructing and running plans within Turbonomic.InstallationpipinstallvmtplanUsage# Basic Plan - Note the import is vmtplanner <!>importvmtconnectasvcimportvmtplannerasvpvmt=vc.Session(host='localhost',username='bob',password='*****')# scoping to two groups by UUIDscope=['430e28cbaabf35522a180859d4160562d123ac78','e48fd3270917221d3e6290e1affead34b872e95b']scenario=vp.PlanSpec('custom scenario',scope=scope)# add 5 copies of a VM immediately using positional argumentsscenario.change_entity(vp.EntityAction.ADD,['1341c28a-c9b7-46a5-ab25-321260482a91'],[0],5)# add 1 copy each month for 2 months using named argumentsscenario.change_entity(action=vp.EntityAction.ADD,targets=['1341c28a-c9b7-46a5-ab25-321260482a91'],count=1,projection=[30,60])plan=vp.Plan(vmt,scenario)plan.run()DocumentationTheuser guideis a
good place to start. Detailed documentation is also availablehere.
Package: vm-translator
Translates a file containing VM (Virtual Machine) commands into a Hack assembly
language file. The VM specification can can be found in the section 7.2 of
Nisan, Noam. “The Elements of Computing Systems: Building a Modern Computer
from First Principles.”UsageThe assembler can be invoked via command line with the command:vm-translatorfileName.vm, where the string fileName.vm is the translator’s input, i.e. the name of a
text file containing VM commands. The translator creates an output text file
named fileName.asm, containing Hack assembly commands. The output file is
stored in the same directory of the input file. The name of the input file may
contain a file path.Referencehttp://www.nand2tetris.org/07.php
Package: vmtreport
vmt-report: Reporting Helpervmt-reportaddsTurbonomicspecific handlers for
thearbiterdata handling package. This
enabled Turbonomic API calls to be easily combined and manipulated into standardized output formats such as CSV, and JSON for data export or simple reporting needs.InstallationpipinstallvmtreportUsagevmt-reportinstalls the appropriatevmtconnectandcredstorehandlers for
connecting to Turbonomic instances usingvmt-connect. The JSON config controls most of the behavior ofarbiter,
while the process worker handles data manipulation.Example Script (example.py)# Dump selected fields from all market actionsimportarbiterimportvmtreportimportumsg# source worker sub-process must accept 3 parametersdefactions(source,config,logger):umsg.log(f"Retrieving data from{config['resource']}",logger=logger)res=source.connect().get_actions()fields=['createTime','actionType','details']return[{x:res[x]}forxinresifxinfields]if__name__=='__main__':report=arbiter.Process('report.config',actions)report.run()Example Config (report.config){"sources":[{"handler":"vmtconnect","resource":"https://localhost","authentication":{"type":"credstore","credential":"./credential.credstore","keyfile":"./turbo.keyfile"}}],"outputs":[{"handler":"CSV","resource":"file:/tmp/{timestamp}-actions.csv"}],"notifications":[{"handler":"email","on_success":true,"on_failure":true,"options":{"email":{"from":["no-reply@turbonomic.com"],"to":["user@example.com"],"subject":"Actions Report for {date}","body":"Wasted Storage Report generated on {timestamp}.","body_error":"Errors happened: {errors}"}}}],"logging":{"mode":"DEBUG"},"process_timeout":60}DocumentationTheuser guideis a
good place to start. Detailed documentation is also availablehere.
Package: vmupdate
vmupdatevmupdateis a command line utility used to keep your virtual machines up to date. It searches your computer for
virtualizers, queries them for a list of VM’s, and runs the appropriate update commands.InstallationGetting StartedRead the docsfor more details.InstallationThe recommended installation tool ispip:$pipinstallvmupdateGetting StartedCreate avmupdate.ymlfile with the credentials to login to your virtual machines:Credentials:Username:myuserPassword:mypassAnd pass that file to the utility:$vmupdate--config"/path/to/config/vmupdate.yaml"Note:This method is included for simplicity, but is not recommended due to the inherent insecurity of a plaintext
password. Read theConfigurationdocumentation for
more options.
Package: vmush
VMUSH - A MUSH and MUD Platform for PythonWARNING: Early Alpha!Pardon our dust, this project is still in its infancy. It kinda runs, but if you're not a developer intent on sprucing it up, it may not have much for you just yet.CONTACT INFOName:VolundEmail:volundmush@gmail.comPayPal:volundmush@gmail.comDiscord:Volund#1206Discord Channel:https://discord.gg/Sxuz3QNU8UPatreon:https://www.patreon.com/volundHome Repository:https://github.com/volundmush/pymushTERMS AND CONDITIONSMIT license. In short: go nuts, but give credit where credit is due.Please see the included LICENSE.txt for the legalese.INTROBuilding off the solid MUSH framework provided byPyMUSH, VMUSH is a working implementation of PyMUSH, meant to be the successor to the popularVolund MUSHCode Suitebut with a few twists to make it suitable for MUDs as well as MUSHes.FEATURESComing soon...OKAY, BUT HOW DO I USE IT?Glad you asked!You can install vmush usingpip install vmushThis adds thevmushcommand to your shell. usevmush --helpto see what it can do.The way that athanor and projects built on it work:vmush --init <folder>will create a folder that contains your game's configuration, save files, database, and possibly some code. Enter the folder and usevmush startandvmush stopto control it. you can use--app serveror--app portalto start/stop specific programs.Do note that VMUSH is built upon Django, sovmush migrateis needed to create the initial database.Examine the appdata/config.py and portal.py and server.py - which get their initial configuration from pymush's defaults - for how to change the server's configuration around.OKAAAAAAY, SO HOW DO I -REALLY- USE IT?The  created by --init must be filled with Python code and configuration changes fit for your game (or, alternatively, code can be put 'anywhere' as long as it's visible on the Python path), then any further changes needed must be implemented in MUSHcode. Be sure to keep backups of this folder!What, that still isn't enough? Well...VMUSH retains the extendability of the PyMUSH framework it's built upon. Because you can replace any and all classes the program uses for its startup routines, and the launcher itself is a class, it's easy-peasy to create a whole new library with its own command-based launcher and game template that the launcher creates a skeleton of with--init <folder>.Not gonna lie though - that does need some Python skills.FAQQ:This is cool! How can I help?A:Patreonsupport is always welcome. If you can code and have cool ideas or bug fixes, feel free to fork, edit, and pull request! Join ourdiscordto really get cranking away though.Q:I found a bug! What do I do?A:Post it on this GitHub's Issues tracker. I'll see what I can do when I have time. ... or you can try to fix it yourself and submit a Pull Request. That's cool too.Q:But... I want a MUD! Where do I start making a MUD?A:check outvmushSpecial ThanksTheEvenniaProject.All of my Patrons onPatreon.Anyone who contributes to this project or my other ones.The PennMUSH and RhostMUSH dev teams, especially Ashen-Shugar.
Package: vmu-tools
VMU ToolsThis python project is designed to be a fully loaded suite of VMU tools for the Dreamcast.FeaturesRead and extract data from .VMS and  .VMI filesGenerate icons from ICONDATA and VMS filesGenerate VMI files from VMSRead and manipulate VMU dumps filesExtract and upload save games from VMU dump filesupdate VMS icons from PNG and JPEGCheckout examples.py and example files for all featuresInstallpipinstallvmu-tools--upgradeExamplesAs a python packageimportvmut# Load .VMS fileVMS=vmut.vms.load_vms("example_files/SCALIBUR.VMS")# Print infoprint(VMS.info)# Save iconVMS.image_save("animaed.gif")# Generate Checksumprint(VMS.generated_crc())#Generate VMIVMS.vmi_gen("test.vmi","slurmking.com","test VMI file")#Fix crcVMS.fix_crc()Convert image to VMU IconFor best results use a square image scaled to 32x32vmut.Icon(image="example_files/slurm.png",threshold=160,invert=True).save()RoadmapChange VMU colorConvert VMU dumps to and from .DCI filesModify VMU ICONDATA from VMU dumpsPossible GUI / Electron appPossibly implement a built-in webserver for file transfers from DreamcastSpecial Thanks  to:Marcus Comstedthttps://mc.pp.se/dc/For providing the best documentation on the Dreamcastmrneo240for assistance on creating ICONDATA toolsbucaneroFor providing a dump of usefull test files
Package: vmux
vmuxvim/neovim/kakoune session handler within tmuxDemoFeaturesEachtmuxsession has its own editor sessionOne global editor session can be startedSuportsgvim, vim,neovimandkakouneSeamless integration withgvim,vim,nvim,kakthrough wrapper scripts
that directly callvmux- keep your muscle's memory :-)Once a session has been started in one editor, e.g.nvim, the session will
be reused even if another editor is called, e.g.vimorkakA new session is started if the old session doesn't exist anymoreAutomatically select tmux pane running the local or global vim sessionInstallationPython3 is required as well astmuxandvim,gvimornvim.Via PyPIInstallvmuxusingpip:$ pip install vmuxFrom SourceClone the repository and install vmux:git clone https://github.com/jceb/vmux.git
cd vmux
make DESTDIR=~/.local install

# if wrapper scripts are desired, install them as well
make DESTDIR=~/.local all

# add ~/.local/bin to PATH variable
export PATH="${HOME}/.local/bin:${PATH}"UsageStart editor session throughvmuxorvim.vmux,nvim.vmuxandgvim.vmuxwrapper scripts:tmux
vmux MYFILE
# split tmux window
vmux MY_OTHERFILEOnce a session has been started, it doesn't matter anymore which editor has been
used.vmuxwill open every file in the existing session even if a wrapper
script of a different editor is used.CustomizationDefine default editor:# export environment variable VMUX_EDITOR, either vim or nvim
export VMUX_EDITOR=nvimDefine path to the real editor executables.  This is required if the wrapper
scripts are used that will hide the real editors in$PATH.export VMUX_REALEDITOR_VIM=/usr/bin/vim
export VMUX_REALEDITOR_NVIM=/usr/bin/nvim
export VMUX_REALEDITOR_GVIM=/usr/bin/gvim
export VMUX_REALEDITOR_KAK=/usr/bin/kakDefine that a global session should be started.  One global and multiple local
sessions can exists next to one another:export VMUX_GLOBAL=1Define that the tmux pane shall not be selected automatically:export VMUX_NOT_SELECT_PANE=1Define socket path fornvim:export VMUX_NVIM_SESSION_DIR=~/.cache/nvim_sessionsTurn on debugging:export VMUX_DEBUG=1How it worksWhenvmuxis called, it defines a variableVMUX_SESSION_<ID>that is unique
to the currenttmuxsession.  The value of the variable is set to<ID>that
is used as session name forvim.vmuxandnvim.vmux.  Furthermore, the global
session that is started throughgvim.vmuxis stored in the environment
variablesVMUX_SESSIONandVMUX_GLOBAL_PANE.  The session name is set toglobal.Known issuesI noticed with neovim that the session socket doesn't always get removed when it
ends.  This might causes vmux to permanently fail to start a new session.  It
can be manually resolved by deleting the stalled socket file in neovim's session
folder.Similar projectstmux-omnivimcreates one global
session whilevmuxcreates one session pertmuxsession and it also
supports one global session next to multiple local sessions.