Saravanan666/pypi-org huggingface dataset:
Package: verifyannotations
VerifyDataAnnotationsOverviewVerifyDataAnnotations is a Python package specifically designed to validate and annotate image data with bounding boxes using annotations provided in YOLO format text files. It serves as a tool for verifying the correctness of annotations and ensuring the integrity of datasets intended for use in computer vision tasks, especially those utilizing the YOLO object detection framework.FeaturesValidates the structure of image and label directories.Checks if label files contain valid annotations in YOLO format.Ensures that image files have the correct format.Annotates images with bounding boxes based on YOLO label annotations.Saves annotated images to an output directory.Input Parameterslabel_folder: Path to the directory containing label files with annotations in YOLO format.raw_image_folder: Path to the directory containing the raw image files.output_image_folder: Path to the directory where annotated images will be saved.image_name_list_path: Path to the text file listing the names of all images in the dataset.class_path: Path to the text file containing the list of classes or labels used in the dataset.InstallationYou can install VerifyDataAnnotations via pip:pipinstallverifyannotationsExampleSuppose we have the following directory structure:dataset/
│
├── labels/
│   ├── image1.txt
│   ├── image2.txt
│   └── ...
│
├── images/
│   ├── image1.bmp
│   ├── image2.bmp
│   └── ...
│
├── saved_annotations/
│
├── name_list.txt
└── classes.txtThelabelsdirectory contains text files with annotation data in YOLO format. Theimagesdirectory contains corresponding image files.saved_annotationswill store the annotated images.Using VerifyDataAnnotations:fromverifyannotationsimportVerifyDataAnnotationslabel_folder="dataset/labels"raw_image_folder="dataset/images"output_image_folder="dataset/saved_annotations"image_name_list_path="dataset/name_list.txt"class_path="dataset/classes.txt"verifier=VerifyDataAnnotations(label_folder,raw_image_folder,output_image_folder,image_name_list_path,class_path,)verifier.verify_annotations()This will validate the annotations, annotate the images with bounding boxes, and save the annotated images to thesaved_annotationsdirectory.
Package: verify-email
verify-emailverify-emailcan verify any email address by efficiently checking the domain name and pinging the handler to verify its existence.FeaturesSyntax checksMX(Mail Exchange records) verificationEmail Handler verificationCaching domain lookups to improve performanceSupportsasynciofor concurrencyFormultiprocessingusage, seefast_verify.py).CompatibilityWritten in Python 3.7.Supports Python 3.7+.It should work on Linux, Mac and Windows.InstallationFrompypi.org$ pip install verify-emailFrom source code$ git clone https://github.com/kakshay21/verify_email
$ cd verify_email
$ virtualenv env
$ source env/bin/activate
$ python setup.py developUsage>>> from verify_email import verify_email
>>> verify_email('foo@bar.com')
False
>>> verify_email(['foo@bar.com', 'example@foo.com'])
[False, False]Also, note that some emails will likely fail in validation, if so you can check the reason of failure
using debug flag.>>> from verify_email import verify_email
>>> verify_email('foo@bar.com', debug=True)see for more examplesexamples.pyContributeIssue Tracker:https://github.com/kakshay21/verify_email/issuesSource Code:https://github.com/kakshay21/verify_emailSupportIf you are having issues, please create an issue for it. And feel free to contribute as well 😄.
Package: verify-firebase-token
verify-firebase-tokenJust one file that verifies Firebase Authentication ID tokens, replacing firebase_admin.verify_token.I made this because:firebase_admin is a massive library and I was only using it for decoding jwt tokens.firebase_admin.verify_token constantly calls Google's servers for CERTS. I made an in memory cache for this.DependenciesPyJWTfor jwt verifying and parsingcryptographyfor extracting the public keys from Google's certificatesrequestsfor getting Google's certificatesInstallation$ pip install verify-firebase-tokenVerifying tokensfromverify_firebase_tokenimportverify_tokenresult=verify_token("<TOKEN>","<FIREBASE_PROJECT_ID>")The result is a dictionary with the JWT payload. If the token cannot be verified, the raw JWT errors will be raised.
Package: verify-nigerian-number
Python Library to determine details of a Nigerian mobile numberGetting startedInstall from pippip install verify-nigerian-numberUsageGet details of a number:frommodelsimportNigerianNumberfromenumsimportNigerianTelconumber=NigerianNumber(<thenumberhere>)number.get_telco()# Returns the name of telco# There are bool methods that determines if the number is for a specific telco# You could check this way (using the telco name after is_*):number.is_glo()# Returns True if it's a glo number# Or do this:number.is_for_telco(NigerianTelco.GLO)# Returns True if it's a glo number# Telcos covered (as contained in enums.NigerianTelco):AIRTELGLOMTNMULTI_LINKSNINE_MOBILENTELSMILESTARCOMMSZOOMMOBILEEnjoy!
Package: verifyreq
verifyreqTool to verify requirement file installations.Usageverifyreq is a fairly straightforward tool. Run it with any number of
requirement files as arguments and it will check that everything in the
requirement files is installed and consistent in the current environment.verifyreqrequirements.txtIf everything is consistent, there will be some output and the exit code
will be zero. If there are any problems, a stack trace will be emitted with
(hopefully) useful information and there will be a non-zero exit code.Changelog0.1.1Only check through files once.0.1.0Initial release
Package: verifyshopify
Shopify Webhook VerificationThis module provides a utility function to verify the authenticity of data received from Shopify webhooks. It uses HMAC (Hash-based Message Authentication Code) with SHA-256 hashing to ensure that the data has not been tampered with in transit.Function Descriptionverify is a function that computes an HMAC for the given data and compares it with the HMAC provided in the Shopify webhook header. It's designed to be a robust and secure way to validate the integrity and authenticity of the data received from Shopify.Argumentsdata_bytes(bytes): The raw data for which the HMAC is being verified.shared_secret(Union[bytes, bytearray]): The secret key used for HMAC generation.hmac_sha256(AnyStr): The base64 encoded HMAC string received in the Shopify webhook header.Returnsbool: Returns True if the HMAC matches, False otherwise.InstallationNo specific installation steps required, just ensure you have Python 3.x installed.UsageHere's a basic usage example:# The raw data received from Shopifyraw_data_as_bytes=request.data# Replace with actual request data# The HMAC header received from Shopifyhmac_sha256=request.headers.get("X-Shopify-Hmac-Sha256")# Replace with actual header# The secret key provided by Shopifyshared_secret="your_shared_secret_here".encode("utf-8")# Perform verificationverified=verify(data_bytes=raw_data_as_bytes,hmac_sha256=hmac_sha256,shared_secret=shared_secret,)ifverified:print("Verification successful!")else:print("Verification failed!")LoggingThe function uses Python's built-in logging to report its status and errors. You can configure the logging level as per your requirement.LicenseThis project is licensed under the MIT License - see the LICENSE file for details.
Package: verifytweet
Verify TweetFake tweet images can be generated using a preset meme template from websites like:TweetGen,Prank Me NotandSimitator. Verification of such tweets takes a manual work to find the user, scroll through their timeline and matching. A viral fake tweet image can prove crucial at a time.A fake tweet screenshot looks very convincing, misleading the general public. For example:Tweet 1Tweet 2Verify Tweet attempts to resolve the problem by letting users upload such tweet screenshots and verify if the user actually tweeted or not. A combination of Image processing, Natural language processing as well as Twitter Search API makes this possible.InstallationPrerequisitesInstallTesseract-OCRand add to PATH.InstallImageMagickand add to PATH.Python >= 3.6Installing via pip:pipinstallverifytweetOr via pipenv:pipenvinstallverifytweetUsageQuickstartverifytweet-f<path_to_image_file>Helpverifytweet--helpLicenseVerify Tweet is released under GNU Affero General Public License v3.0.Future featuresSupport for Image linksSupport for Tweets with replies
Package: verifytx
Introductionverifytx is a Python library to verify blockchain confirmations and transactions integrated with Excel.
It was born from a lack of existing libraries to verify on-chain transactions automatically and blazingly fast.
All kudos to the openpyxl team and library to read/write natively from Python the Office Open XML format.SecurityBy default verifytx does not guard against quadratic blowup or billion laughs xml attacks. To guard against these install defusedxml.DocumentationThe documentation is at:https://krpbtc.cominstallation methodssupported coins/tokenshow to contribute
Package: verify-types
Verify typesVerifica a tipagem e os retornos das funções em pythonHow works ?pip3installverify-typesAfter that how use ?To use in one method you only need the decorator validate_paramsfromverify_typesimportvalidate_params@validate_paramsdefexample(a:str,b:float)->str:returnf"a:{b}"To this case is possible verify if the input and output is correct. If dont't
match the types a ValueError will raise with correct type, actual type and path
of an error.To use on all class's methodsfromverify_typesimportvalidate_params,decorate_all_methods@decorate_all_methods(validate_params)classTestA:def__init__(self,a:str)->None:self.a=adefprint_a(self)->None:print(self.a)defconcat_a(self,b:str)->str:returnself.a+bdefrun(self)->None:self.print_a()print(self.concat_a("nossa"))if__name__=="__main__":test=TestA("Nossa")test.run()This will be decorate all class methodsObservetionIf you use the decorator You must use type hint or and error will raise.
Package: verify_version_spec
# verify_version_specVerify that a version specification matches a version string.This is mainly used to check that a version returned from a command line
program is within a version specification like: “>=0.9,<0.10”.  It uses the
[semantic_version](https://pypi.python.org/pypi/semantic_version/2.3.0) library
which implements the [SemVer scheme](http://semver.org/).## UsageTo verify that the target version “1.2.3” is within the specification “>=1.2”.$ verify_version_spec --spec=">=1.2" 1.2.3
Package: verify-x509
verify-x509 is a minimalistic implementation of X.509 certificate validation logic. It is intended for use with
applications and protocols that use X.509 PKI without TLS/SSL. Its features are:Certificate chain building to the Mozilla trust storePoint-in-time validation of not-before/not-after constraintsPlugin architecture for X.509 extension processingOffline operation (while OCSP responses and CRLs can be passed by the caller, verify-x509 makes no network calls)verify-x509 implements elements of the following RFCs
RFC 5280Installationpip install verify-x509Synopsisfromverify_x509importX509Verifier...AuthorsAndrey KislyukLinksProject home page (GitHub)DocumentationPackage distribution (PyPI)Change logIETF RFC 3161: Time-Stamp Protocol (TSP)BugsPlease report bugs, issues, feature requests, etc. onGitHub.LicenseCopyright 2022-2023, Andrey Kislyuk and verify-x509 contributors. Licensed under the terms of theApache License, Version 2.0. Distribution of the LICENSE and NOTICE
files with source copies of this package and derivative works isREQUIREDas specified by the Apache License.
Package: verihubs
VeriHubsUse our SMS API or Campaign Manager to send messages to all mobile phones globally. Verihubs’ comprehensive API and super network of direct operators makes it quick, easy, and secure.Send SMS OTPfrom verihubs import Verihubs

v = Verihubs('your-app-id', 'your-secret')

response = v.send_sms_otp('628XXXXXXXX')

response.status_code
response.ok
response.json()This package use requests, you can use same way like requestVerify SMS OTPfrom verihubs import Verihubs

v = Verihubs('your-app-id', 'your-secret')

response = v.verify_sms_otp('628XXXXXXXX', '1234')

response.status_code
response.ok
response.json()
Package: veriloghex
VerilogHexA Python package for reading and writing Verilog hex files.This package supports the Verilog hex format that is used to initialise simulation memories using the Verilog$readmemhsystem task.  This format is supported bysrec_catwhich provides comprehensive conversion from/to multiple common binary formats.  Details on the format can be found here:https://linux.die.net/man/5/srec_vmemThe motivation for this package was to provide a pure Python implementation to convert between VMEM and a bytearray for sending and receiving memory data over a socket.Installationpip install veriloghexUsagefrompathlibimportPathfromverilogheximportVerilogHex# Open a hex file and parse the contents to a bytearrayvmem=VerilogHex(filename_or_io_obj)bytes=vmem.tobytes()# Write out a VMEM file using any byte widthwithPath('mem.8.vmem').open('w')asf:f.write(vmem.tovmem(width_bytes=1)withPath('mem.16.vmem').open('w')asf:f.write(vmem.tovmem(width_bytes=2)withPath('mem.32.vmem').open('w')asf:f.write(vmem.tovmem(width_bytes=4)# Initialise from a list of bytes and write out as VMEMvmem=VerilogHex([0xde,0xad,0xbe,0xef])print(vmem.tovmem())StatusThis package is in development and may change considerably during that time.  The API takes inspiration fromintelhexandbincopy, both of which perform similar tasks but don't support the Verilog hex format.
Package: verilog-parser
Verilog parser for PythonLark based parser for Verilog netlists (structural Verilog without behavioral statements).
This is meant to be used to read netlists as generated by HDL logic synthesizers such as Yosys.Examplefromverilog_parser.parserimportparse_verilogast=parse_verilog(open(verilog_file_path).read())
Package: verime
Python binding generator for veriltor-based simulators of verilog designs.In the context of the side-channel analysis of hardware implementations, an evaluator usually requires to have access to the internal values of a target circuitry. For this purpose, a circuit oracle simulating these values is implemented, which may turn out to be time consuming to do manually (e.g., each probed internal value should be modeled and any modification of the original circuitry implies to rewrite the circuit oracle) and/or achieve poor performances (e.g., spawning a simulator process for each simulation).The Verime tool is proposed to tackle these issues. In particular, it automatically generates a prediction library of a circuit (described in Verilog). More precisely, it performs behavioral verilog simulations during an arbitrary amount of clock cycles thanks to a Verilator backend. Verilator is a powerful tool, but requires some expertise and predicting certain internal states using the\* verilator public *\pragma can be challenging and time consuming to setup for a non-experienced user. Based on that, the Verime tools acts as a wrapper for verilator and aims to (significantly) reduce the evaluator work: it automatically generates the C++ Verilator backend code and generates a user friendly python package thant can be easily integrated and used.
Package: verinfast
VerinFast™Welcome to the Scanning Agent.This tool safely and securely analyzes applications for benchmarking.Requirements:Python3 - Test withpython3 --versionpip - Test withpip -VSSH access to code repositories - Test withgit statusCommand line tool access to cloud hosting providersAdmin privileges on the computer used to run the agentOutbound internet access (for posting results and fetching dependency metadata)Your dependency mangement tools (e.g.npmoryarnormaven)To run the Agent:Install this package withpip install verinfastIn a directory with aconfig.yamlfile runverinfastAlternatively you can point to a config withverinfast --config=/path/to/configConfig OptionsIf you want to check the output for yourself you can setshould_upload: false, and use the flag--output=/path/to/dir. This will give you the chance to inspect what we collect before uploading. For large repositories, it is a lot of information, but we never upload your code or any credentials, just the summary data we collect.Troubleshooting:PythonRunpython3 -m pip install --upgrade pip setuptools wheelgitRunwhich git,git --versionRunssh -vT git@github.comto test access to GitHubAWSRunwhich aws,aws --versionAzureRunaz git,az --versionRunaz account subscription listto check subscription IdSemgrepRunwhich semgrep,semgrep --versionpipRunwhich pipIf nopip, run:curl -o get-pip.py https://bootstrap.pypa.io/get-pip.pypython get-pip.pyORpython3 get-pip.pyRunsudo apt updateCopyright 2023 Startos Inc.
Package: veriocheck
VerioCheck Python library provides convenient access to the VerioCheck API calls from
applications written in server-side Python script.Please keep in mind that this package is for use with server-side Python script that uses VerioCheck secret keys.VerioCheck provides FREE Address validation, Identity Verification, SMS Verification, Contact Data Cleaning, Name & Gender Validation, Email & IP  Validation.Signup for FREE API KeysYou can Signup for Free API Keys atVerioCheck Free API SignupDocumentationSee theVerioCheck API DocumentationInstallationInstall the package with:pip install veriocheckUsageThe package needs to be configured with your account’s secret key which is
available in yourVerioCheck Dashboard. Require it with the key’s value:fromveriocheckimportveriocheckveriocheck=veriocheck("YOUR_PRIVATE_KEY","YOUR_AUTH_CODE",False)# Example: Validates if your API Keys are validreturnCode,returnValue=veriocheck.validateKey()printreturnCode,returnValue# Example: Regenerates your public keysreturnCode,returnValue=veriocheck.regeneratePublicKey({"login":"YOUR_VERIOCHECK_LOGIN_EMAIL"})ifreturnCode==200:print("Successful API Call ",returnValue["status"])else:print("Error with API Call ",returnValue)MethodsThis module contains easy access to the following methods. All these methods accept (inputJSONParams, CallbackFunction). Refer to the VerioCheck.nameCheck example above. Refer to API documentation for required parameters.regeneratePublicKey, addressCheck, verifyIdentity, cleanAndVerify, smsCreateCode, smsVerifyCode, smsVerificationStatus, nameCheck, emailCheck, ipCheckMore InformationVerioCheck WebsiteVerioCheck API DocumentationVerioCheck Free Signup
Package: veripress
VeriPressVeriPress is a blog engine for hackers, which is very similar to Octopress and Hexo, but with some different features. It's written in Python 3.4+ based on Flask web framework. Here is ademo.FeaturesSupports three publish types: post, page, widgetTheme managementCustom post/page layoutSupports Markdown, HTML and plain TXTRun as dynamic web appGenerating static HTML pagesAPI modeAtom feedand more...Quick StartIt's dead easy to get started with VeriPress:$pip3installveripress# Install VeriPress$mkdir~/my-veripress# Create an empty folder as a VeriPress instance$cd~/my-veripress
$veripressinit# Initialize the VeriPress instance$veripressthemeinstalldefault# Install the "default" theme$veripresspreview# Preview the instanceRun the above commands and then you can visit the very initial VeriPress instance athttp://127.0.0.1:8080/.Seedocumentationfor more information on how to use VeriPress.DocumentationDocumentation is now available inSimplified Chinese (简体中文), and the English version is coming soon.ThemesThere are some official themeshere, and also a theme collectionhere(in Simplified Chinese).ContributingIf you want to help to develop VeriPress, fork this repo and send me a pull request. Source codes of docs and demo are also available in this repo, so if you find mistakes, feel free to send me a pull request too.If you just have some questions or bug reports, you can also submit issues in this repo.Thanks for your support and help.
Package: veris
VerisSea ice plugin for Veros, based on SEAICE package of MITgcm modelQuick usage$pipinstallveros$gitclonehttps://github.com/team-ocean/veris.git
$cdveris
$pipinstall-e.
$veroscopy-setupseaice_global_4deg--to/tmp/seaice_4deg
$cd/tmp/seaice_4deg
$verosrunseaice_global_4deg.pyCreditsVeris is based onSEAICE packagebyMartin Losch et al., Alfred Wegener institute.Jan Philipp Gärtnercreated Veris plugin as a part of his Master's thesis.
Package: verisart-verify
Verisart Verify APIA CLI to allow independent verification ofVerisartCertificate Archives.Further reading:Verifying a Verisart CertificateVerisart Archive File FormatRequiresPython 3Java 1.7+Installationpip3 install verisart-verifyRunningverisart-verify verisart-archive-xxx.zipBuildingrm -r build dist && python3 setup.py sdist bdist_wheelDeploying to Test PyPitwine upload --repository-url https://test.pypi.org/legacy/ dist/*Deploying to Live PyPitwine upload dist/*OpenTimestamps Java LibraryThis package includes a compiled Java JAR file from theOpenTimestamp Java client library.TODO: We're using the JAR instead of the Python OTS library as the JAR can check the OTS timestamps using a public
block explorer. We should figure out a way to do something similar with the Python library, or provide our
own Bitcoin node for validation.
Package: veriservice
Veri Python ClientPython client for veripipinstallveriserviceimportveriserviceservice="localhost:5678"veriservice.init_service(service,"./tmp")client=veriservice.VeriClient(service,"example_data")data_conf={}client.create_data_if_not_exists(data_conf)data=[{'label':'a','feature':[0.5,0.1,0.2]},{'label':'b','feature':[0.5,0.1,0.3]},{'label':'c','feature':[0.5,0.1,1.4]},]fordindata:client.insert(d['feature'],d['label'].encode())result=client.search([[0.1,0.1,0.1]])foriinresult:print(i)result=client.data()foriinresult:print(i)
Package: veris-priv-tab
Veris-Priv-TabDescriptionVeris-Priv-Tab is a Python package that generates a "private duplicate" of a given table, obfuscating any potential Personally Identifiable Information (PII) in the process.InstallationVeris-Priv-Tab can be installed via pip:pipinstallveris-priv-tabAfter installation, you can import thegeneratefunction and use it as follows:fromveris_priv_tabimportgeneratenew_df=generate("path_to_the_original_table")This will create a new dataframenew_dfthat is a "private" version of the original table.Troubleshooting and Known IssuesThis section will be updated as new issues are identified and solutions or workarounds are developed.LicenseVeris-Priv-Tab is open source and free for use. Please use responsibly and respect the privacy of all individuals.
Package: verisptab
VerisPTabDescriptionVerisPTab is a Python package that generates a "private duplicate" of a given table, obfuscating any potential Personally Identifiable Information (PII) in the process.InstallationVerisPTab can be installed via pip:pipinstallverisptabAfter installation, you can import thegeneratefunction and use it as follows:fromverisptabimportgeneratenew_df=generate.generate("path_to_the_original_table")This will create a new dataframenew_dfthat is a "private" version of the original table.Special Rules for PII RemovalPlease rename the columns in your input table (CSV) to follow the following rulesIf a column contains full names, please name the column FULL_NAME.If a column contains last names, please name the column LAST_NAME.If a column contains first names, please name the column FIRST_NAME.If a column contains addresses, please name the column LOC_ADDRESS.Example Input TableFULL_NAMEFIRST_NAMELAST_NAMELOC_ADDRESSRANDOM_COLORRANDOM_INTEGEREmailPhone NumberAlexander CookAlexanderCook6262 Diana Views Apt. 635, Cathymouth, SD 39278Purple362alexander.cook@fakeemail.com792-322-1210x91380Kenneth TownsendKennethTownsend8960 Danielle Fields, Wrightview, NY 05647White570kenneth.townsend@fakeemail.com367.691.1088x8574Leah HarveyLeahHarveyUSNS Bradford, FPO AA 06578Gray500leah.harvey@fakeemail.com232.914.1072x685Troubleshooting and Known IssuesThis section will be updated as new issues are identified and solutions or workarounds are developed.LicenseVerisPTab is open source and free for use. Please use responsibly and respect the privacy of all individuals.