Saravanan666/pypi-org huggingface dataset:
Package: v4l2
A Python binding for the v4l2 (video4linux2) userspace api, usingctypes.  Basic example usage::>>> import v4l2>>> import fcntl>>> vd = open('/dev/video0', 'rw')>>> cp = v4l2.v4l2_capability()>>> fcntl.ioctl(vd, v4l2.VIDIOC_QUERYCAP, cp)0>>> cp.driver'uvcvideo'>>> cp.card'USB 2.0 Camera'See the ``linux/videodev2.h`` header file for details.  Currently thebindings are up to date with the 2.6.34 kernel headers.* `Video for Linux Two Specification <http://linuxtv.org/downloads/v4l-dvb-apis/ch07s02.html>`_* `Reporting bugs <http://bugs.launchpad.net/python-v4l2>`_
Package: v4l2ctl
v4l2ctlv4l2ctl is a python package to control v4l2 drivers.StatusThe project is still in its early development stages. It can, however, already
be used to read the name, driver, version and capabilities of a v4l2 device
driver, and read the supported frame sizes and intervals..Installationpip install v4l2ctlDocumentationAll documentation can be foundhere.TestingThere is a lot to be tested and unfortunately, I don't have enough camera
devices to test all features. If you find any bugs or problems, please don't
hesitate to open anissue.Copyright and licenceCopyright 2020, Michael IsraelLicensed underthe EUPL
Package: v4l2-fix
A Python binding for the v4l2 (video4linux2) userspace api, using
ctypes.  Basic example usage:>>> import v4l2
>>> import fcntl
>>> vd = open('/dev/video0', 'a')
>>> cp = v4l2.v4l2_capability()
>>> fcntl.ioctl(vd, v4l2.VIDIOC_QUERYCAP, cp)
0
>>> cp.driver
'uvcvideo'
>>> cp.card
'USB 2.0 Camera'See thelinux/videodev2.hheader file for details.  Currently the
bindings are up to date with the 2.6.34 kernel headers.Video for Linux Two SpecificationReporting bugs
Package: v4xyz
v4xyzv4xyz, way for doing kinds of things.A cli tool that ask GPT4 for programming solutions and get answers directly in terminal.______   __    _              _             __    __            _      __             
/_  __/  / /   (_)  ___       (_)  ___      / /_  / /  ___      | | /| / / ___ _  __ __
 / /    / _ \ / /  (_-<      / /  (_-<     / __/ / _ \/ -_)     | |/ |/ / / _ `/ / // /
/_/    /_//_//_/  /___/     /_/  /___/     \__/ /_//_/\__/      |__/|__/  \_,_/  \_, / 
                                                                                /___/1. Installation1.1 Installing from pypipipinstallv4xyz1.2 Installing from githubgitclonehttps://github.com/imhuwq/v4xyzcdv4xyz
pythonsetup.pyinstall2. Setup configOnce you havev4xyzinstalled, you have to config the OpenAI API key and the proxies if necessary.v4-e# this will open the config file with your editorThe config file is on json format:{"openai_secret":"","http_proxy":"","https_proxy":""}Theopenai_secretmust be set to your OpenAI key.Thehttp_proxyandhttps_proxyare optional if the OpenAI API is directly accessible from your region.3. Ask GPT4 in Terminalv4'How to config a reverse proxy with Nginx?'v4'send a HTTP GET request using telnet'v4'any thing here'
Package: v6gzbmssdr
IntroductionTODO: Give a short introduction of your project. Let this section explain the objectives or the motivation behind this project.Getting StartedTODO: Guide users through getting your code up and running on their own system. In this section you can talk about:Installation processSoftware dependenciesLatest releasesAPI referencesBuild and TestTODO: Describe and show how to build your code and run the tests.ContributeTODO: Explain how other users and developers can contribute to make your code better.If you want to learn more about creating good readme files then refer the followingguidelines. You can also seek inspiration from the below readme files:ASP.NET CoreVisual Studio CodeChakra Core
Package: v8bot
V8Bot gives you the ability to script chat bots for Hitbox.tv in JavaScript using the V8 engine by Google.Linux InstallationThe installation viapipseems currently broken, so you have to build and install PyV8 manually :(
But is not so hard, on Debian follow these steps:# apt-get install subversion scons libboost-all-dev libboost-python-dev
$ svn checkout http://v8.googlecode.com/svn/trunk/ v8
$ svn checkout http://pyv8.googlecode.com/svn/trunk/ pyv8
$ cd v8
$ export V8_HOME=`pwd`
$ cd ../pyv8
$ python setup.py buildNow, if you want to installV8Botas system wide side package# python setup.py installOr if you usingvirtualenv$ virtualenv venv
$ . venv/bin/activate
$ python setup.py installIf you using Debian lenny you also can use a binary distribution from me built for x64 withlibboost v1.55.0.2.
You find it here:https://v8bot.ewelt.net/dist/pyv8/Now download theV8Botsource files and install it usingsetup.pyas usual.# python setup.py installWindows InstallationFrom sourceDownload thePyV8installer for your architecture from here:https://code.google.com/archive/p/pyv8/downloadsand install it.Download theV8Botsource from herehttps://v8bot.ewelt.net/dist/and install it usingsetup.pyor use the providedmsiinstaller.Standalone builds from Py2ExeOnhttps://v8bot.ewelt.net/dist/you can also find standalone builds generated withPy2ExeUsageTo start a bot instance type$ v8b -u username -p password -c channel script_file.jsWhereusernameandpasswordare the Hitbox.tv credentials the bot should use. Its no problem to use your own credentials,
the bot will then have your nickname. You can let him join the same channels you are in, there is no duplicate check or something.
Package: v8-cffi
# V8-CFFI[![Build Status](https://img.shields.io/travis/nitely/v8-cffi.svg?style=flat-square)](https://travis-ci.org/nitely/v8-cffi)[![Coverage Status](https://img.shields.io/coveralls/nitely/v8-cffi.svg?style=flat-square)](https://coveralls.io/r/nitely/v8-cffi)[![pypi](https://img.shields.io/pypi/v/v8-cffi.svg?style=flat-square)](https://pypi.python.org/pypi/v8-cffi)[![licence](https://img.shields.io/pypi/l/v8-cffi.svg?style=flat-square)](https://raw.githubusercontent.com/nitely/v8-cffi/master/LICENSE)Embed the V8 Javascript engine into Python.> *Note: The initial purpose of this library is to render React components server side.*## Compatibility* GCC +4.8* G++ +4.8* Python 2.7, 3.4, 3.5 and PyPy 5.3> *Note:* ***Linux-x64*** *is the only (officially) supported platform.To build the binaries for other platforms, the `./dev` stepsmust be adapted (probably to vagrant instead of docker) accordingly.PRs are welcome.*## Usage```pythonfrom v8cffi import shortcutsshortcuts.set_up()ctx = shortcuts.get_context()ctx.load_libs(['./foo_bundled.js'])ctx.run_script('foo.render("hola mundo");')# "hola mundo"```Read the [docs](http://v8-cffi.readthedocs.org/en/latest/).## Notes* Currently ships with V8 4.9.385.33 (stable).* This repo contains V8 static files for Linux-x64,built with CentOS 6.7 (glibc 2.12),it's known to work in Ubuntu 12.04/14.04/16.04.## Resources* [How does NodeJS works?](https://medium.com/@ghaiklor/how-nodejs-works-bfe09efc80ca#.antxxwpsv)* [Beautiful Native Libraries](http://lucumr.pocoo.org/2013/8/18/beautiful-native-libraries/)or [alt](https://github.com/mitsuhiko/lucumr/blob/master/2013/8/18/beautiful-native-libraries.rst)* [V8 Custom Snapshots](http://v8project.blogspot.com.ar/2015/09/custom-startup-snapshots.html)* [V8 Cache Code](http://v8project.blogspot.com.ar/2015/07/code-caching.html)* [Latest stable V8](https://gist.github.com/nitely/9668d9feab88644148a1e62322ff11c5)* [V8 Wiki](https://github.com/v8/v8/wiki)* [V8 Embedder's Guide](https://developers.google.com/v8/embed)* [V8 users group](https://groups.google.com/forum/#!forum/v8-users)* [CFFI user group](https://groups.google.com/forum/#!forum/python-cffi)* [CFFI - Distribute including a (pre-)compiled library](https://groups.google.com/forum/#!topic/python-cffi/y5iNsezOlVs)## Devs[Devs](https://github.com/nitely/v8-cffi/tree/master/dev)## BenchmarksThis will run some silly benchmarks.It runs about ~110k ops/s on a 1.8GHz CPU.```$ make benchmarks```## LicenseMIT
Package: v8eval
Multi-language bindings to JavaScript engine V8.Currently v8eval provides Go, Python and Ruby bindings to the latest V8
7.1 and supports Linux and Mac OS X. v8eval uses SWIG and can be
extended easily for other languages.Pre-installationLinuxSeeDockerfile.MacSee.travis.yml.InstallationThe installation takes several tens of minutes due to V8 build.Gov8eval requires Go 1.10 or later.git clone https://github.com/sony/v8eval.git ${GOPATH}/src/github.com/sony/v8eval
${GOPATH}/src/github.com/sony/v8eval/go/build.sh installIn the case of Linux, you need to build your Go program withbuild.sh:${GOPATH}/src/github.com/sony/v8eval/go/build.sh go buildPythonpip install v8evalRubygem install v8evalDocumentationGoSeegodoc.org.PythonYou can create the Sphinx documentation under python/docs.python/build.sh docsRubyYou can create the YARD documentation under ruby/doc.ruby/build.sh docsExamplesGoimport"github.com/sony/v8eval/go/v8eval"funcAdd(x,yint)int{varv8=v8eval.NewV8()v8.Eval("var add = (x, y) => x + y;",nil)varsumintv8.Call("add",[]int{x,y},&sum)returnsum}Pythonimportv8evaldefadd(x,y):v8=v8eval.V8()v8.eval('var add = (x, y) => x + y;')returnv8.call('add',[x,y])Rubyrequire'v8eval'defadd(x,y)v8=V8Eval::V8.newv8.eval('var add = (x, y) => x + y;')v8.call('add',[x,y])endLicenseThe MIT License (MIT)SeeLICENSEfor
details.
Package: v8py
Write Python APIs, then call them from JavaScript using the V8 engine.>>>fromv8pyimportContext>>>context=Context()>>>defprint_hello():...print'Hello, world!'>>>context.expose(print_hello)>>>context.eval('print_hello()')Hello,world!>>>classGreeter(object):...defgreet(self,thing):...print'Welcome,{}!'.format(thing)>>>context.expose(Greeter)>>>context.eval('g = new Greeter()')>>>context.eval('g.greet("V8Py")')Welcome,V8Py!That kind of thing.Almost everything you’d expect to work just works, including:FunctionsClasses (including old style classes, because I can)Inheritance (from the last base class, other base classes are treated as mixins)Data descriptorsStatic methods and class methodsExceptions (they even subclass from Error!)Fully meme-compliantSupportLinux, Mac is supported for both python2 and python3.
Windows is also supported, but for python3 only.Installation$pipinstallv8pyHeads up: it’ll be stuck at “Running setup.py install for v8py” for literally
hours. It’s downloading and building V8, which is a really big program. If you
want to contribute scripts for Travis CI to build and upload wheels for
Mac/Linux, please do so.MiscThere is no documentation of any of this yet. No docstrings. The best place to
look to find out how to use it is the tests.I’m writing this so I can create a really lightweight special-purpose webdriver
(no visual rendering, no asynchronous XHRs), and I need some way of
implementing the DOM in Python. So there will definitely be enough
functionality for that.If you’d like to use it for something else, by all means go ahead, but you may
find something that doesn’t quite “just work”, or works kind of strangely, or
just stuff I forgot to test. If you find anything, please submit an issue. Or,
even better, send a pull request.Last but not least, don’t forget to
Package: v8unpack
saby v8unpackv8unpack- консольная утилита для сборки и распаковки бинарных файлов
1С:Предприятие 8.х (cf, cfe, epf) без использования технологической платформы.В какой-то момент жить без системы контроля версий на уровне исходников стало совсем не выносимо и обозрев все
варианты выбор пал на v8unpack. Однако, без устранения основных недостатков его использование было бы крайне
не удобным (плоский список из нечеловекочитаемых файлов, скрытый где-то в дебрях программный код управляемых форм).
Сразу скажу, что мы с глубоким уважением относимся к труду авторов v8unpack, данная утилита отлично выполняет все
свои функции и без неё создание этого решения было бы не возможным. Кроме этого её Python реализация отInfactumбыла взята за основу без каких либо изменений.Ключевые отличия от аналогичных утилит:Структура хранения максимально приближена к структуре метаданных, человеко-читаемые имена файловПрограммный код всегда хранится в отдельных файлах и может быть разделен на несколько файловОбщие для разных решений объекты метаданных могут автоматически браться из субмодулейДвоичные данные макетов и картинки хранятся в исходном видеПри сборке под 8.2 и 8.1. автоматически комментируются директивы 8.3Файлы хранятся в формате jsonВидны изменения элементов формОсновным назначением утилиты являются:Автоматическая сборка приложений 1С (расширения конфигураций, внешние обработки)
для различных платформ и конфигураций из одних и тех же исходниковУдобное и человекочитаемое хранение исходников в системах контроля версий.Алгоритм работыУтилита распаковывает и запаковывет бинарник 1С в 4 этапа:Распаковка стандартным v8unpack – на выходе текстовые файлыКонвертация в jsonДекодирование заголовков и разбивка по типам метаданныхОрганизация кода и структуры хранениявынос областей кода и панелей форм в отдельные файлысборка кода и форм из нескольких файловразделение объектов метаданных, панелей форм, файлов или областей кода под сабмодулямверсионирование кода расширения по версиям без применения областейУстановкаpip install v8unpackилискачайте exe файлЕсли работаете с тяжелыми конфигурациями используйте 64-bit питон последних версий.Распаковка файла 1Сиз командной строки:v8unpack.exe -E d:/sample.cf d:/unpackиз python:importv8unpackif__name__=='__main__':v8unpack.extract('d:/sample.cf','d:/unpack')Сборка исходниковиз командной строки:v8unpack.exe -B d:/unpack d:/repacked.cfиз python:importv8unpackif__name__=='__main__':v8unpack.build('d:/unpack','d:/repacked.cf')ДокументацияПереход на сборку из одних исходниковИспользованиеИстория измененийУчастиеОтладкаОграниченияРазметка форм и свойства объектов по прежнему является не читаемыми, но в этом виде проще проводить их
анализ и при желании дополнить парсер.На текущий моментутилита покрывает все типы метаданных в нужном нам объеме,
если Вам нужно более детальная распаковка каких то объектов напишите здесь обращение
или сделайте самостоятельно, мы будем радылюбому участию в проекте.
Package: vaa
VAAVAlidators Adapter makes validation by any existing validator with the same interface.Supported validators:validatoradapterCerberusva.cerberusDjango Formsva.djangoMarshmallowva.marshmallowPySchemesva.pyschemesDjango REST Frameworkva.restframeworkWTFormsva.wtformspython3-mpipinstall--uservaaExampleimportmarshmallowimportvaa@vaa.marshmallowclassScheme(marshmallow.Schema):id=marshmallow.fields.Int(required=True)name=marshmallow.fields.Str(required=True)Validating dataAll schemes adopted by vaa has the same interface:validator=Scheme({'id':'1','name':'Oleg'})validator.is_valid()# Truevalidator.cleaned_data# {'name': 'Oleg', 'id': 1}validator=Scheme({'id':'no','name':'Oleg'})validator.is_valid()# Falsevalidator.errors# [Error(message='Not a valid integer.', field='id')]Simple schemeIf you want to do validation with simple function, you can useva.simpleadapter. For example, you want to check that in dict{'a': ..., 'b': ...}both values are positive. There are many ways to do so.It can returnbool:@vaa.simpledefvalidate(a,b)->bool:returna>0andb>0Or return message for error:@vaa.simpledefvalidate(a,b)->bool:ifa>0andb>0:returnTruereturn'should be positive'Or return errors dict:@vaa.simpledefvalidate(a,b)->bool:ifa<=0:return{'a':'should be positive'}ifb<=0:return{'b':'should be positive'}returnTrueOr raiseva.ValidationErrorwith error message or dict:@vaa.simpledefvalidate(a,b)->bool:ifa>0andb>0:returnTrueraisevaa.ValidationError('should be positive')Also, if you want to get the original dict without unpacking it into keyword arguments, do a function that accepts only one_argument:@vaa.simpledefvalidate(_):return_['a']>0and_['b']>0In that dict keys can be accessed as attributes:@vaa.simpledefvalidate(_):return_.a>0and_.b>0Choose the best way and follow it. Avoid mixing them in one project.Unknown schemeIf you're making a library that should accept any validator without explicit vaa usage, usevaa.wrap:classScheme(marshmallow.Schema):id=marshmallow.fields.Int(required=True)name=marshmallow.fields.Str(required=True)validator=vaa.wrap(Scheme)({'id':'no','name':'Oleg'})validator=Scheme({'id':'no','name':'Oleg'})validator.is_valid()# Falsevalidator.errors# [Error(message='Not a valid integer.', field='id')]
Package: vaalikone
# hsvaalikoneRandom-koodia Helsingin Sanomien vaalikonedatan käpistelyyn.
(c) 2012 Ville Korhonen (ville@xd.fi)Hesarin data löytyy osoitteestahttp://blogit.hs.fi/hsnext/vaalikoneen-arvokartan-taustatiedot-avoimena-datanalisenssillä CC-BY-NC. Tästä reposta löytyvä koodi olettaa, että olet ladannut tuolta löytyvän XLSX-muotoisen vaalikonedatan LibreOfficessa (tmv.) ja muuntanut sen CSV-tiedostoksi, jonka merkistönä UTF-8. (LO:n tallennusasetuksissa Character Set ‘Unicode (UTF-8)’, Field delimiter ‘,’, Text delimiter ‘”’, Quote all text cells valittuna.
Package: vabbat
vabbatInstallationpip install vabbatWhat Does It DoVideo Abstraction By Bounding Box And TrajectoryHow to UsePip creates command line executable entry point by defaultYou should be able to run shell command$ vabbatanywhere.$ vabbat -hfor more help$ vabbat -hfor more helpin case the command does not work (e.g. on windows when <python_dir>/Scripts is not in system path). Use the package entry:> python -m vabbat
Package: vac
Multyvac gives Python developers a simple interface for offloading
computational workloads to the cloud.Getting StartedYou need to set an Api Key for your machine. To do this, run the following from your shell:$python-mmultyvac.setupFollow the on screen instructions to complete the setup process.Verify InstallationOpen up Python, and import multyvac:>>>importmultyvacIf you get an ImportError, something went wrong. Try running the setup again.Running a JobThe idea is to take a function that you would normally run on your own machine, but instead run it on Multyvac. Here’s an example of how you would offload a function for adding two numbers:>>>defadd(x,y):...returnx+y>>># run add on your machine>>>add(1,2)3>>># submit add to Multyvac>>>job_id=multyvac.submit(add,1,2)>>># get job object>>>job=multyvac.get(job_id)>>># wait for job to finish processing>>>job.wait()>>># verify the result is the same>>>job.result3
Package: vacanthouse
vacancy_rate_and_population_in_JP_and_USAアメリカと日本の空き家率や人口について、1958年から2018年まで5年ごとのデータを棒グラフや折れ線グラフを用いて、分析した。Data日本の空き家率データ：総務省統計局の住宅・土地統計調査住宅数概数集計結果日本の人口データ：国立社会保障・人口問題研究所、The World Bankhttps://www.stat.go.jp/data/jyutaku/2018/tyousake.htmlhttps://www.ipss.go.jp/syoushika/tohkei/Data/Relation/1_Future/1_doukou/1-1-A01.htmhttps://datacommons.org/place/country/JPN?utm_medium=explore&mprop=count&popt=Person&hl=jaアメリカの空き家率データ：FRED ECONOMIN DATAアメリカの人口データ：The World Bankhttps://fred.stlouisfed.org/series/RHVRNEQ156Nhttps://datacommons.org/place/country/USA?category=Demographics&hl=jaインストールと実行方法$ pip install vacanthouse
$ vacanthouse出力
Package: vacasa
🏠 vacasa connect 🏠Myvacasapackage provides a simple Python interface to theVacasaConnectAPI.InstallationThe easiest way to start using this package is to install it viaPyPIusingpip:$pip install vacasaIf you'd prefer to clone and install the repository manually, follow these steps:Clone this repo:$git clone https://github.com/johnwmillr/VacasaConnectAPI.gitEnter the cloned directory:$cd VacasaConnectAPIInstall:$python setup.py installUsageAPI KeyYou'll need an API key and secret from Vacasa to begin using their Connect API.ExamplesComing soon...DocumentationVacasa websiteConnect API documentationCollaborationPlease feel free to collaborate with a pull request or by opening an issue.
Package: vaccination
vaccination.pyGet COVID-19 vaccination schedules from booking.moh.gov.ge in the CLI.Installation$pipinstallvaccinationUsageMake sure the Python bin directory is added to yourPATH$vaccinationChangelogPlease seeCHANGELOGfor details.ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.AuthorsTemuri Takalandze-Initial workLicenseCopyright © 2021Temuri Takalandze.Released under theMITlicense.
Package: vaccinationvsdeath
covid-19-vaccination-vs.-mortality世界各国のコロナワクチン接種率と新規死亡者数を可視化し、相関係数を出力するDataKaggle, Sina Karaji, [COVID vaccination vs. mortality]https://www.kaggle.com/sinakaraji/covid-vaccination-vs-deathHow to install$pip install vaccinationvsdeathHow to run$vaccinationvsdeathenter the iso code
Package: vaccine-feed-ingest-schema
vaccine-feed-ingest-schemaNormalized data schema for the output of the vaccine-feed-ingest pipeline.InstallationInstall this library usingpip:pipinstallvaccine-feed-ingest-schemaUsageImport this package then use it to construct normalized objects with type
enforcement.fromvaccine_feed_ingest_schemaimportlocationlocation.NormalizedLocation(id="vaccinebot:uuid-for-site",source=location.Source(source="vaccinebot",id="uuid-for-site",fetched_from_uri="https://vaccinateTheStates.com",published_at="2021-01-13T00:00:00-08:00",data={},))For more details on the schema, read the inline comments or thevaccine-feed-ingestwiki.DevelopmentTo contribute to this library, first checkout the code. Then create a new
virtual environment:cdvaccine-feed-ingest-schema
python-mvenvvenvsourcevenv/bin/activateOr if you are usingpipenv:pipenvshellNow install the dependencies, linters, and tests:pipinstall-e'.[lint,test]'To run code formatters:isort.
black.To run linters:mypy.
flake8vaccine_feed_ingest_schemaTo run the tests:pytest
Package: vaccine-notifier
Vaccine Notifier with CrontabIt takes input as music/song file path and other filter option for vaccine slot booking (given in usage section), Notifies you when vaccine slots are open for booking by sending desktop notification with song/music playing.InstallationFrom PyPIpip install vaccine-notifierFrom GitHubgit clone https://github.com/panchal999/vaccine-notifier
python3 -m venv testenv
source testenv/bin/activate
python setup.py installFeaturesPlay Music/Song when vaccine slot detectedSend customized desktop notification includes Pincode, Address and Date for available vaccine centersMore details about Vaccine Centers updated in log fileUsageCLI❯ vaccine-notifier -h
usage: vaccine-notifier [-h] [-p PINCODES] [-d DATES] [-v VACCINE] [-l LOG]
                        music

positional arguments:
  music                 Path of Music or Song file. Play when vaccination
                        center detected

optional arguments:
  -h, --help            show this help message and exit
  -p PINCODES, --pincodes PINCODES
                        Single Pincode OR Comma Sprated Pincodes if multiple
  -d DATES, --dates DATES
                        Single Date OR Comma Seprated dates if multiple (In
                        dd-mm-yyyy)
  -v VACCINE, --vaccine VACCINE
                        Vaccine Names, Comma Seprated if multiple FROM
                        (covishild, covaxin, sputnik)
  -l LOG, --log LOG     Log File to Store Logs (Default vaccine_log.log file in
                        current directoryLicense© 2020 Parth PanchalThis repository is licensed under the MIT license. See LICENSE for details.