Saravanan666/pypi-org huggingface dataset:
Package: veritas
veritasVeritas is a Python library implementing a throwaway variable that attempts to return true no matter how it is called upon.It is intended for writing tests where you must provide some variables to an interface but your particular test will never read what happens to them. Veritas attempts to make sure that whatever the side effects on these variables it will not derail program execution. It implements comparable, numeric, callable, container, iterator, binary, in-place, unary, context manager, and async interfaces.Needing this is a smell, but it can help you get things moving without requiring you to refactor the whole system.Code:https://github.com/lonnen/veritas/Issues:https://github.com/lonnen/veritas/issuesReleases:https://pypi.org/project/veritas/#historyLicense:BSD 3-clause; See LICENSEInstallFrom PyPIRun:$ pip install veritasFor hackingRun:$ git clone https://github.com/lonnen/veritas
# Create and activate virtualenvironment, left to the reader as an excercise
$ pip install -r requirements-dev.txtUsagesee tests for example usage
Package: verity
fromdatetimeimportdatetimefromverityimportType,fielddefparse_date(value):returndatetime.strptime(value,'%Y-%m-%d').date()classPerson(Type):name=field(str)birthdate=field(parse_date)>>>data={'name':'Bob','birthdate':'1980-12-21'}>>>person=Person(data)>>>person.birthdatedatetime.date(1980,12,21)Types are nestable:classFood(Type):name=field(str)energy=field(float)classPerson(Type):name=field(str)birthdate=field(parse_date)favourite_food=field(Food)>>>data={'name':'Bob','birthdate':'1980-12-21','favourite_food':{'name':'Pizza','energy':'1200'}}>>>person=Person(**data)>>>person.favourite_food.name'Pizza'Types can JSON-ify themselves>>>person.__json__(){'name':'Bob','birthdate':datetime.date(1980,12,21),'favourite_food':Food()}Though it’s not recurive.However, it can cooperate withjson_default:>>>fromverityimportjson>>>json.dumps(person)'{"birthdate": "1980-12-21", "favourite_food": {"energy": 1200.0, "name": "Pizza"}, "name": "Bob"}'
Package: verity-sdk
# Verity SDKThis is the official Python SDK for Evernym’s Verity application.This procedure shows you how to set up your Python development environment to use the Verity SDK.## Prerequisites
Install the following items:
*libvdrtools– Installation instructions can be found [here](https://gitlab.com/evernym/verity/vdr-tools#installing).## Get Latest Python Verity SDK
See [pypi project](https://pypi.org/project/verity-sdk/) page to find the latest release.Install verity-sdk via pip:`sh pip installverity-sdk`## DocumentationAPI Documentation:
* [0.6.0](https://developer.evernym.com/doc/python/0.6.0/index.html)## Develop the Python Verity SDK### Development Prerequisites
*Python3– Follow the instructions on the [Python3 website](https://www.python.org/downloads/)### Pip Install
Install dependencies:`sh pip install-rrequirements.txt `### Hack away
Package: verkada-py
Verkada_pyAn unofficial Verkada API Python Library. Useful for individuals or companies looking to easily and pragmatically interact with their Verkada cameras. The goal of this library is to make it easier for developers to interact with Verkada's API.
Read the documentation here:https://verkada-py.docs.jwhite.networkRead Verkada's REST API's Documentation here:https://apidocs.verkada.com.
Package: verkefni
# Verkefni [![pipeline status](https://gitlab.com/OldIronHorse/verkefni/badges/master/pipeline.svg)](https://gitlab.com/OldIronHorse/verkefni/-/commits/master)  [![coverage report](https://gitlab.com/OldIronHorse/verkefni/badges/master/coverage.svg)](https://gitlab.com/OldIronHorse/verkefni/-/commits/master)Verkefni means task or tasks in Icelandic.Experiments in distributed task execution.# Installationclone the repocreate and activate your virtual environment (Python 3.10)pip install -e .run a rabbitmq broker on localhost e.g.docker run -d –name rmq-broker -p 15672:15672 -p 5672:5672 rabbitmq:3-management-alpineconfigure(this sets up the exchanges: work and result)# UsageThe rabbitmq host defaults tolocalhost.This can be overriden by setting the RMQ_HOST environment variable.## log EXCHANGEThis command logs all the messages send to the specified exchange.log worklog resultNote: this script creates a persistent queue (log-_EXCHANGE_) which will continue to collect messages if the script is stoppped.## worker-lexicalThis is a worker process implementing word counting and sorting.worker-lexical## worker-arithmeticThis is a worker process implementing square and sum.worker-arithmetic## monitor QUEUE_NAME WORKERThis ia a _very_ simplistic auto scaling controller based on queue depth.monitor arithmetic-1 worker-arithmetic## tasker COUNTThis script launches a mixture of dependent and independent arithmetical and lexical tasks, captures the results and reports completion.COUNT is the length of the list of numbers used in the arithmetical tasks.tasker 10
Package: verlauf
InstallationTo installverlauf, simply runpip install verlaufUsageverlauf [start] [end] [steps]Examples$ verlauf --help
Usage: gradients.py [OPTIONS] START END [STEPS]

  Generates a gradient from START to END STEPS long (ends inclusive)

Options:
  --help  Show this message and exit.
$ verlauf f00 00f           # This produces 5 colors between #ff0000 and #0000ff
$ verlauf '#0abc0d' abcdef  # '#' in color names are optional
$ verlauf 0abc0d abcdef 7   # This will produce 7 colors in between
Package: verlib2
verlib2»Changelog|PyPI|Issues|Source code|LicenseAboutA standalone variant ofpackaging.version, without anything else.verlibis the implementation ofPEP 386.verlib2is the implementation ofPEP 440.RationaleEveryone needs to compare versions, but no one wants to addpackagingas a dependency.distutilsis deprecated, and Python 3.12 removed it from the standard library.Setuppipinstallverlib2Usagefrom verlib2 import Version

assert Version("1.0.dev456") < Version("1!1.2.rev33+123456")AcknowledgementsTarek Ziadé, Donald Stufft, and all contributors todistutilsversion,verlib,distutils,distutils2,packaging.version, PEP-0386, PEP-0440, and most
probably more.Prior Arthttps://peps.python.org/pep-0386/https://peps.python.org/pep-0440/http://bitbucket.org/tarek/distutilsversion/https://pypi.org/project/verlib/https://hg.python.org/distutils2https://github.com/pypa/packaging/blob/23.2/src/packaging/version.pyhttps://github.com/numpy/numpy/pull/21000https://github.com/numpy/numpy/blob/v1.26.0/numpy/_utils/_pep440.pyhttps://github.com/crate/crate-python/pull/513https://pypi.org/search/?q=pep440https://pypi.org/project/pep440/https://pypi.org/project/pep440deb/https://pypi.org/project/pep440nz/https://pypi.org/project/pep440-rs/https://pypi.org/project/pep440-utility/https://pypi.org/project/pep440-version-utils/https://pypi.org/project/version-utils/DevelopmentSet up package in development mode.python3-mvenv.venvsource.venv/bin/activate
pipinstall--editable='.[develop,test]'Run software tests.poecheck
Package: verma
VerMaVersion Manager. CLI tool to help you manage your package versioning.InstallUsepipto install the package from Pypi:pipinstallvermaUsing the CLI toolAfter installing Verma,vermacommand will be enabled in your CLI. This command has a subcommandbumpthat can be used to bump the current version that can be read from the lastgit tagthat it finds in the repo. You can pass parameters tobumpsubcommand, such as:-p, --patch-pattern: Theregexpattern to be searched in the last commit to bump thepatchversion.-m, --minor-pattern: Theregexpattern to be searched in the last commit to bump theminorversion.-M, --major-pattern: Theregexpattern to be searched in the last commit to bump themajorversion.Some examples usingverma bump [OPTIONS]:vermabump-p"(fix):"-m"(feat):"-M"BREAKING CHANGES!:"vermabump--patch-pattern"(fix):"--minor-pattern"(feat):"--major-pattern"BREAKING CHANGES!:"You can pass multiple patterns for each version level:vermabump-p"(fix):"-m"(feat):"-p"fix:"-m"feat:"-M"BREAKING CHANGES!:"Verma will bump the version level of the highest version level's pattern that was matched in last commit.
Package: vermanager
VerManagerIntroductionA manager for versions. Modules with version requirements can be written asModuleName(==|>=|<=)1.2.3. The VerManager is aimed at version control.FunctionsConstruct modules with version infoA classModulecan be constructed with a string like'ModuleName==1.2.3', where1.2.3is the version, which can optionally followed by an alphabetical postfix and that will be ignored when comparing, as described later.Check if versions meet requirementsAn requirements would have four possible semantics. If no version requirement is stated, the requirement should contains the module name only. Otherwise the module name should be followed by an relation operator, which can be==,>=and<=. The operator indicates the current version should satisfy some relation with the stated version.If the operator is==, two versions should be exactly the same. In other cases, alphabetical parts will be ingore, i.e. moduleaaa==1.2.3.abcmeets the requirementaaa>=1.2.3.cde.If the current version fails to meet the requirement, the manager will try to find a suitable version and log 'should update to ...'. If no version can be found that satisfies all requirements, there must be conflict requirements. Note that all requirements will be recorded for later conflict analysis.Examplesvm=VersionsManager()vm.set_current_modules(['aaa==1.1.2','bbb==0.8.23','ccc=1.1.1','ddd==a.b.c','eee==1.2.4.abc'])print(vm.check_requirements(['aaa>=1.0.9','aaa<=2.0','bbb==0.8.27','ccc==1.1.1','ddd>=a.b.a','eee>=1.2.4.cde','fff==1.2','eee=1','eee==1.2.3']))The print-out isbbb should be updated to 0.8.27
No version ccc was found
No version ddd was found
No version fff was found
No version eee=1 was found
Unsolved conflict in version eee
{'fff', 'ccc', 'eee=1', 'ddd', 'bbb', 'eee'}Updatev0.1.2Categorise the unmet set into solvable and conflict two sets.Replace module name check method to support-and_v0.1.3Remove python 3.8 syntax
Package: vermeer
VermeerA library and command line tool to handle CK2 portrait filesInstallInstall withpip install vermeer. Make sure to usepip3if Python 3 isn't your default version.Use from command linevermeer create *[files]*combines all listed files into a CK2-ready portrait sprite.vermeer insert *source* *target* *index*inserts the source file into the existing target sprite at the specified index.Use from codevermeer.libraryexposes several functions to deal with portrait sprites.
Package: verme-logs
Система журналирования серверных процессов и
сбора информации об ошибках на стороне браузераQuick startAdd “applogs” to your INSTALLED_APPS setting like this:INSTALLED_APPS = [
    ...
    'applogs',
]Include the URL conf in your project urls.py like this:path('applogs/', include('applogs.urls')),Runpython manage.py migrateto create applogs models.
Package: vermon
IndexAboutInstallwith pipenvwith pip and virtualenvUseContributionsLicenseAboutVermonmonitors the version of the package specified on thepypiplatform, compares the version of the package installed in your environment with the latest published version and, if less, shows a warning with instructions for updating in the terminal.For example:suppose you created a package calledfooand published version1.0.0in pypi. Some users are already using the foo package as a dependency on their projects. You found a bug and released a patch with the fix, now the latest version offoois1.0.1. All users using version1.0.0(less than the last release) of the package will receive a warning on the terminal similar to this one whenever they run the project:>pythonyour_project.py
Youareusinganoldversionofthefoopackage(v1.0.0)anewversionhasbeenreleased(v1.0.1).
Pleaserun:python-mpipinstallfoo--upgradeNow users know they have a dependency that needs to be updated ;)InstallUsepipenvto install fordev in your environment. It will create a virtual environment and separate all dependencies and subdependencies from your global environment.Install with pipenvCreate a directory and enter it:$mkdirmy_project&&cdmy_projectInstall with pipenv using:$pipenvinstallvermonNow activate the virtual environment:$pipenvshellInstall with pip and virtualenvAlternatively, if you don't want to use pipenv, usepip+virtualenvto do the same thing.Create a directory and enter it:$mkdirmy_project&&cdmy_projectCreate and activate the virtual environment:$virtualenvvenv&&sourcevenv/Scripts/activateNote: In linux environment, usesource venv/bin/activateto activate the virtual environment.Now install with pip:$pipinstallvermonDone, now you can start the job ;)UseTo use the vermon package, callVermon.runmethod in your package's__init__.pyfile:fromvermonimportVermonVermon.run(package='YOUR_PACKAGE',current_version=your_package.__version__)Done 🎉ContributionsAll contributions are welcome!Found a problem, want to give a tip?open an issueDo you have a solution to the problem?Send me a PRDid you like this project?Click on the star ⭐LicenseThis project is using the MIT license, see inMIT LICENSE.
Package: vern
VERN: Very Easy Research Notehow to useonly works on Windowsbecause it uses registry to make this work in the context menu (menu that appears on right click)to add support for OSX and Linux, you can do anpull request.right click on file and select “process in VERN”.a “report” folder should appear on the same folder.reports should be generated in the folder.contributebug reportUse theissuesfeature of GitHub. Please use only Englishcode updateUse thepull requestfeature of GitHub. Please use only Englishtypes of filesprofilometer (Tencor P7)*.txtfile will be regarded as a profilometer filemodify filename to*_i.txtto enable interactive modeinteractive mode can crop part of the profile and apply it to normal plot and histogramtabular*_m1.txtfile will be regarded as a tabular filetabular data is consisted of two columnseach column will be used as x and y datathe column labels will be used for the x and y axis labelx,y plot will be shown as dotsa linear approximation line will be added to the plotthe equations for the approximated line and the R2 value will appear on the plotVSM*.Datfile will be regarded as a profilometer filemodify filename to*_i.Datto enable interactive modeinteractive mode can crop part of the profile and apply it to normal plot and histogramoscilloscopein progressdxfin progress
Package: verna
VernaA simple module to handle colorsOnly RGBA colors are supported at the moment.InstallationYou need Python>=3.6 to use Verna.It can be installed from PyPI with pip usingpip install vernaUsageColors are represented using objects of classColor.The color value is essentially stored as an integer as theintegerattribute.The following properties can be used to access the different color components.color.alpha
color.red
color.green
color.bluewherecoloris an instance ofColor.The different color components can be edited with one of the following valuesa percentage in string form with a '%' at the end (eg: "20%")an integer from 0 to 255 (eg: 0xff, 255)a float from 0.0 to 1.0 (only foralphaproperty. eg: 0.4)So, the following are valid:color = Color(0x00ffff)
color.alpha = 0x80
color.alpha = "50%"
color.alpha = 0.5   # float values can be assigned
                    # only to alpha property

color.red = 0xff    # Same as color.red = 255
color.red = "100%"
color.green = 217
color.green = "85%"
color.blue = 0xf5
color.blue = "96%"whereas the following will cause error:color = Color(0x00ffff)
color.alpha = 0x1ff    # > 0xff
color.alpha = -1       # < 0.0
color.alpha = "120%"   # > 100%
color.alpha = "120"    # No '%' at end
color.alpha = 1.2      # > 1.0
color.alpha = True     # Invalid type: bool
color.red = 0.5        # float value accepted only for alphaAColorobject may be created in multiple ways.By default, alpha value is0.From integer color codeFor example, cyan (solid), which has color code0x00ffffcan be created likeColor(0x00ffff)which is same asColor(65535)From color nameColor.from_name()can be used to createColorobjects from aCSS3 color name.For example, cyan can be created withColor.from_name('cyan')From RGBA valuesColor.from_rgba()can be used to create an instance ofColorfrom RGBA values.Color.from_rgba(255, 255, 0)         # solid yellow
Color.from_rgba(255, 255, 0, 0.5)    # translucent yellow
Package: vernacular-ai-speech
Python Speech to Text SDKPython SDK for vernacular.ai speech to text APIs. Goherefor detailed product documentation.InstallationTo install this sdk run:pipinstallvernacular-ai-speechSupported Python VersionsPython >= 3.5Example Usagefromvernacular.aiimportspeechfromvernacular.ai.speechimportenums,typesdefsample_recognize(access_token,file_path):"""Args:access_token Token provided by vernacular.ai for authenticationfile_path Path to audio file e.g /path/audio_file.wav"""speech_client=speech.SpeechClient(access_token)audio=types.RecognitionAudio(content=open(file_path,"rb").read())config=types.RecognitionConfig(encoding=enums.RecognitionConfig.AudioEncoding.LINEAR16,sample_rate_hertz=8000,language_code="hi-IN",)response=speech_client.recognize(audio=audio,config=config)forresultinresponse.results:alternative=result.alternatives[0]print("Transcript:{}".format(alternative.transcript))To see more examples, go tosamples.
Package: vernam
—
# Vernam 2.5.6### Synopsis
A simple vernam (or OTP) encryption / decription program in python—
### Code Example
Encode message “super_secret_message” with key “very_secret_key”, store in variable “encoded”, and print as a list.
~~~
>>> encoded = vernam(“super_secret_message”, “very_secret_key”)
>>> print( encoded )
~~~Decode message stored in variable “encoded” with key “very_secret_key”, store in variable “decoded”, and print as a string.
~~~
>>> decoded = vernam(encoded, “very_secret_key”)
>>> print( “”.join(decoded) )
~~~
—
### Installation
Install:
~~~
>>> $ pip install vernam
~~~
Import:
~~~
>>> $ from vernam import vernam
~~~
—
### CLI Usage
~~~
vernam <message> <key>
~~~
—
### License
[MIT Licence](https://choosealicense.com/licenses/mit/#)—
Package: vernemic
Mnemonic Version NamesI have always wondered if it was easier to remember
(and distinguish between) numbers like 48 and 32 in
contrast with names likeholmesandgeneva. This
program is a little experiment to generate an easy
plugin to situations where a random hex or a numeric
iterator is a natural decision for lack of a better
choice. For example,fromvernemicimportnamesfornameinnames(count):pass# orfori,nameinenumerate(names(count,sorted)):pass# instead offoriinrange(count):passSorted with cycleThe version names start witha,b... and start
back again from the top. Its not as if each character
is repeated; but whatever is available is cycled. For
example,['amandi', 'burdett', 'clothilde', 'encratis',
 'georglana', 'inglis', 'jaquiss', 'kondon', 'lunn',
 'maure', 'ponzo', 'sally', 'erland', 'gladys',
 'justin', 'lyns', 'sussi', 'gunzburg', 'gyasi']Design ChoicesCorpusThe names corpus is taken fromthe Moby II
projectFolder StructureBy defaultROOT=~/.mobyROOT
+-  moby.tar.Z
\-  Moby
    +-  [...]
    \-  mwords
        +-  [...]
        +-  21986na.mes
Package: verobject
name:verobjectdescription:Version controlled object database on RedisCopyright:© 2012 Justine Alexandra Roberts Tunneylicense:MITWhat Is This?It’s a key value store that keeps copies of past revisions.Why you should use thisYou’ve already deployed RedisYou don’t ever want to lose dataYou like pythonic APIsYou want the KVS to automatically pickle (or jsonify) your dataYou want something simple (140 source lines of code)You want something that works (70 lines of test code)Why you shouldn’t use thisIt’s space inefficient.  It doesn’t compress revision deltas like git does.It doesn’t support transactions or fancy save methods like zopeInstallationFrom folder:sudo python setup.py installFrom cheeseshop:sudo pip install verobjectFrom git:sudo pip install git+git://github.com/jart/verobject.gitBasic Usageimport datetime, verobject, redis
redis = redis.Redis()
table1 = verobject.Store('table1', redis=redis)

table1['hk'] = {'hello': ['kitty', 'kitty', 'kitty']}
table1['ts'] = datetime.date(1984, 10, 31)
print table1['ts'], table1['hk']
del table1['ts']

table1['vc'] = 'version1'
table1['vc'] = 'version2'
table1['vc'] = 'version3'
assert list(table1.versions('vc')) == ['version3', 'version2', 'version1']
assert table1.versions('vc')[0] == 'version3'
assert table1.versions('vc')[-1] == 'version1'
Package: veroku
InstallationFor installing through pip:pipinstallverokuTo clone this git repo:git clone https://github.com/ejlouw/veroku.git 
cd veroku/
pip install -r requirements.txtIt is recommended to use a separate conda virtual environment when installing the dependencies, to avoid interfering
with existing packages. To get started with conda environments, see theinstallation guide.
For more information on using conda environments seemanaging environments guideOverviewVeroku is an open source library for building and performing inference with probabilistic graphical models (PGMs) in
python. PGMs provide a framework for performing efficient probabilistic inference with very high dimensional
distributions. A typical example of a well-known type of PGM is the Kalman filter that can be used to obtain
probabilistic estimates of a hidden state of a process or system, given noisy measurements. PGMs can in principle be
used for any problem that involves uncertainty and is therefore applicable to many problems.Veroku currently supports the following probability distributions:Categorical (sparse and dense implementations)GaussianGaussian mixture1Linear Gaussian2Non-linear Gaussian31This class still has some experimental functionality (specifically the Gaussian mixture division methods)
and is, therefore, still in the factors.experimental sub-package.2Using the Gaussian class - see the Kalman filter example notebook.3This implementation is still experimental (see the factors.experimental sub-package).These distributions can be used as factors to represent a factorised distribution. These factors can be used, together
with thecluster_graphmodule to automatically create valid cluster graphs. Inference can be performed in these graphs
using message passing algorithms. Currently only the LBU (Loopy Belief Update) message-passing algorithm is supported.Example notebooks:Toy exampleKalman filterSudokuOn the RoadmapThe following distributions, models and features are on the roadmap to be added to veroku:Conditional GaussianDirichlet distributionWishart distributionNormal-Wishart distributionPlate modelsStructure LearningCausal InferenceDependenciesFor the python dependencies see therequirementsfile.
The following additional dependencies are also required for some functionality (these are not installed automatically
with thepip install):GraphvizSeehttps://graphviz.org/download/for installation instructions.ContributingIf you would like to contribute to veroku, please see thecontributing guide.LicenseVeroku is released under a 3-Clause BSD license. You can view the licensehere.
Package: veros-bgc
Veros-BGCA biogeochemistry plugin for Veros, based on MOBI.Quick usage$pipinstallverosveros-bgc
$veroscopy-setupbgc_global_4deg--to/tmp/bgc-4deg
$cd/tmp/bgc-4deg
$pythonbgc_global_four_degree.pyCreditsVeros-BGC is based onMOBIbyAndreas Schmittner, Oregon State University.Steffen Randrupcreated Veros-BGC as a part of his Master's thesis.
Package: veroviz
VeRoViz is a suite of tools (primarily written in Python) to easily generate, test, and visualize vehicle routing problems.Key features of the Python tools include:Generation of nodes on road networks;Calculation of travel time/distance matrices using external data providers;Creation of Leaflet maps to view nodes, routes, and basic geometric shapes; andGeneration of dynamic CesiumJS content to view 4D "movies" of vehicle routing problems.Source code is available athttps://github.com/optimatorlab/veroviz.  Documentation and examples are maintained on the project homepage (https://veroviz.org).