Saravanan666/pypi-org huggingface dataset:
Package: vhip_light
VHIP balancing in PythonPython code forBiped Stabilization by Linear Feedback of the Variable-Height Inverted Pendulum Model.The main script unrolls VHIP trajectories with different balance controllers and reproduces plots as in the paper:This repository is a lighter implementation of the original scriptvhip_stabilization.pythat was released with the paper.InstallationThe recommended way is to use Conda:conda create -f environment.yamlconda activate vhip_lightAlternatively, you can install all dependencies from PyPI:pip install cvxpy ipython matplotlib qpsolvers scipyUsagepython main.pySee alsovhip_stabilization.py: original Python prototype as a single script, with dependencies on OpenRAVE and pymanoid (now deprectated).VHIP walking controller: C++ version of the VHIP QP balancer that was validated on the HRP-4 humanoid robot.
Package: vhlsrs
vhlsrsIt means Vivado HLS run synthesis.This package contains a script that runs vivado synthesis in a (somewhat)
reproducible way.It also allow to search for the minimum pipeline depth design for a given clock
period constrain.UsageExperience descriptionThe experience to run should be described in a .ini.A complete experiment description looks like :[EXP_NAME]
comp_path=path/to/component/file.cpp
top_level_comp= Name of top level function
period= clock period in ns (float)
part= part code name (default is xc7k160tfbg484)
standard= c++ standard to use. (default is c++11)
includes=comma separated list of directories containing includes to use during the synthesis. optionnal.
defines=Key=comma separated list of key=value preprocessor macro that will be defined during synthesis
keep_env=True/False Should the synthesis environment be kept after the synthesis is performed. Default is False.
ip_lib= Name of the ip library to use when exporting the ip (optionnal)
ip_version= Version to use when exporting the ip (optionnal)
ip_descr= description that will be exported along the vivado ip (optionnal)
ip_vendor= vendor name for the exported vivado ip (optionnal)
latency= ltency constraint for the initial design (optionnal)
hdl= verilog|VHDL
no_pipeline=True|False if true the design will not be pipelined (default false)
no_inline=True|False if true the function call will not be inlined (default false)
ctrl_hs=True|False Block protocol will be ap_ctrl_hs if true, ap_ctrl_none else. Default false.
exp_type=hls|syn|impl until which phase is the experiment to be performedRunning a one shot synthesispython -m vhlsrs impl [expdescr.ini]will implement the experiments described in expdescr.ini either with a latency constraint if given or with the minimal latency estimated by the tool.Minimizing the latencyAs vivado HLS is sometimes not very good at timing estimation, it can lead to overpessimistic latency.thepython -m vhlsrs minimize [expdescr.ini]will attempt to find the lowest pipeline depth that still respect the clock constraints by dichotomy.
If a latency constraint is provided, it will start the exploration with a designed with this constraint. Otherwise, it will start the exploration with the latency estimated by the tool.
Package: vhostino
About VHostinovhostino is a virtual hosts manager forMozilla Circus.Installingvhostino can be installed from pypi:easy_install vhostinoor:pip install vhostinoshould just work for most of the usersUsing VHostinoSimplyname your watcher and socket as the domainthey have to serve and setvhostino.vhost = Trueto make them serve through virtual hosts on the vhostinoport:[plugin:vhostino]
use = vhostino.VHostino
host = 0.0.0.0
port = 8000

[watcher:www.mywebsite.com]
cmd = chaussette --fd $(circus.sockets.www.mywebsite.com) myapp.application
use_sockets = True

vhostino.vhost = True

uid = www-data
gid = www-data

[socket:www.mywebsite.com]
host = 127.0.0.1
port = 8082Themyapp.applicationweb application will be served as usual on127.0.0.1:8082but will be also available on port8000when the domainwww.mywebsite.comis requested.Default Virtual HostBy default VHostino will answer with a 404 error whenever a non configured host is requested,
to serve a default virtual host simply set thevhostino.default_vhost = Trueoption inside
a watcher, whenever a virtual host is not available to serve the request it will be proxied to
that process.NotesTo perform virtual hosts resolution vhostino uses thewatchername, so make sure that
your watchers are named like the domain they need to serve. In future versions aliases
will also be added.To matchsocketandwatchervhostino uses their name, so make sure that your socket
share the same name, otherwise vhostino won’t be able to detect the process port.
Package: vhpc-toolkit
vHPC ToolkitVirtualized High Performance Computing Toolkit (vHPC Toolkit) is a flexible, extensible and easy-to-use toolkit, that allows users to deploy and manage virtualized clusters for High Performance Computing (HPC) and machine learning environments.This toolkit is intended to facilitate managing the lifecycle of these
special configurations by leveraging vSphere APIs. It also includes features
that help vSphere administrators perform some common vSphere tasks that are
related to creating such high-performing environments, such as VM cloning,
setting Latency Sensitivity, sizing vCPUs and memory, creating SRIOV dirtributed virtual switch (DVS) network, using assignable hardware (AH) accelerators (RDMA interconnects, GPU and FPGA), etc.Try It OutPrerequisitesOS for using this toolkit: Linux or MacvSphere >=6.5Python >=3.7InstallPackage dependencies will be isolated in a Python virtual environment byvirtualenv. This
allows us to have different versions of dependencies.To installvirtualenvif you don't have one, for example,For Mac:pip install --upgrade virtualenvFor Ubuntu:sudo apt-get install python3-pip;sudo pip3 install virtualenvSetup this toolkit with an virtual env:gitclonehttps://github.com/vmware/vhpc-toolkit.gitcdvhpc-toolkit
virtualenv-ppython3venvsourcevenv/bin/activate
pipinstall-rrequirements.txt
pipinstall-e.# Modify config/vCenter.confcdbin
./vhpc_toolkitviewFollowthis pageabout how to securely store your vSphere Client username and password in thevCenter.confin order to enable the possibility of automation (without prompting password every operation).Then you should be able to execute./vhpc_toolkit viewundervhpc_toolkit/binfolder to view the cluster.DocumentationFull documentationis available, or run./vhpc_toolkit --helpundervhpc_toolkit/binfolder to view all available
operationsTutorialWe have aVMUG tutorial video. It covers basic to advanced usage to deploy a vHPC environment.
More tutorial video will come soon.Feel free to use these materials to teach users at your organization about vHPC toolkit.CommunityvHPC Toolkit is an open source project. Questions, discussion, and contributions are welcome. Contributions can be anything from new packages to bugfixes, documentation, or even new core features.Resources:Mailing list:vhpc-toolkit@vmware.comContributingThe vhpc-toolkit project team welcomes contributions from the community. Before you start working with vhpc-toolkit, please
read ourDeveloper Certificate of Origin. All contributions to this repository must be
signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on
as an open-source patch. For more detailed information, refer toCONTRIBUTING.md.LicenseThis toolkit is available under theApache 2 license.
Package: vhpy
V&H (or 'V and H' or 'VH') Coordinates in PythonI created a python class to do V&H coordinate math and conversions. It's something I've done before in perl, and seemed like it might be useful to someone.For those of you who don't know what V&H coordinates are, consider yourself lucky. V&H coordinates are an old system, created in the late fifties, to map locations for AT&T. According to Voip-Info.org, the system was designed to be easy to use with a slide rule.AT&T dropped a gird over the US, placed at an angle, so it could get most of Canada, all of the 48 states, and some of Cuba. This allowed an approximate location for any AT&T telephone switch on a grid of roughly 10000 x 10000 points with no fractions or extra decimal places. Hawaii and Alaska don't fit in the 10000 x 10000 scheme, but work fine with bigger numbers.Telcordia has a hillarious map showing how add-hoc V&H is on thispageIf you've never used V&H before then there's nothing for you to see here. Look at the Telcordia map, have a chuckle and move on.But for those of you in the telco field who need a python module for V&H, here it is.The class file:VH.pyThe test file:testVH.pyPaul Pomerleau is the author ofNetworking for English Majors, which teaches people with liberal arts and social science degrees how to get jobs in computer networking. You don't need a computer science degree to get a well-paying job in computing.
Package: vhrun3
介绍基于httprunner==3.1.6版本，根据特定需求二次定制开发更新日志:1.3.330、parameters数据驱动的用例，拆不拆开可配置31、除usefixture(用于setup、teardown)外，可以通过request.getfixture执行fixture32、修复HttpRunner类属性__session_variables造成用例之间变量紊乱的bug33、allure报告优化1.3.228、allure报告优化validate显示29、allure报告setup_hooks和teardown_hooks的变量结果不显示在extract_values中1.3.124、日志和allure报告添加validate描述25、parameter生成支持变量解析，修复单个字段时值不能为list的bug26、allure报告的validate_list优化27、allure报告增加setup_hooks和teardown_hooks详情1.2.823、allure中的用例名称支持变量解析1.2.722、修复allure.step中因“{}”.format引起的错误1.2.621、loop_for支持递归嵌套1.2.520、teradown_hooks的执行放于extract之后，以便teardown_hooks可以使用extract后的变量1.2.419、修复v1.2.3中的bug1.2.317、循环增强：支持loop_for和loop_while18、环境变量带上进程号+线程号，避免pytest在使用并发插件时出现混乱1.2.215、setup_hooks/teardown_hooks中返回的变量显示在allure报告的extract_values中16、支持循环执行teststep直到达到目标条件或超时退出1.2.111、allure报告中显示Method和url12、修复setup_hooks/teardown_hooks使用$request和$response出现的问题13、支持api中variables与teststep中variables进行合并14、setup_hooks/teardown_hooks中返回的变量可以之后的teststep所使用1.2.010、Testcae和TestStep支持skipIf1.1.99、支持testcse级别的setup和teardown1.1.68、allure报告增加详细步骤信息1.1.37、支持特定场景下的skipif代码生成1.0.11、保留2.x版本的用例分层机制，避免冗余出现api基本信息（url、headers、method等）2、除支持http和https协议外，支持SSH协议，可以远程执行shell命令、文件上传和下载3、兼容支持2.x测试报告，便于测试时调试4、数据驱动改成一个Class N个test_*用例方式，便于用例扫描成独立用例5、支持test_xx的__doc__自动生成，并支持config.variables和parameters变量解析6、yml中config中usefixtures字段，支持pytest指定添加fixture参考：homepage = "https://github.com/httprunner/httprunner"
repository = "https://github.com/httprunner/httprunner"
documentation = "https://docs.httprunner.org"
blog = "https://debugtalk.com/
Package: vht
aboutvahatraker is a MIDI sequencing companion
for GNU/Linux audio setups. Adhering to Unix philosophy,
driving MIDI is the one thing it tries to do well,
adhering to other doctrines - enabling expression,
with added value of:live editingfast workflowintuitive midi-inunheard of time signaturesscenes a'la 'tonfractal turtlesfits on a floppydoesn't make soundFrankly speaking, vht was envisaged as a re-creation
of seq24 in tracker form for author's "studio needs"
and offers similar functionality (and limitations).
It relies 100% on JACK audio connection kit for
input/output/synch and uses jack_capture for rendering.
The GUI has similar dependencies as gnome-calculator
and tracker paradigm was chosen to allow for rhythmic
gymnastics otherwise hard to convey.Low level stuff was done in C and wrapped in Python.
Human interfacing part of contraption employs
GTK through gobject introspection and was also contrived
in the language we shall no longer spam about.dependenciesfedora - python3-devel jack-audio-connection-kit-devel jack_capture
ubuntu - build-essential python3-dev python3-setuptools libjack-jackd2-dev jack-captureinstallpip3 install vht
Package: vi
common utils for python====================this package include some useful general libs in python, include:- frequently used decorators- monkey patch for class- reflection, smartlog and yml_config and so on- cli interface tools- git workflow tools- project management tools, contains a scaffold, a update command toinstall=========pip install generalhow to use===========some are python packages you can import directly.``gy`` is a shell command you can run ``gy --help`` to see the usage. The most useful 3 workflow is  ``init``, ``sync``, ``push/merge``. And the default dev, release branch.``ly`` is a project manage and you can run ``ly --help`` to see the usage. The most useful command is ``new``, ``project-update`` to new and update a project.``gy self-update`` to update gy locally, is a command when you develop the package and want to refresh the package in system.
Package: via
Via: a command line tool to initialize your reposInitialize your repository.Feature.gitignoreLicenseTutorial# download python .gitignore file and MIT License# file will be saved to current dirvia-ipython-lmit# print to stdoutvia-ipython--printSupportIgnoreAll the files are downloaded fromgithub/gitignoreLicenseAll the licenses are downloaded throughGitHub License API.GPL-2.0UnlicenseBSD-2-ClauseLGPL-2.1GPL-3.0MITBSD-3-ClauseApache-2.0EPL-2.0MPL-2.0LGPL-3.0AGPL-3.0
Package: viabel
VIABEL:VariationalInference andApproximationBounds that areEfficient andLightweightVIABEL is a library (still in early development) that provides two types of
functionality:A lightweight, flexible set of methods for variational inference that is
agnostic to how the model is constructed. All that is required is a
log density and its gradient.Methods for computing bounds on the errors of the mean, standard deviation,
and variance estimates produced by a continuous approximation to an
(unnormalized) distribution. A canonical application is a variational
approximation to a Bayesian posterior distribution.DocumentationFor examples and API documentation, seereadthedocs.InstallationYou can install the latest stable version usingpip install viabel.
Alternatively, you can clone the repository and use the master branch to
get the most up-to-date version.Citing VIABELIf you use this package for diagnostics, please cite:Validated Variational Inference via Practical Posterior Error Bounds.
Jonathan H. Huggins,
Mikołaj Kasprzak,
Trevor Campbell,
Tamara Broderick.
InProc. of the 23rd International Conference on Artificial Intelligence and
Statistics(AISTATS), Palermo, Italy. PMLR: Volume 108, 2020.The equivalent BibTeX entry is:@inproceedings{Huggins:2020:VI,
  author = {Huggins, Jonathan H and Kasprzak, Miko{\l}aj and Campbell, Trevor and Broderick, Tamara},
  title = {{Validated Variational Inference via Practical Posterior Error Bounds}},
  booktitle = {Proc. of the 23rd International Conference on Artificial Intelligence and Statistics (AISTATS)},
  year = {2020}
}If you use this package for variational inference, please cite:Robust, Automated, and Accurate Black-box Variational Inference.
Manushi Welandawe,
Michael Riis Andersen,
Aki Vehtari,
Jonathan H. Huggins.
arXiv:2203.15945 [stat.ML] (2022).The equivalent BibTeX entry is:@article{Welandawe:2022:BBVI,
  author = {Welandawe, Manushi and Andersen, Michael Riis and Vehtari, Aki and Huggins, Jonathan H},
  title = {Robust, Automated, and Accurate Black-box Variational Inference},
  journal = {arXiv},
  volume = {arXiv:2203.15945 [stat.ML]},
  year = {2022}
}
Package: viablimp
Viablimp ("Via Blimp")--------History--------"Blimp" is a small airship or a barrage balloon. "Viablimp" delivers you the data you send through it to your facebook account.What it Does--------Blimp is a chatbot.Blimp provides you a unique URL when you message the bot.This unique url when hit with any data (GET/POST request) messages you the data in json on your fb account.Imagine this to be a wormhole! Anything you do with the url, the message is sent by you on your phone messenger account.Also can be used as a testing API endpoint.Website-------https://facebooklogger.herokuapp.com/Usage--------To use, simply do::>>> import viablimp>>> logger = viablimp.token('BGSFH3HJ7I') # The Token which you get from the viablimp facebook chatbot>>> logger.add_name('SERVICE_NAME') # Optional. Useful when multiple services use logging.>>> logger.message(STRING/OBJECT TO LOG)
Package: viadot2
ViadotDocumentation:https://dyvenia.github.io/viadot/Source Code:https://github.com/dyvenia/viadotA simple data ingestion library to guide data flows from some places to other places.Getting Data from a SourceViadot supports several API and RDBMS sources, private and public. Currently, we support the UK Carbon Intensity public API and base the examples on it.fromviadot.sources.uk_carbon_intensityimportUKCarbonIntensityukci=UKCarbonIntensity()ukci.query("/intensity")df=ukci.to_df()print(df)Output:fromtoforecastactualindex02021-08-10T11:00Z2021-08-10T11:30Z211216moderateThe abovedfis a pandasDataFrameobject. It contains data downloaded byviadotfrom the Carbon Intensity UK API.Loading Data to a SourceDepending on the source,viadotprovides different methods of uploading data. For instance, for SQL sources, this would be bulk inserts. For data lake sources, it would be a file upload. For ready-made pipelines including data validation steps usingdbt, seeprefect-viadot.Getting startedPrerequisitesWe assume that you haveDockerinstalled.InstallationClone the2.0branch, and set up and run the environment:gitclonehttps://github.com/dyvenia/viadot.git-b2.0&&\cdviadot/docker&&\shupdate.sh&&\shrun.sh&&\cd../ConfigurationIn order to start using sources, you must configure them with required credentials. Credentials can be specified either in the viadot config file (by default,$HOME/.config/viadot/config.yaml), or passed directly to each source'scredentialsparameter.You can find specific information about each source's credentials inthe documentation.
Package: viaduct
Viaduct is a Python REST API wrapper that utilises Trading212’s REST API that normally communciates exclusively with first party apps. This has not been offically released publicly but can be reverse engineered. Selenium is used to scrape required cookies and customer data from the web app but is no longer required after this point. REST network calls are used enabling greater functionallity and speed than pure web scraping. The use of a wrapper ensures any API changes in the future will not impact pre-existing Trading212 dependeant programs as the wrapper itself can be updated instead of the underlying code.
Package: viaenv
viaenv - Configuration via Environment for Pythonviaenvusesvariable annotationto populate values from environment variables.Examplefromdatetimeimporttimedeltafromviaenvimportpopulate_from_envclassconfig:port:int=8080log_file:str='/var/log/server.log'timeout:timedelta=timedelta(milliseconds=100)populate_from_env(config,prefix='SRV',# If you don't pass env, populate_from_env will use os.environenv={'SRV_PORT':'9000','SRV_TIMEOUT':'300ms'})print(config.port)# 9000print(cfg.timeout==timedelta(milliseconds=300)# TrueSupported Typesbool:y,yes,t,true,on,1->True,n,no,f,false,off,0->Falsedate:2019-05-18datetime:2019-05-18T13:43:12dict:{"x": 1, "y": 2}(JSON format)float:1.3,1e7int:12,0x12,0o12,0b12list:[1, 2, 3](JSON format)str: Anything goestime:13:43:12timedelta:10us,20ms,30s,17m,2h,7d,1h20mYou can add your types by callingregister_type_parser(typ, parser)wheretypis a type (e.g.float) andparseris a one argument function that
will get the value as a string.
Package: viai-sdk
VIAI-SDKA project to make working with the VIAI (https://cloud.google.com/solutions/visual-inspection-ai) REST API easier.DesignThe current pre-alpha design:UsageBasic tasks for the VIAI SDK.GCP CredentialsYou can supply akeyfileparameter to supply a Service Account keyfile or specify the standardGOOGLE_APPLICATION_CREDENTIALSenvironment variable.If you supply thekeyfileparameter, it automatically sets theGOOGLE_APPLICATION_CREDENTIALSto the same value.Project IDThe GCP Project ID is read from the service account keyfile.Service Account RequirementsThe following roles should be bound for the service account:roles/storage.objectAdminroles/visualinspection.editorStarting out>>> from viai import VIAI
>>> a = VIAI(keyfile='viai-key.json')
>>> dir(a)
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__',
 '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', 
 '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 
 '_getAuthCredentials', '_getSolutions', '_loadAllSolutions', 'apiUrl', 'author', 'credentials', 'projectId', 'region',
  'requestHeader', 'solutions']Loading a Solution/Dataset>>> from viai import VIAI
>>> a = VIAI()
>>> b = a.solutions[0]
>>> b.load()
<viai.Solution object at 0x7ff0a9497310>
>>> b.load()
>>> dir(b)
['VIAI', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init_
_', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__
str__', '__subclasshook__', '__weakref__', '_getAnnotationSets', '_getAnnotationSpecs', '_getImages', '_getModules', '_getSolutionArtifacts', 'annotationSe
ts', 'annotationSpecs', 'apiUrl', 'createTime', 'datasetId', 'datasetUrl', 'displayName', 'images', 'load', 'log', 'modules', 'name', 'requestHeader', 'sol
utionArtifacts', 'solutionType', 'updateTime', 'url']Working with images in a solution>>> from viai import VIAI
>>> a = VIAI(keyfile='viai-key.json')
>>> b = a.solutions[3]
>>> b.load()
2022-07-25 18:05:59,922 [INFO]  Loading Solution Data- style1horizontals
>>> c = b.images[0]
>>> d = c.getGcsBlob()
>>> type(d)
<class 'google.cloud.storage.blob.Blob'>
>>> d.public_url
'https://storage.googleapis.com/myproejct/myimage.jpg'DevelopmentTesting and Code Coveragecd viai-sdk
PYTHONPATH=$PYTHONPATH:$PWD/src;coverage run -m nose2 -v
coverage report -mContributingMerge requests are always welcome, and reach out to me atjamieduncan@google.comwith ideas and questions! Official policies are outlines inCONTRIBUTING.md