Saravanan666/pypi-org huggingface dataset:
Package: vaultrun
vault-cliVault cli helperRequirementsrofiordmenuneeds to be installed.
Optionally,xsel, if exists, selected secrets will be copied to clipboard.config file should be located at/home/{user}/.config/vaultrun/config.yamlwith:name:mount_point:<Secret mount point>secret_path:<Secret path to query># If role_id and secret_id are not provided, use OIDC loginrole_id:<Role ID>secret_id:<Secret ID>Installationfrom Pypi:python-mpip3installvaultrun```Local installation:poetryinstallUsageFrom Pypi:vaultrunLocal run:poetryrunvaultrun
Package: vault-search
Search in Hashicorp Vault KVSearching in Vault first argument. Regular expressions are supported.Required environment variables:VAULT_ADDR - Format is PROTOCOL+FQDN of vault instance;VAULT_NS - Vault namespace;VAULT_KV_PATH - name of KV where search will start from.Optional environment variables:VAULT_INIT_KV_WEB - starting point in kv for search (example: inno/kv/creds)VAULT_EXCLUDE - exclude path from search (example: deploy-tags)VAULT_OUTPUT - output format: url, cli, path (default: cli)Usagevs [-h] [-i] [-e EXCLUDE] [-o OUTPUT] [-t MAX_THREADS] TEXT

positional arguments:
  TEXT            regexp for search

optional arguments:
  -h, --help      show this help message and exit
  -i              for case insensitive search
  -e EXCLUDE      exclude path (VAULT_EXCLUDE env)
  -o OUTPUT       url, cli, path (VAULT_OUTPUT env)
  -t MAX_THREADS  max threads (default: 100)
Package: vault_secrets
OverviewMake API calls to Vault Secrets to retrieve secrets.PrerequisitesRequired:PythonrequestsmoduleSecrets Vault Organization IDSecrets Vault Project IDSecrets Vault Application NameSecrets Vault Organization Client IDSecrets Vault Organization Client SecretOptional:Secret Name (to return the latest value of a specific secret)Organization and Project IDs can be retrieved using thevltCLI:https://developer.hashicorp.com/vault/tutorials/hcp-vault-secrets-get-started/hcp-vault-secrets-retrieve-secretUsageInstallation:pip3installvault_secretspython3-mpipinstallvault_secretsExecution:In Python3, to get all secrets in an application:importvault_secrets# Get access token.token=vault_secrets.get_token(ORGANIZATION_CLIENT_ID,ORGANIZATION_CLIENT_SECRET)# Get secrets.secrets=vault_secrets.get_secrets(token,ORGANICATION_ID,PROJECT_ID,APPLICATION_NAME)In Bash, to get a specific secret value:secret_value="$(python3</path/to/>vault_secrets-oORGANICATION_ID-pPROJECT_ID-aAPPLICATION_NAME-cORGANIZATION_CLIENT_ID-sORGANIZATION_CLIENT_SECRET-nSECRET_NAME)"
Package: vaultssh
VaultSSHCLI tool for signing SSH public keys using the Vault SSH endpointVaultSSH is a simple command line tool written in Python which automates the process of signing SSH public keys using theHashicorp VaultSSH backend. In environments which have configured Vault as a trusted CA and use it to issue signed keys for authenticating against SSH servers, this tool provides a simple wrapper which handles all the backend communication and produces a signed public key ready for the end-user to authenticate with.This tool assumes that your Vault environment has been properly configured for signing SSH keys. Hashicorp provides extensive documentation along with examples on how to perform this configurationin their docs.InstallationpipinstallvaultsshUsage exampleVaultSSH takes two arguments: a path to the public SSH key to sign and theVault rolethat should be used to sign it. Please refer to theVault documentationto learn more about configuring SSH key signing.$vaultssh~/.ssh/id_rsa.pubmyroleVaultSSH will automatically detect if you had previously authenticated with the Vault server by looking for an existing token in the default Vault environment variable (VAULT_TOKEN) or Vault token file (~/.vault-token). You can override this behavior and provide your own token by passing the --token flag. If a token is not found, or has expired, the tool will prompt you to authenticate with the Vault backend to fetch a new token (Note: only RADIUS is currently supported). By default the tool will persist the newly acquired token in the Vault token file, however this can be disabled by passing the --no-persist flag.VaultSSH will automatically detect the location of the Vault server by using the default Vault environment variable (VAULT_ADDR). You can override this behavior by passing the --server flag.$vaultssh--serverhttps://myvault.com:8200~/.ssh/id_rsa.pubmyroleIf the signing process succeeds, VaultSSH will automatically write the signed certificate to the same directory as the given public key:$vaultssh~/.ssh/id_rsa.pubmyrole
Signedkeysavedto/home/josh/.ssh/id_rsa-cert.pubDevelopment setupThis project was developed using Pipenv as the virtual environment wrapper. To install all dependencies, run the following command at the root of the project:pipenvinstall--devRelease History0.1.0Initial prototypeMetaJoshua Gilman –joshuagilman@gmail.comDistributed under the MIT license. SeeLICENSEfor more information.https://github.com/jmgilmanContributingFork it (https://github.com/jmgilman/vaultssh/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: vault-ssh-renew
Vault SSH Renewal Toolvault-ssh-renewautomates the process of renewing SSH host certificates issued byHashiCorp Vault. It will check whether a certificate
is installed on the host, and whether it expires in the near future. Only then will it
request Vault to issue a new certificate.Please note thatvault-ssh-renewdoes not take care of renewing the Vault token itself or of re-configuring your SSH server software to actually present the certificate. Please refer to theVault documentationon how to achieve this.InstallationPippipinstallvault-ssh-renewDebian/Ubuntu PackagesOn Debian Buster, Ubuntu 18.04, and 20.04, you can install vault-ssh-renew from packages:sudoapt-keyadv--keyserverkeyserver.ubuntu.com--recvAF0E925C4504784BF4E0FFF0C90E4BD2B36E75B9echo"deb https://dl.bintray.com/glaux/production$(lsb_release-s-c)main"|sudotee-a/etc/apt/sources.list.d/vault-ssh-renew.list
sudoapt-getupdate
sudoapt-getinstallvault-ssh-renewThe package will also install a daily timer to run vault-ssh-renew. If you are installing interactively,
you will also be asked supply all the required configuration parameters, which will be written
to/etc/default/vault-ssh-renewand can be edited there.DockerYou may also run the tool using a Docker container:docker run -ti -v/etc/ssh:/etc/ssh \
    -e VAULT_TOKEN=**** \
    -e VAULT_ADDR=http://127.0.0.1:8200 \
    -e VAULT_SSH_SIGN_PATH=ssh/sign/host \
    glaux/vault-ssh-renewFor every release, there also exists a corresponding tag suffixed with.cron(e.g.::latest.cron) that
runs the tools as a periodic cron job.ConfigurationConfiguration can be achieved using the following environment variables.VariableData TypeMeaningDefaultVAULT_ADDRURLAddress under which Vault can be reached.http://127.0.0.1:8200VAULT_TOKENStringToken for authentication against Vault.VAULT_TOKEN_FILEStringThe path to read the Vault token from.VAULT_SSH_HOST_KEY_PATHStringThe path to the SSH public key./etc/ssh/ssh_host_rsa_key.pubVAULT SSH_HOST_CERT_PATHStringThe path to the SSH host certificate./etc/ssh/ssh_host_rsa_key-cert.pubVAULT_SSH_SIGN_PATHStringThe path to the signing endpoint, usually ⟨secret mountpoint⟩/sign/⟨role name⟩.VAULT_SSH_PRINCIPALSList of StringsA space separated list of principals to request in the certificateHost's FQDNVAULT_SSH_RENEWAL_THRESHOLD_DAYSIntegerWhen the certificate is valid for less then this many days, renew it.7Kubernetes DeploymentThe directorykubernetes/in the source distribution contains a set of resources that can serve as a template to deploy vault-ssh-renew across your Kubernetes cluster. You'll need to:editsecret.yamlto supply your Vault tokenadd the correct Vault address and signing path toconfigmap.yamloptionally change the version indaemonset.yamlto something other thanlatestkubectlapply-fkubernetes/*.yaml
Package: vault-sync
vault-syncWhat is vault-sync?vault-syncis a small command-line tool for copying (synchronizing) secrets from one Hashicorp Vault instance or another.This can useful either for backup reasons or for ensuring that changes in one environment are correctly brought over to the other.Using vault-sync and config fileVault-sync is a command-line tool that by default uses a small JSON document file to connect to the vault instances.Any file can be used by the tool by using the--config=<path to file>flag. Do note however thatpydanticis used to strictly
enforce the layout of the JSON document.The configuration document should look like this:{"source":{"url":"https://test1.com","role_id":"da4f99bf-063e-4025-929b-0500a5bb145b","secret_id":"2771dba9-f17b-4409-9e34-ef0f8efc9b61","kv_store":"store1"},"destination":{"url":"https://test2.com","role_id":"8d900c30-e078-4981-a1be-01c2a0770f2b","secret_id":"d1c5468e-15ee-427f-b69d-b77d214b2bfd","kv_store":"store2"}}
Package: vault-talenttech-oss
Vault clientPre-installexportVAULT_URL=[VaultURL]exportVAULT_AUTH_TOKEN=[authtoken]exportVAULT_NAMESPACE=[namespace]exportVAULT_RESTRICTION=[restriction]exportVAULT_SECRET_NAME=[secretname]cubbyhole/etl/[VAULT_NAMESPACE]/[VAULT_RESTRICTION]/[VAULT_SECRET_NAME]Usagepip3installvault-talenttech-ossimportvault.clientasosv#Вернёт DB_PASSWORD из переменных окружения, если не найдёт в Vaultosv.getenv("DB_PASSWORD")
Package: vaunix-api
Vaunix APIThis is a small package to download and wrap the C library of LabBrick signal generators.
It can be extended for other LabBrick devices. This package is not affiliated with Vaunix Technology Corporation.pip install vaunix_apiThe required binaries can be downloaded viavaunix_api.lsg.download_lsg_binaries()fromvaunix website.Example:importvaunix_api.lsgaslsgapi=lsg.VNX_LSG_API.default()# necessary to refresh device listapi.get_num_devices()fordevice_idinapi.get_dev_info():print(api.get_serial_number(device_id),api.get_model_name(device_id),lsg.LSGStatus(api.get_device_status(device_id)))
Package: vaurienclient
This is a client forvaurien. It’s a separate
project to avoid getting all the dependencies of vaurien when you just want to
control it.It usesthe vaurien’s APIsto change the behaviors
on the proxy side.vaurienctlcan be used to list the available behaviors, get the current one,
or set it.Here is a quick demo:$ vaurienctl list-behaviors
delay, error, hang, blackout, dummy

$ vaurienctl set-behavior blackout
Behavior changed to "blackout"

$ vaurienctl get-behavior
blackoutUsing the marteau extensionvaurienclientcan be plugged into the marteau mechanism, as a fixture. The
fixture class lives in vaurienclient.ext.marteau.Here is how you can make it work with a.marteau.ymlfile:lookup:
    - vaurienclient.ext.marteau
fixtures:
    memcache_delay:
        class: VaurienFixture
        arguments:
            server: memcache
            behavior: delay
vaurien-proxies:
    memcache: http://memcache:0123There are different sections that can be useful here:lookuptells marteau to load the fixtures that are available onvaurienclient.ext.marteau.fixtures is the list of fixtures. you give them the class to Use (here theVaurienFixtureclass, and some arguments.And then, the last bit is the list of poxies you want to use.
Package: vavacars-data-utils
VavacarsVavacars utils library.InstallationTo use the library, simply install it with pip or add into requirements.txtpython3 -m pip install --upgrade vavacars_data_utilsUsageThe library includes a series of common utilities we are using in VavacarsSIQWrapper to get quotations from SIQHelper_v2 adds querying Redis Cache before asking SmartIQCamunda DMNWrapper to query Camunda DMN for initial offer (strategies)SQLWrapper to run querys against a MySQL/SQL ServerSQL Server requires Microsfot OBDC Driver to be installed, for Ubuntu 20.04 use the following comamnds:curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
apt-get update && ACCEPT_EULA=y DEBIAN_FRONTEND=noninteractive apt-get install -y mssql-tools unixodbc-dev && pip install pymssqlAzure HelperWrapper to around Azure ML SDK for registering and reploying modelsBigQuery HelperWrapper to run queries against BigQuerySalesForce HelperWrapper to retrieve data from SalesForceEmailWrapper to send emails via Email Communication Resource in AzureTurkey specifics:turkish_to_datetime(str): Date conversion from turkish datesOther:get_best_match(value, list_values): Find closest string in a list (used for bodytypes, trimlevels, ...)deep_get(dictionary, nested_keyss)return_on_failure(f,v): Run function f and return v if f yields any exception in other case it will retun f() resultextract_json_objects(t): Look Json objects in the text tBuildingFirst, update at least the version number in setup.cfgNext, install build package in your environment:python3 -m pip install --upgrade buildThen you can runpython3 -m buildto generate the distribution, this will generate the distribution files under dist/ folder. Check the folder as it may contain the files from the previous build.PublishingTo publish it we are using twine, so first install it:python3 -m pip install --upgrade twineAnd then you can publish it running (from this folder), it will ask you for credentials in the registry:twine upload -r pypi dist/*For more details, check:https://packaging.python.org/en/latest/tutorials/packaging-projects/
Package: vaxa-plotly-branding
Automatically brands Plotly charts with Vaxa Analytics branding.Installation```bash
pip install vaxa_plotly_branding
```Usage```python
import plotly.express as px
import vaxa_plotly_branding

# use templates manually
px.line().update_layout(template='vaxa_analytics')
px.line().update_layout(template='vaxa_analytics_no_logo')

# or register by default
from vaxa_plotly_branding import default_to_vaxa_analytics_template
default_to_vaxa_analytics_template()
px.line() # will use vaxa_analytics template by default

from vaxa_plotly_branding import default_to_vaxa_analytics_no_logo_template
default_to_vaxa_analytics_no_logo_template()
px.line() # will use vaxa_analytics_no_logo template by default    
```
Package: vaxila-opentelemetry-util
OpenTelemetry utilities for Python by VaxilaThis repository contains a set of utilities for OpenTelemetry for Python.Installationpipinstallvaxila-opentelemetry-utilUsageAdd local variables to attributes of exception's eventfromvaxila.opentelemetry.utilimportenable_exc_local_variables_recordingenable_exc_local_variables_recording()When exception is raised, OpenTelemetry automatically creates an event for exception.enable_exc_local_variables_recording()adds local variables to the event's attributes automatically by decoratingSpan.record_exception().This helps you find the situation where exception happened.You can see examplehere.:warning: When using pre-fork server like Gunicorn, you should callenable_exc_local_variables_recording()before fork to not run same thing multiple times.
Package: vaxrank
vaxrankSelection of mutated protein fragments for therapeutic personalized cancer vaccines.Usagevaxrank\--vcftest/data/b16.f10/b16.vcf\--bamtest/data/b16.f10/b16.combined.bam\--vaccine-peptide-length25\--mhc-predictornetmhc\--mhc-allelesH2-Kb,H2-Db\--padding-around-mutation5\--output-ascii-reportvaccine-peptides.txt\--output-pdf-reportvaccine-peptides.pdf\--output-html-reportvaccine-peptides.htmlInstallationVaxrank can be installed usingpip:pip install vaxrankNote: to generate PDF reports, you first need to installwkhtmltopdf, which you can do (on OS X) like so:brew install Caskroom/cask/wkhtmltopdfVaxrank usesPyEnsemblfor accessing information about the reference genome. You must install an Ensembl release corresponding to the reference genome associated with the mutations provided to Vaxrank.The latest release for GRCh38 is Ensembl 93:pyensembl install --release 93 --species humanThe last release for GRCh37 is Ensembl 75:pyensembl install --release 75 --species humanIf your variants were called from alignments against hg19 then you can still use GRCh37 but should ignore mitochondrial variants.Paper & CitationThere is a Vaxrank paper on biorxiv calledVaxrank: A Computational Tool For Designing Personalized Cancer Vaccineswhich can be cited as:@article {Rubinsteyn142919,
    author = {Rubinsteyn, Alex and Hodes, Isaac and Kodysh, Julia and Hammerbacher, Jeffrey},
    title = {Vaxrank: A Computational Tool For Designing Personalized Cancer Vaccines},
    year = {2017},
    doi = {10.1101/142919},
    publisher = {Cold Spring Harbor Laboratory},
    abstract = {Therapeutic vaccines targeting mutant tumor antigens ({\textquotedblleft}neoantigens{\textquotedblright}) are an increasingly popular form of personalized cancer immunotherapy. Vaxrank is a computational tool for selecting neoantigen vaccine peptides from tumor mutations, tumor RNA data, and patient HLA type. Vaxrank is freely available at www.github.com/hammerlab/vaxrank under the Apache 2.0 open source license and can also be installed from the Python Package Index.},
    URL = {https://www.biorxiv.org/content/early/2017/05/27/142919},
    eprint = {https://www.biorxiv.org/content/early/2017/05/27/142919.full.pdf},
    journal = {bioRxiv}
}DevelopmentTo install Vaxrank for local development, you may do the below:git clone git@github.com:openvax/vaxrank.git
conda create -q -n vaxrank-dev-env python=3.5.2 numpy scipy nose pandas pylint
source activate vaxrank-dev-env
pip install -r requirements.txt
pip install .
pyensembl install --release 87 --species human
pyensembl install --release 87 --species mouseYou should run the linter and the test suite as you work on Vaxrank (and these will be run automatically by our continuous integration server up on a PR being made)../lint.sh
nosetests testThe first run of the tests may take a while (8 minutes on a 2016 Macbook Pro) to create the FM index of the proteome, but subsequent tests should take only a few seconds.
Package: vayner-clean
Getting StartedThis library has generic functions for cleaning advertising data such as standardising column
names between platforms and countries or extracting a Country like "France" from a string columnFull Online DocumentationLibrary Installationpip install vaynercleanTo upgrade the library after an updatepip install vayner-clean --upgradeImporting the Libraryfrom vee_clean import cleaning_functions as cleanUsage in codeIn this example we will be using the cleaning library to clean and standardise column names in a dataframefb_organic = clean.clean_column_names(fb_organic_temp)
Package: vaynerqualityassessments
Getting StartedA Library built to work on generic pandas Dataframes and provide quality assessments such
as the number of nulls in certain columns, the recency of data row items or the number
of duplicatesFull Online DocumentationLibrary Installationpip install vaynerqualityassessmentsTo upgrade the library after an updatepip install vaynerqualityassessments --upgradeInitialisation of the QualityAssessments classAn instance of the "QualityAssessments" class can be initiated with the ability to read/write with
google sheets by being passed a UtilityFunctions object from theveetilitylibrary.
Please consult the documentation for that library in order to be able to create an instance of
the UtilityFunctions classSetup in codeOnce the instance of the UtilityFunctions class has been created i.e. "util". This can then be passed
to the QualityAssessments initialisation.import config as cf
from veetility import utility_functions
from vee_qa import quality_assessments as qa

util = utility_functions.UtilityFunctions(cf.google_sheet_auth_dict,cf.db_user, 
                                          cf.db_password,cf.db_host,
                                          cf.db_port, cf.db_name)

qual_assess = qa.QualityAssessments(util)
Package: vayu
### Tools for Air Quality Data AnalysisPython Library to better understand the air quality data through visualizations.Inspired from the R package [OpenAir][3].DocumentationsView documentations hosted at [GitHub][1].# Installation`shell pip install vayu `# Sample Usage
For sample usage please look for jupyer notebooks inexamples/nbsin the [official repository][2].[1]:https://sustainability-lab.github.io/vayu/[2]:https://github.com/sustainability-lab/vayu/[3]:https://davidcarslaw.github.io/openair/
Package: vayu-client
Vayu python clientPrerequisitesPython 3.7 and aboveInstall thevayu-clientpackage (pip install vayu-client)End-to-End Code ExampleTo illustrate how to use theVayulibrary for sending events to Vayu's API, here is a complete code snippet. This example combines all the steps detailed in previous sections:fromdatetimeimportdatetimefromvayuimportVayuvayu=Vayu('YOUR_ACCESS_KEY')vayu.send_events([{'name':'api_call','timestamp':datetime.now(),'customerAlias':'customer_12345','data':{'processing_duration':124.83,'api_endpoint':'/api/v1/users',},'ref':'4f6cf35x-2c4y-483z-a0a9-158621f77a21'}])That's it! This example demonstrates how to send an event using Python and theVayulibrary.Step-by-step GuideStep 1: Import VayuThe first step is to import theVayuclass from theVayupackage.fromvayuimportVayuStep 2: Initialize the ClientAfter importing, create a newVayuinstance and pass the api keyvayu=Vayu('YOUR_API_KEY')Step 3: Send EventsFinally, you can send events to the Vayu API by using thesend_eventsmethod. The method takes a list of dictionaries, where each dictionary represents a single event. Each event dictionary should contain the following fields:name(string - required): A distinctive label assigned to an event. It serves as a critical identifier for categorizing and pricing events.timestamp(datetime): The exact moment when the event occurs.customerAlias(string): A unique identifier for each customer, which may be pseudonymous or obfuscated.data(object): A schema-less JSON object containing miscellaneous attributes and metrics associated with the event.ref(string, optional): A UUID or other high-entropy string serving as an immutable reference for each event entry.Example:vayu.send_events([{'name':'api_call','timestamp':datetime.now(),'customerAlias':'customer_12345','data':{'processing_duration':124.83,'api_endpoint':'/api/v1/users',},'ref':'4f6cf35x-2c4y-483z-a0a9-158621f77a21'}])
Package: vaz
Vaz has been created to open and enter any kind of data file into the development area and make it so easy for anyone to handle the dataframe after reading.It was written using pandas and tried to use very basic steps which can be understood by anyone, even Python beginners.
Please send me your feedback to this email:siadatisaman@gmail.com....................................................................Vaz means 'open' in the Mazani accent(Persian) in the northern regions.
Package: vba-linter
VBA-LinterLint VBA codeCheck that code parses correctly. If so, check that the formatting meets a specified standard.Formatting ChecksE1 IndentationE101 indentation contains mixed spaces and tabsE2 Whitespace errorsE201 whitespace after '('E202 whitespace before ')'E203 whitespace before ‘,’E211 whitespace before (W1 Indentation warningW191 indentation contains tabs - should be error.W2 Whitespace warningW201 no newline at end of fileW291 trailing whitespaceW293 blank line contains whitespaceW3 Blank line warningW391 blank line at end of fileW5 Line break warningW500 incorrect line endingW501 line too longTo DoE221 multiple spaces before operatorE222 multiple spaces after operatorE712 comparison to True should be ‘If cond Then’E713 comparison to False should be 'If Not cond Then'F841 local variable 'foo' is assigned to but never usedW101 improper indentation levelW301 Too few blank lines before functionW302 Too many blank lines before functionN800 Keyword formatingN801 Module name formatN802 Function name formatN803 Variable name formatMissing StrictVariable not initializedreturn type not specifiedparameter type not specifiedmissing function docbloc