Saravanan666/pypi-org huggingface dataset:
Package: vutils-validator
vutils-validator: Data Validation UtilitiesThis package provides a set of tools that helps with validation of input data.InstallationTo get the package on your system, type$pipinstallvutils-validatorHow to UsePlease, read the following subsections to get more info about particular use
case.Basic ValidationsModulevutils.validator.basicprovides a set of functions for validation of
simple input data forms, like email addresses:verify_not_empty(value)fails ifvalueis empty.verify_matches(value, regex, message="")fails ifvaluedoes not match
regular expressionregex. Since many regular expressions describe entities
that have a name (identifier, number, email address, etc.) the default error
message can be overridden bymessageargument.verify_email(value)fails ifvalueis not an email address (currently
described by simple^\S+@\S+\.[A-Za-z]+$regular expression).Thevaluepassed to all validation functions can be eitherstror aValueHolder(fromvutils.validator.value) object. AValueHolderobject
can be used to store additional information about value, like its name and
origin. The synopsis ofValueHolder's constructor is__init__(self, value, name="The value", location=None), wherevalue,name, andlocationare value, its name, and the location of its origin,
respectively.locationis aLocation(fromvutils.validator.value) object
that holds path, line, and column of the value/token origin.ValueHolderserves to provide more detail about value in error messages issued by
validation functions by raisingValidationError(fromvutils.validator.errors) when the validation fails, example:fromvutils.validator.basicimportverify_emailfromvutils.validator.errorsimportValidationErrorfromvutils.validator.valueimportValueHolderdefget_input(name):returnValueHolder(input(f"Enter{name}: "),name)try:verify_email(get_input("email"))exceptValidationErrorasexc:print(exc)On ill-formed input, the example printsemail must be an email address!,
sinceget_inputnames a value asemail.Schema ValidationModulevutils.validator.schemaprovides functionvalidate(data, schema)fordatavalidation against JSON schemaschema. Function returnsNonein case
of validdataor list ofjsonschema.exceptions.{Validation,Schema}Errorin
case of invaliddataorschema.
Package: vutils-yaml
vutils-yaml: Working with YAML FormatThis package provides tools for loading data from and saving data to the YAML
format. Features:It annotates data while loading them from the YAML format. Every object
returned byvutils.yaml.load.load_yamlhas information about its origin.
This is useful when reporting errors.Limitations:Due to the annotating data, this packages is not suitable for loading YAML
formatted data containing thousands and hundreds of thousands items. For such
amounts of data usePyYAMLor other YAML
parser since it is supposed that large data sets are usually
machine-generated and consistent so further verification is not required.When used for the first time,vutils.yaml.utils.keylocfunction builds a
mapping betweendictkeys and their locations. This can be a bottle-neck
for large dictionaries.Due to the limitations, this package is suitable for parsing human-written
configurations in YAML format containing at most hundreds of items.Installationpipinstallvutils-yamlHow to UseTopic covered in this short guide is:loading annotated YAML dataAPI referenceLoading Annotated YAML DataTo load YAML data with annotations, use theload_yamlfunction fromvutils.yaml.load. Example:fromvutils.yaml.loadimportload_yamlfromvutils.yaml.utilsimportis_null,keylocstream="""---food:fruit:- apple- banana- orangevegetable:- potato- tomato- carrotmeat: null"""data=load_yaml(stream)food=data["food"]# `if food["meat"] is None` will not work, `null` is converted to `NullType`# object to be annotatedifis_null(food["meat"]):# `keyloc` retrieves the annotated key object from `food` and return its# locationprint(f"{keyloc(food,'meat')}: At least one kind of meat is required.")Observe the testing if the value isnulland the retrieving themeatkey
location to inform a user where the problem with his/her data is.API ReferenceModulevutils.yaml.loadprovide these functions:load_yaml(stream)loads YAML data fromstreamand annotates them.streamcan bestr,bytes, or afile-like object supportingread.Modulevutils.yaml.utilsprovide these functions:getloc(obj)retrieves the location ofobjkeyloc(obj, kobj)retrieves the location ofkobj, which is a key ofdict-like objectobj.is_null(obj)tests whetherobjisnull.is_bool(obj)tests whetherobjis of the Boolean type.
Package: vutwifi
vutwifiConnect to WiFi at FIT VUT in Brno.Install the package (requires Python 3.5 or newer):pip install vutwifiRun it either withvutwifiorpython -m vutwifi.Use on of the sub-commands:connect- Connect to VUT Wifidisconnect- Disconnect from VUT Wifistatus- Check whether you are connected to the VUT WiFiwatch- Check for connection periodically and reconnect if neededWhen connecting for the first time you will be prompted for user name and
password which will be then written to~/.vutwifi.conf.
Package: vuv
vuvvuv is a PyPI application to evaluate the vaccine effects on mortality by age group
between fully vaccinated and unvaccinated.
CDC dataset is automatically downloaded from the following site:https://data.cdc.gov/api/views/3rge-nu2a/rows.csvFive age groups include 18-29,30-49,50-64,65-79, and 80+.
Choose one of five age groups and enter the age group with vuv command.To install vuv,$ pip install vuvTo run vuv, enter one of five age groups.$ vuv 80+This command generates 80+.png image file.
Package: vvadlrs3
VVAD-LRS3Library to provide models trained on the VVAD-LRS3 Dataset. The library also contains preprocessing pipelines.
Applications are Speaker detection in scenarios, where multiple people are in the robot's field of view
and stare detection for proactive approaches.Prerequisitesvvadlrs3 depends on dlib which needs build tools to be installed over pip.Hereis described what is needed.For Ubuntu you just need to install the following:sudoapt-getinstallbuild-essentialcmakelibopenblas-devliblapack-devlibx11-devlibgtk-3-devInstallpipinstallvvadlrs3DataThe models are trained on the VVAD-LRS3 DatasetSome samples visualized. Samples with green borders are positive samples, samples with red borders are negative samples
Package: vvar
VVar-PythonDescriptionSimple python module to save and load user-persistent strings, that will stay after application stop. Note that the variables will be stored unencrypted.Usageimportvvar# Storevvar.example_var="Example String"# Readprint(vvar.example_var)# Output: Example String# Deletedelvvar.example_var# Use the oenv to store any variable which can be serialized via picklevvar.oenv.example_obj=["hello","world"]Installationpip install vvar
Package: vvault
VVaultStatsBased onhvacvaultStartpoetrypoetryaddvvaultpippipinstallvvaultimportfromvvault.vaultimportVaultMasterConfig for vault (services.yaml)---environments:dev:services:db:POSTGRES_USER:postgresPOSTGRES_PASSWORD:'1'POSTGRES_BD:postgresprod:services:db:POSTGRES_USER:postgresPOSTGRES_PASSWORD:'1'POSTGRES_BD:postgrespolicy:dev:db_access:path:dev/*:capabilities:-read-listdev/db/*:capabilities:-read-listsys/mounts/:capabilities:-read-listprod:db_access:path:dev/*:capabilities:-read-listdev/db/*:capabilities:-read-listsys/mounts/:capabilities:-read-listacl:dev_db_cl:password:adminadminadminpolices:-'dev/db_access'prod_db_cl:password:adminadminadminpolices:-'dev/db_access'Examples (first start)if__name__=="__main__":vault=VaultMaster(url="http://localhost:8200",auth_methods=("approle","userpass"))response=vault.start(root_token=None,unseal_keys=None,config_file=Path("services.yaml"))print(f"response:{response}")Examples (ordinary start)if__name__=="__main__":vault=VaultMaster(url="http://localhost:8200",auth_methods=("approle","userpass"))response=vault.start(root_token="you_token",unseal_keys=('1_key','1_key','3_key'),config_file=Path("services.yaml"),)print(f"response:{response}")
Package: vvifi
vvifiA Python CLI to quickly check your Wi-Fi network password.ReferencesWi-Fi Wikipedia pageSiddharth Dushantha'swifi-passwordCLIAnkit Jain'swifiPasswordCLIQuickstartUsage: vvifi [OPTIONS]

  A Python CLI to quickly check your Wi-Fi network password. By default, the
  network you are connected to is considered.

Options:
  --networks          Show the names (SSIDs) of saved Wi-Fi networks and exit.
  -n, --network NAME  The name (SSID) of a Wi-Fi network you have previously
                      connected to.

  --version           Show the version and exit.
  --help              Show this message and exit.Developmentpoetry installpoetry shellTech StackClick(for the interface)python-string-utils(to remove multiline string indentation)Packaging and DevelopmentPoetryMypyisortBlackFlake8flake8-bugbearflake8-comprehensionspep8-namingflake8-builtinsBanditThis CLI was created withCookiecutterand thejoaopalmeiro/cookiecutter-templates/python-cliproject template.Notespython.pythonPath(settings.jsonfile) is deprecated. More infohere,here, andhere. Alternative (source):"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python".subprocessmodule(Python 3.6).sys.platformvalues.security find-generic-password -h./System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -h(more infohere).Regular expressionused bytextwrap.dedent().Classifiers:"Operating System :: MacOS"+"Operating System :: MacOS :: MacOS X"(macOS).Mac OS 9was succeeded by Mac OS X.In the future, replace with"Operating System :: OS Independent".Click:User Input Prompts: Click supports input and confirmation prompts.Interactive User Promptsissue.PyInquirerandinquirerpackages.Find the interface for the Wi-Fi network (source):networksetup -listallhardwareports.Listpreferred Wi-Fi networks(source):networksetup -listpreferredwirelessnetworks en0(ornetworksetup -listpreferredwirelessnetworks en1). The wireless networks the computer has connected to are listed here.click-help-colorspackage.Datadog'smkdocs-clickextension.python-string-utilsimplementation to remove indentation from multiline stringsimportrefromtypingimportPattern# The second `^` is to match a character not present in the list.MARGIN_RE:Pattern[str]=re.compile(r"^[^\S\r\n]+")defstrip_margin(input_string:str)->str:# ...line_separator="\n"lines=[MARGIN_RE.sub("",line)forlineininput_string.split(line_separator)]out=line_separator.join(lines)returnout
Package: v-vk-api
# VVK APIVK API wrapper## DescriptionWith VK API wrapper you can use all possible VK API methods and pass all traffic through proxy.More detailed information about VK API you can see in the official [documentation](https://vk.com/dev/methods).![Python3](https://img.shields.io/badge/Python-3-brightgreen.svg)[![Release](https://img.shields.io/github/release/vadimk2016/v-vk-api.svg)](https://github.com/vadimk2016/v-vk-api/releases)[![Documentation Status](https://readthedocs.org/projects/v-vk-api/badge/?version=latest)](http://v-vk-api.readthedocs.io/en/latest/?badge=latest)[![Build Status](https://travis-ci.org/vadimk2016/v-vk-api.svg?branch=master)](https://travis-ci.org/vadimk2016/v-vk-api)[![Coverage Status](https://coveralls.io/repos/github/vadimk2016/v-vk-api/badge.svg)](https://coveralls.io/github/vadimk2016/v-vk-api)### Install```$ pip3 install v_vk_api```## Usage#### Authorization by access tokenimport v_vk_apiapi = v_vk_api.create(app_id=1234567890,login='login',password='pass')api.request_method('users.get', users_id=1){'response': [{'first_name': 'John', 'id': 123, 'last_name': 'Doe'}]}#### Authorization by service tokenimport v_vk_apiapi = v_vk_api.create(service_token='service token')api.request_method('users.get', users_id=1){'response': [{'first_name': 'Pavel', 'id': 1, 'last_name': 'Durov'}]}## TestsTests will check API connection and method requesting and some other helper functions like utils and exceptions,to run tests:```$ python -m unittest discover tests```**NOTE:** Tests can't handle CAPTCHA
Package: vvlab
VVLABVVLAB is a reinforcement learning platform based on Pytorch and OpenAI Gym.The supported interface algorithms currently include:SarsaQlearningDeep Q-Network (DQN)Deep Deterministic Policy Gardient (DDPG)InstallationNotice:The platform uses pytorch and numpy. It is recommended to use conda to create a new environment and install it.VVLAB is currently hosted on PyPI. It requires Python >= 3.6.You can simply install VVLAB from PyPI with the following command:pipinstallvvlabYou can also install with the newest version through GitHub:pipinstallgit+https://github.com/LampV/Reinforcement-Learning.git@masterOr install it after downloading it locally:gitclonehttps://github.com/LampV/Reinforcement-LearningEnter folder and install it with pip:cdReinforcement-Learningpipinstall.After installation, run examples :pythonexamples/ddpg.pyIf no error occurs, you have successfully installed VVLAB.DocumentationTodoQuick StartYou can create your own reinforcement learning agent through the base class provided invvlab.agents.The general method is as follows:# import base classfromvvlab.agentsimportxxxBase# inherit and complete necessary methodsclassmyxxx(xxxBase):def_build_net(self):passlearn more about the usage, by codes examples and  annotated documentations underexamples/.Simple neural networks built on pytorch are also provided invvlab.models. You can take it as a simple implement of DRL neural network.fromvvlab.modelsimportSimpleDQNNetThird, if you want to call the attached envs, you should run__init__.pyto register togym. After that you can use standardgymmethods to create it.importvvlabenv=gym.make('Maze-v0')ContributingVVALB is still under development. More algorithms and features are going to be added and we always welcome contributions to help make VVLAB better. If you would like to contribute, please check out this link.
Package: vvm
vvmVyper version management tool.Installationviapippipinstallvvmviasetuptoolsgitclonehttps://github.com/vyperlang/vvm.gitcdvvm
python3setup.pyinstallTestingvvmis tested on Linux, OSX and Windows with Vyper versions>=0.1.0-beta.16.To run the test suite:pytesttests/By default, the test suite installs all availablevyperversions for your OS. If you only wish to test against already installed versions, include the--no-installflag. Use the--vyper-verionsflag to test against one or more specific versions.ContributingHelp is always appreciated! Feel free to open an issue if you find a problem, or a pull request if you've solved an issue.Please check out ourContribution Guideprior to opening a pull request.LicenseThis project is licensed under theMIT license.
Package: vvmake
vvmakeone man call him self AV. so he`s make call VVMAKE.pip install vvmakevvmake_config.pyyou mast add this py file to your project root dir. for example:fromvvmakelibimportvvdefdependency():ifvv.FIND("include/pcl.h"):print("error")returnFalsereturnTruedefmake():OPT=""vv.CMAKE(OPT)definstall():vv.INSTALL()defpackage():vv.PACKAGE()vvmake.pycd source_dir

vvmake build -idir d:/dev
vvmake build -debug
vvmake build -debug -static

vvmake install
vvmake install -debug
vvmake install -debug -static

vvmake test

vvmake package
Package: vvspy
VVS API WrapperFully object-oriented libraryto integrate theVVS APIinto your project.readthedocsInstallationPython 3.6 or higher requiredpip install vvspyExamplesDetect delay in upcoming departures:fromvvspyimportget_departuresdeps=get_departures("5006115",limit=3)# Stuttgart main stationfordepindeps:ifdep.delay>0:print("Alarm! Delay detected.")print(dep)# [Delayed] [11:47] [RB17]: Stuttgart Hauptbahnhof (oben) - Pforzheim Hauptbahnhofelse:print("Train on time")print(dep)# [11:47] [RB17]: Stuttgart Hauptbahnhof (oben) - Pforzheim HauptbahnhofGet complete trip info between two stations (including interchanges):fromvvspyimportget_trip# also usable: get_tripstrip=get_trip("5000355","5005600")# Stuttgart main stationprint(f"Duration:{trip.duration/60}minutes")forconnectionintrip.connections:print(f"From:{connection.origin.name}- To:{connection.destination.name}")# Output:
Duration: 58 minutes
From: Wallgraben - To: Hauptbf (A.-Klett-Pl.)
From: Hauptbf (Arnulf-Klett-Platz) - To: Stuttgart Hauptbahnhof (tief)
From: Stuttgart Hauptbahnhof (tief) - To: Marbach (N)
From: Marbach (N) Bf - To: Murr HardtlindeFilter for specific lines:fromvvspyimportget_departuresdeps=get_departures("5006118")# Stuttgart main station (lower)fordepindeps:ifdep.serving_line.symbol=="S4":print(f"Departure of S4 at{dep.real_datetime}")Get your station idSee:https://github.com/FI18-Trainees/vvspy/issues/12#issuecomment-568175314Featuresfull customizable requests and parametersparsing all available info into result objWell tested and maintainedDepartures, Arrivals, Trips, Station info, Upcoming events, Maintenance workSee issues/projects on GitHub for upcoming featuresContributorsProjects using vvspyvvs_direct_connectis a dockerized REST service providing departure data by @aschuma.License:This project is licensed under MIT.
Package: vvvv
AboutMinimal vvvv Python OSC client. Compatible withPython 3.4+Quick startInstallvvvvwith pip :pipinstallvvvvUse the VVVVClient in your project and start sending OSC messages to
vvvv :>>>fromvvvvimportVVVVClient>>>vc=VVVVClient('127.0.0.1','4444')>>>vc.send_msg('/filter',[0,255,255])See more :vvvv:http://vvvv.org/OSC:http://opensoundcontrol.org/LicenseSeeLICENSE
Package: vvvvid_downloader
VVVVID DownloaderUno script in Python per scaricare da VVVVID.RequisitiPython3.9+FFmpeg(Opzionale, solo se si vogliono scaricare e convertire i file in .mp4)Installazionepipinstallvvvvid_downloaderUtilizzopython-mvvvvid_downloaderSeguire le istruzioni a schermo.Opzioni--download: Permette di scaricare e convertire i file in .mp4. (Richiede FFmpeg)OutputLo script creerà una cartella di nomevvvvid, con al suo interno una cartella con il nome del film che avete scaricato.Se avete usato l'opzione--download, vi ritroverete i file convertiti nel formato.mp4.In caso contrario, vi ritroverete un file.m3u8che potrete aprire con VLC o simili per eseguirne lo streaming.Come trovare l'ID di un animehttps://www.vvvvid.it/show/1353/deca-denceL'ID è1353.UnlicenseSeeUNLICENSEfor details.
Package: vw-estimators
Estimators LibraryIn contextual bandits, a learning algorithm repeatedly observes a context, takes an action, and observes a reward for the chosen action. An example is content personalization: the context describes a user, actions are candidate stories, and the reward measures how much the user liked the recommended story. In essence, the algorithm is a policy that picks the best action given a context.Given different policies, the metric of interest is their reward. One way to measure the reward is to deploy such policy online and let it choose actions (for example, recommend stories to users). However, such online evaluation can be costly for two reasons: It exposes users to an untested, experimental policy; and it doesn't scale to evaluating multiple target policies.The alternative is off-policy evaluation: Given data logs collected by using a logging policy, off-policy evaluation can estimate the expected rewards for different target policies and provide confidence intervals around such estimates.This repo collects estimators to perform such off-policy evaluation.TestsRun tests with:python3-mpytest
Package: vw-executor
What is this?Python helper for running vowpalwabbit on multiple command line arguments and have programmatic access to results.Getting startedInitialize the wrapperfrom vw_executor.vw import Vw
vw = Vw(
    'path to cache folder',
    'path to vw binary'         # Optional. If empty, pyvw is used
    )Run on single configurationresult = vw.train(INPUTS, CONFIGURATION)whereINPUTS - list of paths to input filesCONFIGURATIONEvery configuration can be defined using one of the following ways:string. I.e.result = vw.train(['input1.txt'], '--cb_explore_adf --dsjson')dictionary. In this case, for every key/value pair:If value is None/NaN the whole pair is skippedIf key starts with '#', key is skippedOtherwise f'{key} {value}' is added to command lineFor example,vw.train(['input1.txt'], {'#base': '--cb_explore_adf --dsjson', '--epsilon': 0.2, '--learning_rate': None})is running vw binary with the following command line:--cb_explore_adf --dsjson --epsilon 0.2Run on multiple configurationsresult = vw.train(INPUTS, CONFIGURATIONS)CONFIGURATIONS is the list of CONFIGURATION here. It is recommended to use helper vw_opts.Grid class in order to create it.
Grid can be constructed using one of the following ways:From Iterable of CONFIGURATION. For example,from vw_executor.vw_opts import Grid
vw.train(['input1.txt'], Grid(['--cb_explore_adf --dsjson -l 0.1', '--cb_explore_adf --dsjson -l 0.2']))From dictionary with string keys and iterable values.Grid({'-k': ['v1', 'v2']}) is equivalent to Grid(['-k v1', '-k v2'])Grid({'-k1': [v1, v2], '-k2': [v3, v4]}) is equivalent to Grid(['-k1 v1 -k2 v3', '-k1 v1 -k2 v4', '-k1 v2 -k2 v3', '-k1 v2 -k2 v4'])Grid supports multiplication("and") and summation("or") operators.
For example,Grid({
    '-k1': ['v1, v2']
}) * (Grid({'-k2': ['v3']}) + Grid({'-k3': ['v4']}))is equivalent toGrid(['-k1 v1 -k2 v3', '-k1 v1 -k3 v4', '-k1 v2 -k2 v3', '-k1 v2 -k3 v4'])
Package: vwo-python-sdk
VWO Python SDKThis open source library allows you to A/B Test your Website at server-side.RequirementsWorks with Python: 2.7 onwards. Python 3 is also supported.InstallationIt's recommended you usevirtualenvto create isolated Python environments.pipinstallvwo-python-sdkBasic usageImporting and Instantiationimportvwosettings_file=vwo.get_settings_file(account_id,sdk_key)vwo_client_instance=vwo.launch(settings_file)API usage# activate APIvariation_name=vwo_client_instance.activate(ab_campaign_key,user_id)# get_variation_name APIvariation_name=vwo_client_instance.get_variation_name(ab_campaign_key,user_id)# track APIvwo_client_instance.track(ab_campaign_key,user_id,ab_campaign_goal_identifeir,revenue_value)Log Level- pass log_level to SDKimportvwofromvwoimportLogLevelssettings_file=vwo.get_settings_file(account_id,sdk_key)vwo_client_instance=vwo.launch(settings_file,log_level=LogLevels.DEBUG)Custom Logger- implement your own logger methodimportvwoclassCustomLogger:deflog(self,level,message):print(level,message)# ...write to file or database or integrate with any third-party servicesettings_file=vwo.get_settings_file(account_id,sdk_key)vwo_client_instance=vwo.launch(settings_file,logger=CustomLogger())User Storage Serviceimportvwofromvwoimportloggerclassuser_storage(UserStorage):defget(self,user_id,campaign_key):# ...code here for getting data# return datadefset(self,user_storage_data):# ...code to persist dataus=user_storage()settings_file=vwo.get_settings_file(account_id,sdk_key)vwo_client_instance=vwo.launch(settings_file,user_storage=us)DocumentationReferOfficial VWO DocumentationLocal developmentpythonsetup.pydevelopRunning Unit Testspythonsetup.pytestDemo Python applicationvwo-python-sdk-exampleThird-party Resources and CreditsReferthird-party-attributions.txtAuthorsMain Contributor -Shravan ChaudharyRepo health maintainer -Varun Malhotra(@s0ftvar)ChangelogReferCHANGELOG.mdContributingPlease go through ourcontributing guidelinesCode of ConductCode of ConductLicenseApache License, Version 2.0Copyright 2019-2022 Wingify Software Pvt. Ltd.
Package: vwo-sdk-log-messages
## VWO SDK Log messages## Authors[Varun Malhotra](https://github.com/softvar)([@s0ftvar](https://twitter.com/s0ftvar))## ChangelogRefer [CHANGELOG.md](https://github.com/wingify/vwo-sdk-log-messages/blob/master/CHANGELOG.md)## ContributingPlease go through our [contributing guidelines](https://github.com/wingify/vwo-sdk-log-messages/blob/master/CONTRIBUTING.md)## Code of Conduct[Code of Conduct](https://github.com/wingify/vwo-sdk-log-messages/blob/master/CODE_OF_CONDUCT.md)## License[Apache License, Version 2.0](https://github.com/wingify/vwo-sdk-log-messages/blob/master/LICENSE)Copyright 2021-2022 Wingify Software Pvt. Ltd.