Saravanan666/pypi-org huggingface dataset:
Package: vais-plug
Skeleton PluginPlugin skeleton V1Flow handle jobStep 1: Register worker with backend (by env BACKEND_ENDPOINT) with some information (JOB_QUEUE, PLUGIN_CODE, PLUGIN_NAME, PLUGIN_DESCRIPTION, VERSION_CODE)Step 2: Connect to Redis, Elastic search (via env REDIS_HOST, REDIS_PORT, ELASTICSEARCH_URL)Step 3: Listen redis queue job (JOB_QUEUE)Step 4: Handle jobNote: Using file rq_push_job.py for testing push jobCustom an pluginStep 1: Inheritance class PluginSkeleton and overwrite function preload for load model if need (in sample_plugin.py).Step 2: Custom function handle_job() inside file sample_plugin.py (keep input parameters)Check list migrate skeleton pluginNews footprint handle job function: handle_job(doc_index, doc_id, input_data=None, depended_jobs=None)Get input data from depended jod: input_data = SamplePlugin.get_depended_jobs_output(current_job, input_data, depended_jobs)Input data have new structure, so need to change the way to parse data from input data{"plugin_code":{"data":{},"version_code":{}},"plugin_code":{"data":{},"version_code":{}},...}Change in func push result. Now doc_index come before doc_id and need to input version code: PluginSkeleton.push_result(doc_index, doc_id, output, KeywordPlugin.VERSION_CODE)output parameter in push_result func is just content in "data" field"return" in an plugin now need to using this function: plugin_skeleton.PluginSkeleton.get_output_result(output, KeywordPlugin.VERSION_CODE)In docker-compose.yml file need include DEPENDED_PLUGIN_CODE envs (e.g. 'asr,speech_cluster'). It's list of depended plugin code, separate with a commabuild libpythonsetup.pysdistbdist_wheel
twineuploaddist/*
Package: vakantie
This is a package for fetching holiday information of any country. This library can be used to get all the holidays of a
country. Even if a holiday is not pre-declared, one will still get the data for that holiday of any year.How toimport vakantie
holidays = vakantie.Holidays()
print(holidays.get_holidays(years=2021, country='Bangladesh'))Installationpip install vakantierequirementslxmlAvailable YearsAny year from 2015 upto now is available.Parameters of the class 'Holidays':output_type:Currently, one can output the holidays in two ways -csvandholiday_api.Parameters of the 'get_holidays' methodyears:This can take multiple years separated by comma(,).country:Corrently it takes only a single year.Future planSaving moduleHolidays for the states of the countries like the USAMore output optionsAuthorLabiba Kanij Rupty(labibakanij@gmail.com)Change Log0.0.1 (29.06.2021)first release0.0.2 (29.06.2021)second release0.0.3 (29.06.2021)second release0.0.4 (09.07.2021)
Package: vakifbank
Vakıfbank Python PackageInstallpip install vakifbankUsageFirst import module from vakifbank package.from vakifbank.ThreeD_Payment import ThreeDPaymentPrepare your credentials. You can get your store password and id fromhttps://onlineodeme.vakifbank.com.tr/AdminUI/Account/Login?ReturnUrl=%2fadminuicredentials = { 
    'HostMerchantId': YourHostMerchantId,
    'HostPassword' : YourHostPassword,
    'HostTerminalId': YourHostTerminalId 
}Then initialize 3D payment class with credentials.three_d = ThreeDPayment(credentials)Prepare your data in your website formdata = {
    "order_id": random.randrange(1000),
    "amount": "1.00",
    "pan": CREDITCARDNUMBER,
    "expiry": EXPIRYDATE,
    "currency": currency,
    "success_url": YOUR_SUCCESS_URL,
    "fail_url": YOUR_FAIL_URL
}Prepare request datathree_d.prepare(data)Get Enrollment Resultthree_d.enrollment_result()Get Your Prepared Html Pagethreed_d.get_acs_html()
Package: vaknl-content
VaknlPackage for working with Images. Contains the default Image dataclass and methods to get and upload images to gcp.PrerequisitesThese modules dependant on two things. Firstly the vaknl-gcp package for working with GCP.
Secondly the environment variable GOOGLE_CLOUD_PROJECT a.k.a. gcp project id.ImagesClass Acco with Images:@dataclassclassAcco:@dataclassclassImage:url:str# original urlbucket_url:str=None# bucket urlwidth:int=None# pixel withheight:int=None# pixel heightbytes_size:int=None# bytes size of imagelabels:list=[]# labels of the imagedescriptions:list=[]# descriptions of the imagegiataid:strsource:str# provider of the dataimages:listtimestamp:str=None# timestamp updatedget_image(image_url, auth=None):Gets an images from the internet with a retry fall back of 3 times.returns width, heigth, size, dataupload_image_to_storage(id, bucket_name, image_url):Gets images from the internet and uploads it to storage.returns width, heigth, byte_size, blob_url
Package: vaknl-image
VaknlPackage for working with Images. Contains the default Image dataclass and methods to get and upload images to gcp.PrerequisitesThese modules dependant on two things. Firstly the vaknl-gcp package for working with GCP.
Secondly the environment variable GOOGLE_CLOUD_PROJECT a.k.a. gcp project id.ImagesClass Acco with Images:@dataclassclassAcco:@dataclassclassImage:url:str# original urlbucket_url:str=None# bucket urlwidth:int=None# pixel withheight:int=None# pixel heightbytes_size:int=None# bytes size of imagelabels:list=[]# labels of the imagedescriptions:list=[]# descriptions of the imagegiataid:strsource:str# provider of the dataimages:listtimestamp:str=None# timestamp updatedget_image(image_url, auth=None):Gets an images from the internet with a retry fall back of 3 times.returns width, heigth, size, dataupload_image_to_storage(id, bucket_name, image_url):Gets images from the internet and uploads it to storage.returns width, heigth, byte_size, blob_url
Package: vaksms
vaksmsVakSms is a Python library that provides an API for interacting with the vak-sms.com service. It allows you to perform various operations such as getting the user's balance, retrieving available phone numbers, renting temporary phone numbers, activating SMS codes, and more.InstallationYou can install the library using pip:pipinstallvaksmsUsageGet apikey:https://vak-sms.com/api/vak/Services:https://vak-sms.com/api/vak/#serviceCodeList1Countres and operators:https://vak-sms.com/api/vak/#countryOperatorList1fromvaksmsimportvaksms# Create an instance of the vaksms class with your API keyvakapi=vaksms('your_apikey')# Get the user's balancebalance=vakapi.getBalance()print(f"Current balance:{balance}rub")# Get the number of available numbers for a specific servicecount=vakapi.getCountNumber('service_code')print(f"Available numbers:{count}")# Get a temporary phone numbernumber=vakapi.getNumber('service_code')print(f"Temporary number:{number}")# Extend the duration of a previously received numberextended_number=vakapi.prolongNumber('service_code','phone_number')print(f"Extended number:{extended_number}")# Change the status of an operation IDstatus=vakapi.setStatus('operation_id','end')print(f"Status:{status}")# Activate SMS code for a specific operation IDsms_code=vakapi.getSmsCode('operation_id')print(f"SMS code:{sms_code}")
Package: valalgn
DescriptionWelcome to the documentation of the Value-Alignment (valalgn) package. This
package provides tools and functionalities for computing thealignmentof a
normative system with respect to avalue(or a set of values). The package
provides two modules:valalgn.samplingcomputes the value alignment of a set of norms with
respect to a value using simulation and approximate methods. It also includes
functionalities for value-driven optimization of norms and evaluation
metrics[1].valalgn.aslimplements theAction Situation Language(ASL) and
interprets a set of norms written in this language and builds their
operational semantics as an extensive-form game. This game can then be
analyzed using standard game theoretical tools and solution concepts to
derive the alignment of the norms that generated it[2].References[1]Montes, N., & Sierra, C. (2022). Synthesis and properties of optimally
value-aligned normative systems. Journal of Artificial Intelligence
Research, 74, 1739–1774.https://doi.org/10.1613/jair.1[2]Montes, N., Osman, N., & Sierra, C. (2022a). A computational model of
Ostrom’s Institutional Analysis and Development framework. Artificial
Intelligence, 311, 103756.https://doi.org/10.1016/j.artint.2022.103756CreditsNieves Montes (IIIA-CSIC)
Package: valarpy
ValarpyPython code to talk toValar.
There is more documentation available in the Valar readme.See the docs.Usage:importvalarpywithvalarpy.opened()asmodel:print(list(model.Refs.select()))An example connection config file:{"port":3306,"user":"kaletest","password":"kale123","database":"valartest","host":"127.0.0.1"}New issuesand pull requests are welcome.
Please refer to thecontributing guide.
Generated withTyrannosaurus.
Package: valaw
valaw is an asynchronous API wrapper for VALORANT's API.DocumentationThe documentation for this wrapper can be foundhere. Read the documentation to learn how to get started with valaw.
The documentation also has a list of all the endpoints and examples on how to use them.Help/SupportIf you need help/support with valaw, you can join theDiscord Server. If you have incountered a bug, you can also open an issue on theGitHub repository.Quick LinksDiscordPyPIGitHubDocumentationThis project is owned and maintained by Jet612, other contributors can be foundhere
Package: valclient
valclient.pyAPI wrapper for VALORANT's client APIInstallationpipinstallvalclientExamplefromvalclient.clientimportClientclient=Client(region="na")client.activate()# get MatchID of latest matchhistory=client.fetch_match_history(queue_id="unrated")print(history["History"][0]["MatchID"])DocsCheck outTechdoodle's awesome documentation
Package: valclust
A collection of tools for validation and analysis of clustering results.Different Types of Cluster Validity Indecies:* External Indecies: comparing the clustering results with the a priori known clustering solution (e.g. ground truth labels)* Internal indecies: measuring the quality of clusterings without comparing to any clustering solution* Relative indecies: comparing the clustering results obtained from different algorithms, or dissimilarity measuresContact=============email: vmirjalily@gmail.comTwitter: https://twitter.com/vmirlyURL for this project: https://github.com/mirjalil/valclust
Package: valda
ValdaIntroductionValda is a Python package for data valuation in machine learning. If you are interested inanalyzing the contribution of individual training examples to the final classification performance, oridentifying some noisy examples in the training set,you may be interested in the functions provided by this package.The current version supports five different data valuation methods. It supports all the classifiers from Sklearn for valuation, and also user-defined classifier using PyTorch.Leave-one-out (LOO),Data Shapley with the TMC algorithm (TMC-Shapley) fromGhorbani and Zou (2019),Beta Shapley fromKwon and Zou (2022)Class-wise Shapley (CS-Shapley) fromSchoch et al. (2022)Influence Function (IF) fromKoh and Liang (2017)IF only works with the classifiers built with PyTorch, because it requires gradient computation.v0.1.8 only support the first-order gradient computation, and we will add the second-order computation soon.TutorialPlease checkout a simple tutorial onGoogle Colab, for how to use this package.
Package: valdazpack
valdazpackis a DAZ Studio content validator.Supported Python versionsPython 3.11Usagevaldazpack[-h][-d<DEPENDENCIES...>][-D][-O][-p][-s][-H|-TTEMPLATE][-oOUTPUT][-v]product_path [product_path...]positional arguments:product_path          DIM Packages, ZIP files, or Content Directories to validateoptions:-h,--helpshow this help message and exit-d<DEPENDENCIES …>,--dependencies<DEPENDENCIES …>additional DIM Packages, ZIP files, or Content Directories which are not validated but which the validated product depends on-D,--dazenable validation rules for products distributed by Daz Productions, Inc-O,--daz-originalenable validation rules for products produced by Daz Productions, Inc-H,--htmlgenerate HTML report-TTEMPLATE,--templateTEMPLATEgenerate report using Jinja template-oOUTPUT,--outputOUTPUTwrite report to file-v,--verboseenable verbose outputFor non-DIM ZIP files, a subdirectory may be specified as the content root by appending!<subdirectory>to the filename:example.zip!My LibraryE:\> valdazpack --dependencies "C:\Users\Username\Documents\MDL" --html --output report.html OMNFLUX00000001-01_NVIDIAvMaterials170ShaderPresets.zip

E:\> valdazpack --dependencies "D:\InstallManager\Downloads\IM00042071-02_Genesis8MaleStarterEssentials.zip" --html --output report.html "D:\My Custom G8M Character"

E:\> valdazpack --daz-original --html --output report.html "D:\InstallManager\Downloads\IM00042071-02_Genesis8MaleStarterEssentials.zip"

E:\> valdazpack --html --output report.html "example.zip!My Library"LicenseThis module is published under the MIT license.
Package: vald-client-python
vald-client-pythonA Python gRPC client library forVald.InstallUsing pip,pipinstallvald-client-pythonUsageTo use v1 APIs,importgrpcfromvald.v1.valdimportinsert_pb2_grpcfromvald.v1.valdimportsearch_pb2_grpcfromvald.v1.valdimportupdate_pb2_grpcfromvald.v1.valdimportremove_pb2_grpcfromvald.v1.payloadimportpayload_pb2## create a channel by passing "{host}:{port}"channel=grpc.insecure_channel("gateway.vald.vdaas.org:80")## create stubs for calling RPCsistub=insert_pb2_grpc.InsertStub(channel)sstub=search_pb2_grpc.SearchStub(channel)ustub=update_pb2_grpc.UpdateStub(channel)rstub=remove_pb2_grpc.RemoveStub(channel)## call RPCs: Insertvec=payload_pb2.Object.Vector(id='vector_id_1',vector=[0.1,0.2,0.3])icfg=payload_pb2.Insert.Config(skip_strict_exist_check=True)istub.Insert(payload_pb2.Insert.Request(vector=vec,config=icfg))## call RPCs: Search### num: number of results### timeout: 3 secondsscfg=payload_pb2.Search.Config(num=10,radius=-1.0,epsilon=0.01,timeout=3000000000)res=sstub.Search(payload_pb2.Search.Request(vector=[0.1,0.2,0.3],config=scfg))## call RPCs: Updateuvec=payload_pb2.Object.Vector(id='vector_id_1',vector=[0.1,0.2,0.3])ucfg=payload_pb2.Update.Config(skip_strict_exist_check=True)ustub.Update(payload_pb2.Update.Request(vector=uvec,config=ucfg))## call RPCs: Removercfg=payload_pb2.Remove.Config(skip_strict_exist_check=True)rid=payload_pb2.Object.ID(id='vector_id_1')rstub.Remove(payload_pb2.Remove.Request(id=rid,config=rcfg))## close channelchannel.close()
Package: vale
Vale Python Package⚠️  Vale is a software developed by errata.ai and a community of open-source
contributors. This repository just makes that software available to Python
users. The author is not affiliated nor endorsed by errata.ai.Valeis a command-line tool that can enforce an editorial
style guide onto your text. It's written in Go. The purpose of this package is
to allow Python users to have Vale as a dependency of a Python application or
library and this way allow installing Vale without resorting to manual installation
or similar.InstallationYou can addvalepackage as a dependency in yoursetup.py,requirements.txtorpyproject.tomlfile depending on how are you managing
dependencies. For example, inrequirements.txt:vale==3.2.0The version of this Python package corresponds exactly to Vale's version.  That
is, if you addvale==2.20.0as a dependency, Vale with that same version will
be installed.  Note thatVale as such is not included in this package but
downloaded the first time you executevale.Releasing (only for contributors)New releases using the last Vale versions are delivered in an automated way.
SeeVersion Bump if Vale Updatedworkflow.
The new versions of Vale are checked once a day.Manual releaseChange version inpyproject.toml. Changing the version changes the
version of Vale that gets downloaded. See note below.Commit & push.Github's Actions will deal with the new release.Note: Pypi doesn't allow to re-release (even if releases or projects are
deleted). If you want to release this package for a new version of Vale, just
update theversionattribute found inpyproject.tomlso that it matches the
version of Vale that you want to release. If something needs to be fixed in
this package, use or increase the 4th number in the version inpyproject.toml.  The 4th number will be ignored when it comes to downloading
Vale but will be used to release the package to PyPi.. For example, if you use2.20.0.1, this package will try to downloadvale==2.20.0. The python
package version will still be2.20.0.1in PyPi.
Package: valection
Valection - Sampler for verification (version 1.0.1)--------------------------------------------------This is a binding for the valection C library and supports C version 1.0.0.Valection can be used in various ways to sample the outputs of competing algorithims orparameterizations, and fairly assess their performance against each other.This software requires the valection library (http://labs.oicr.on.ca/boutros-lab/software/valection).
Package: valedictory
Valedictory validates the data indicts.
It is designed for use in API validation,
and other situations where you are receiving structured JSON data
as opposed to key-value POST form data.
It takes in a dict of data (probably obtained from a JSON POST request),
and validates that data against some fields.Validators are defined as classes.
Declare fields on a Validator class.
Once constructed, Validator instances are immutable.fromvaledictoryimportValidator,fields,InvalidDataExceptionclassPersonValidator(Validator):name=fields.CharField()height=fields.IntegerField()date_of_birth=fields.DateField()person_validator=PersonValidator()A Python dict can be checked to see if it conforms to this validator.
The dict can come from a JSON POST request, or a configuration file,
or any other external data source that needs validation and cleaning.
The cleaned data will be returned.
Validator classes will return a dict of cleaned data.
Each field type may transform the data as part of cleaning it.
For example, theDateFieldwill transform the data
into adatetime.dateinstance.input_data=json.loads(request.body)try:# cleaned_data will be a dict of cleaned, validated datacleaned_data=person_validator.clean(input_data)# Do something with the returned dataPerson.objects.create(**cleaned_data)exceptInvalidDataExceptionaserrors:# The data did not pass validationforpath,messageinerrors.flatten():# This will print something like 'name: This field is required'print("{0}:{1}".format('.'.join(path),message))Validators can be nested, allowing dicts of arbitrary complexity:classArticleValidator(Validator):content=fields.CharField()published=fields.DateTimeField()author=fields.NestedValidator(PersonValidator())tags=fields.ListField(fields.CharField())# Some example data that would pass validation:data={"content":"An interesting article","published":"2018-06-13T1:44:00+10:00","author":{"name":"Alex Smith","height":175,"date_of_birth":"1990-03-26",},"tags":["humour","interesting","clickbait"],}Read the documentation for more information.
Package: valeeew
ValeeewBy Valentin MONTEIROTable of contentsIntroductionCleaningOutliersIQRZ-scoreCreditsIntroductionToolbox made for data manipulation, the goal is to reduce time-consuming tasks. If you want to participate, or simply give ideas, I would be happy to discuss, or even work with you on this project !Cleaningwatchfunction to make a quick overview of the DATAframeOutliersIQRfunction to highlight outliers using the IQR methodZ-scorefunction to highlight outliers using the Z-score methodCreditsPeople involved in the project
Package: valence
Valence is a service for lifecycle management of pooled bare-metal hardware
infrastructure.  The concept of pooled storage (SSDs or nvmE) disaggregated
from compute nodes and network disaggregated from compute and storage
provides the flexibility to compose and uses as and when the cloud requires
more server resources. Valence provides the capability “compose” hardware nodes
and release resources as needed by the overcloud.Valence supports Redfish as default management protocol to communicate
to hardware. It supports Rack Scale Design (RSD), Open architecture for management
of disaggregated server hardware resources, which is standardized in Redfish.
Valence also provides capability to manage other vendors disaggregated hardware
using their respective drivers other than Redfish.Free software:Apache licenseWiki:https://wiki.openstack.org/wiki/ValenceSource:http://git.openstack.org/cgit/openstack/valenceBugs:https://bugs.launchpad.net/openstack-valence
Package: valentine.imagescales
IntroductionImagescales is a generic system for creating thumbnails/image representations
for content types, both those provided by Plone, and custom ones. To make it
work for a content type, three adapters need to be provided:ImageView that retrieves an image in the desired scale.ImageTag that returns the HTML tag for the imageImageLink that returns the HTML link to the image.see valentine/imagescales/README.txt for more infoChangelog0.2.1 - (2010-01-18)removed empty skin folder0.2 - (2010-01-18)Thumbnails are always in formats PNG, JPG or GIF even if original is something else i.e TIFFEnabled folder.ImageView for ATTopics. [pthulin]Fixed bug where 16:9 images scaled to 16:9 background resulted in black borders. [pthulin]Simplified design, removed ImageLink and ImageTag. [pthulin]Add black borders to 4:3 images scaled to 16:9, and don’t stretch the play button. [pthulin]0.1 - UnreleasedInitial release
Package: valentine.languagequery
IntroductionFor multilingual sites where you have maangers that manage multiple languages
this egg will add Language=”all” to all queries that do not have explicitly
set Language parameter, i.e folder_contents, tinymce folderlistings.This parameter is only added for authenticated users.Changelog1.1 (2012-02-26)pages were broken if a proper query was sent since the REQUEST was modified instead of the query i.e topic_view1.0 (2012-02-14)Initial release
Package: valentine.linguaflow
Introduction - valentine.linguaflow===================================With this product your multilingual site will have the information to know* what translations are invalidate* what has changed* when was the change madeIf you use XLIFFMarshal to export/import your translations it will alsoautomatically use this product to validate/re-invalidate a translation.How does it work________________"Suppose to work" - not there yet, automatic invalidation is disabled as defaultvalentine.linguaflow uses the capabilities of using multiple workflows for eachcontent type. It ads a second workflow which has two transitions and states,invalidate/validate and invalid/valid. Every time a canonical content is changedsubscribers will check if and language dependent fields have changed. If soit will invoke invalidate transition on each translation. In the comment of thetransition it will save a diff of what has changed.Dependencies____________Plone 2.5.x or Plone 3.xLinguaPloneCredits-------Funding and deployment:EEA_ - European Enviroment Agency (Antonio De Marinis)Design and Development:`Valentine Web Systems`_ (Sasha Vincic).. _EEA: http://www.eea.europa.eu/.. _Valentine Web Systems: http://valentinewebsystems.com/Changelog=========0.2 - (2010-03-25)------------------- Fixed cache invalidation compatibility with Plone 30.1 - (2010-03-21)------------------* Initial release
Package: valentine.multiparagraphfield
Introduction - valentine.multiparagraphfield============================================New field for Plone 3.XMixture of LinesField and RichField. Product is inspired by ``StructuredDocument`` product but it is much simpler.Number of paragraphs may be managed in separate kupu editors.Changelog=========0.4 - 2011-12-07- Added Plone 4.1 compatibility- Edit widget is now aware of MultiParagraphPage to preserve its order on editing0.3 - 2010-03-21- Fixed context of new paragraph.------------------0.2 - 2010-03-21----------------- No <hr/> after the last paragraph [svincic]- Fixed kupu init when adding new paragraph [lewy]0.1 - (Unreleased)------------------- Initial release