Saravanan666/pypi-org huggingface dataset:
Package: volumouse
volumouse[DEPRECATED] This project works well, but unfortunately it is impossible to autostart volumouse when the computer starts, so it's useless. Use the GitHub project instead :GitHub VolumouseA Python 3 program that allows you to change the volume with the mouse wheel using it at the four corners of the screen.
Run in a terminalvolumouse -cto configure and execute it withvolumousecommandInstall the main package :Install dependancies :You need x11-utils :
Debian, Ubuntu, Kali Linux, Raspbian :apt-get install x11-utilsArch Linux :pacman -S xorg-xdpyinfoCentOS :yum install xorg-x11-utilsFedora :dnf install xorg-x11-utilsYou also need pulseaudio-utils :
Debian, Ubuntu, Kali Linux, Raspbian :apt-get install pulseaudio-utilsAlpine :apk add pulseaudio-utilsArch Linux :pacman -S libpulseCentOS :yum install pulseaudio-utilsFedora :dnf install pulseaudio-utilsInstall volumouse :#########################################On the next version of Python and Linux you will need to install in this way (using virtual env) :sudo apt install pipx
pipx install volumouseTo update volumouse to the latest version :pipx upgrade volumouseIf volumouse has been installed in ~/.local/bin you will need to add this file to the PATH : ~/.local/bin (if it's not already done) :sudo echo 'export PATH=$PATH:~/.local/bin' >> ~/.bashrcHow to create a PATH on Linux ?#########################################Normal way to install on Linux :sudo python3 -m pip install -U volumouse!!! It's very important to use thesudocommand because like this volumouse will be in the PATHConfigure :It's very easy to configure, there are just a simple command to execute, once for all, the first time :All is explained in volumouse --help and volumouse --info(sudocommand is required if you have installed volumouse with thesudocommand) :Open a terminal and type :sudo volumouse --configureorsudo volumouse -cUsage :Just run the commandvolumousein a terminal or, for starting volumouse at startup (Enterwhich volumousein a terminal to know the installed directory of volumouse. Then as startup parameters,enter this command :sh -c 'result_of_which_command'. For instance :sh -c '~/.local/bin/volumouse')Create a PATH to volumouse :If you have installed volumouse without thesudocommand on Linux you will need to create a PATH for starting volumouse with thevolumousecommand.Indead, to be able to run volumouse directly in the terminal, without going to the source package, you should add the volumouse's folder to the PATH :On Linux, it can be permanently done by executing :sudo gedit ~/.bashrcand adding, at the end of the document, this line :export PATH=$PATH:/place/of/the/folder/volumouseIf you want to temporarily test it before, you can just execute this command in the terminal :export PATH=$PATH:/place/of/the/folder/volumouseIt will be restored on the next reboot.By doing this, instead of tapingpython3 '/place/of/the/folder/volumouse/volumouse.py',
you will be able to directly tape in the terminal :volumouse.@pzim-devdata GitHub PagesLicenceMIT License Copyright (c) 2023 pzim-devdataCreated by @pzim-devdata - feel free to contact me!
Package: volundr
Copyright 2021Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Package: volunteer-scheduler
Volunteer workshift scheduler for a helplineCode written in Python finds the best possible schedule for volunteers while incorporating constrains and special requirements usingCP-SAT Solver(Constraint Programming - boolean SATisfiability problem Solver).Java version is in development.The problemArranging volunteers for a helpline service for the period of one month.There are three types of work that could be done on the same day:Phone shift: Every day.Chat shift: Mondays and Wednesdays.Observer shift: Any day.Constraints:Properties of each volunteer:Available days.Function: doing phone, chat, both or observation for training purposes.Maximum amount of weekend shifts.Whether their shifts have to be on separate weeks.Whether they welcome observers.Whether they want to work alone.Whether they cannot yet work alone.List of people they do not want to work with.Each volunteer has to have 4 days between their shifts.Priorities:Have minimum one volunteer for each day.Fill chat shifts.Have a second volunteer even on phone days.Employ observers on days when there is only phone shift.Objective:Maximize filled shifts.InstallationRequires 64-bit Python 3.7pip install helpline-schedulerUsageSelect your language in config.py: EN/HU/CNAlternatively you can create your XX language extension by creating the corresponding data_XX.csv and language_XX.py files.Export corresponding data/data_XX.csv file into a spreadsheet, fill in your data, then export back into this file.Execute the program from its directory:python schedule.pyOutputPrints results into the terminal and saves it into schedule_YYYY_MM____YYYYMMDD_hhmm.txt.Saves results into schedule_YYYY_MM____YYYYMMDD_hhmm.csv which can be conveniently imported into a spreadsheet.
Package: voluptuary
voluptuaryThis is a tool and library to convert a JSON Schema to a Voluptuous schema.Usagefromvoluptuaryimportto_voluptuous# some JSON Schemajson_schema={'type':'object','properties':{'value':{'type':'integer'},},}# convert to a voluptuous schemaschema=to_voluptuous(json_schema)# validate somethingschema({'value':1})TestsTo run the tests, usetox.$toxWhy?This library is for the people who aren’t satisfied with JSON Schema but can’t
justify rewriting schemas (“tedious”, “time-consuming”, “little benefit”). But
with a library to rewrite the schemas for you, there are no more excuses!If you are wondering “why voluptuous over JSON Schema”, there are some goodreasons listed here. I find voluptuous models to be nicer: more Pythonic,
more expressive, easier to read and maintain, easier to customize, better error
messages, and so on.How do I know my converted schema will validate correctly?First of all, you should always test the validation behavior of your schemas.
No library is going to write correct schemas for you.Aside from that, this library follows the following principles:Familiar behavior: This library strives to match the validation behavior of
the (Draft 4) validator fromjsonschema.Proactive testing: This library includes and actively runs a comprehensive
suite of tests to ensure behavior in the first point.Documentation: This library includesdetailed documentationof support
for JSON Schema validation features, and strive to keep this up to date.
Package: voluptuous-errors
Author:Ken KundertVersion:0.0.0Released:2024-02-25A convenience function used for reportingvoluptuouserrors fromnestedtextwithinform.  Here is a typical use of this function:>>> from voluptuous import Schema, Invalid, MultipleInvalid, Required
>>> from voluptuous_errors import report_voluptuous_errors
>>> from inform import error, os_error, terminate
>>> import nestedtext as nt

>>>  try:
...      settings_path = Path('settings.nt')
...      settings = nt.load(
...          settings_path,
...          keymap = (keymap:={}),
...      )
...      settings = schema(settings)
>>>  except nt.NestedTextError as e:
...      e.report()
>>>  except MultipleInvalid as e:
...      report_voluptuous_errors(e, keymap, settings_path)
>>>  except OSError as e:
...      error(os_error(e))
>>>  terminate()This code will report all errors found by Voluptuous when reading the settings
file.ReleasesLatest development release:Version: 0.5.0Released: 2022-09-020.0 (2024-02-25):Initial version.
Package: volutil
volutil: neuroimaging volume utilitiesScripts are:vol-info: print basic information about a volumevol-stats: print basic statistics of a volumevol-cat: print the voxel values in volumesvol-hist: dump an integer histogram for a volumevol-vol: calculate volumes of ROIsvol-dice: calculate Dice coefficients for ROI overlapsvol-tr: change values in a volumevol-slice: create slice images from a volume, with an optional overlay
Package: volux
VoluxInstallationpipinstallvoluxUsageFor usage instructions, check out thelatest documentation.Application❌📚  Looking for thevoluxapplication,notthe Python library?🐍Click herefor thevoluxclipackage!Links📖Documentation🐍Latest Release🧰Source Code🐞Issue Tracker🐦 Twitter@DrTexx📨 Emaildenver.opensource@tutanota.com
Package: voluxcli
Volux CLIInstallationpipinstallvoluxcliUsageAfter installation, runvolux --helpfor usage information.For further instructions, check out thelatest documentation.Common CommandsActionCommandExampleList available demosvolux --list demosn/aLaunch a demovolux demo <name>volux demo audioLibrary❌🐍  Looking for thePython library,notthevoluxapplication?📚Click herefor thevoluxpackage!Links📖Documentation🐍Latest Release🧰Source Code🐞Issue Tracker🐦 Twitter@DrTexx📨 Emaildenver.opensource@tutanota.com
Package: voluxcontroller
Volux ControllerTable of ContentsInstallationUsageVoluxController- SourceExamplesTo-do ListLinksInstallationpipinstallvoluxcontrollerUsageVoluxController- SourceExamplesBasic demo(available in themain Volux repository)To-do ListGetVoluxControllerclass workingAddon_pressescallback toVoluxControllerclassAdd basic example to documentationReplace link to basic example with a new example in a code blockAdd basic documentationAdd more examples to documentationAdd more detailed documentationLinks📖Documentation🐍Latest Release🧰Source Code🐞Issue Tracker🐦 Twitter@DrTexx📨 Emaildenver.opensource@tutanota.com
Package: voluxexamplemodule
Volux Example ModuleInstallationpipinstallvoluxexamplemoduleUsageFor usage instructions, check out thelatest documentation.Application❌📚  Looking for thevoluxapplication?🐍Click herefor thevoluxclipackage!Links📖Documentation🐍Latest Release🧰Source Code🐞Issue Tracker🐦 Twitter@DrTexx📨 Emaildenver.opensource@tutanota.com
Package: voluxlight
Volux Light☠️EXPERIMENTAL:- Beware all ye who enter here ☠️Table of ContentsInstallationUsageVoluxLightLifxLan- DestinationExamplesTodo ListLinksInstallationpipinstallvoluxlightUsageVoluxLightLifxLan- DestinationExamplesHue Demo(available in themain Volux repository)Todo ListGetVoluxLightLifxLanclass workingAdd basic example to documentationReplace link to basic example with a new example in a code blockAdd basic documentationAdd more examples to documentationAdd more detailed documentationLinks📖Documentation🐍Latest Release🧰Source Code🐞Issue Tracker🐦 Twitter@DrTexx📨 Emaildenver.opensource@tutanota.com
Package: vomit
vomitDon't like using .pop() because it looks weird?LOOK NO FURTHERThe vomit package contains a vomit() function which does the same thing as
.pop(). If you really think about it, when you pop and element from a stack (Last One First Out)
it's basically vomitting.installpip install vomitIf that doesnt work try:pip3 install vomitusagefromvomitimportvomitstack=[1,2,3,4,5]puke=vomit(stack)# puke = 5# stack = [1, 2, 3, 4]
Package: vo-models
vo-modelsvo-modelsis an open-source project to provide Python models forIVOAservice protocols.The project is designed to be used by IVOA members, service implementors, and developers to help facilitate the development of IVOA-compliant services and clients.FeaturesPydantic-xml Models:The project includes Python models for IVOA protocols, usingpydantic-xml. Based onPydantic, these models describe transactions for an IVOA protocol, such as UWS, and feature automatic validation, parsing and serialization of XML data for use with Python clients and web frameworks.Expandability:The project is designed with future expansion in mind. Plans include extending the schema and models to cover other IVOA standards and future versions of existing standards where possible.ProtocolsThe following IVOA protocols are currently supported:UWS (Universal Worker Service) version 1.1VOSI (IVOA Support Interfaces) version 1.1VOSI AvailabilityVOSI TablesVODataService version 1.2 (limited)DataTypeFKColumnForeignKeyTableTableParamTableSchemaTableSetYou can read more about using these models in our documentation:https://vo-models.readthedocs.io/InstallationThe latest version of the project can be installed from PyPI:pipinstallvo-modelsCondaTo install the project using Conda, you can use the provided environment file:gitclonehttps://github.com/spacetelescope/vo-models.gitcdvo-models
condaenvcreate-fenvironment.yml
condaactivatevo-models
pipinstall-rrequirements.txt
pipinstall.For active development, install the project in development mode:pipinstall-e.[dev,test]ContributingContributions to the project are more than welcome. Collaboration and discussion with other IVOA members, service implementors, and developers is what started this project, and is what makes the IVOA great.If you are interested in contributing, whether that be adding a new protocol, improving the schema, fixing a bug or even a typo, please feel free to open an issue or pull request.LicenseThis project is licensed under theMIT License.
Package: vonage_cloud_runtime
Vonage Cloud Runtime SDK for PythonThis is the Python SDK forVonage Cloud Runtime. To use it you will need a Vonage account. Sign up for free atvonage.com.For full documentation refer todeveloper.vonage.com.InstallationTo install the SDK run:pip install vonage_cloud_runtimeUsageThe Vonage Cloud Runtime SDK gives you access toproviderswhich help you build powerful communication applications with Vonage. As an example here is how you can listen for incoming calls to your Vonage Application with the Voice provider:fromvonage_cloud_runtime.vcrimportVCRfromvonage_cloud_runtime.providers.voice.voiceimportVoicevcr=VCR()session=vcr.createSession()voice=Voice(session)awaitvoice.onCall("onCall")@app.post('/onCall')asyncdefonAnswer():return[{'action':'talk','text':'Hi from Vonage!'}]Get StartedThe Vonage Cloud Runtime SDK has been designed for use with theVonage Cloud Runtime Marketplace. There you will find prebuilt solutions to common communication workflows with Vonage, where you can try them out and edit them to fit your use case. Once finished, you can deploy the application and let Vonage manage the hosting for you.
Package: vonage-http-client
Vonage HTTP Client PackageThis Python package provides a synchronous HTTP client for sending authenticated requests to Vonage APIs.This package (vonage-http-client) is used by thevonagePython package and SDK so doesn't require manual installation or config unless you're using this package independently of a SDK.TheHttpClientclass is initialized with an instance of theAuthclass for credentials, an optional class of HTTP client options, and an optional SDK version (this is provided automatically when using this module via an SDK).TheHttpClientOptionsclass defines the options for the HTTP client, including the API and REST hosts, timeout, pool connections, pool max size, and max retries.This package also includes anAuthclass that allows you to manage API key- and secret-based authentication as well as JSON Web Token (JWT) authentication.For full API documentation refer to theVonage Developer documentation.Installation (if not using via an SDK)You can install the package using pip:pipinstallvonage-http-clientUsagefromvonage_http_clientimportHttpClient,HttpClientOptionsfromvonage_http_client.authimportAuth# Create an Auth instanceauth=Auth(api_key='your_api_key',api_secret='your_api_secret')# Create HttpClientOptions instanceoptions=HttpClientOptions(api_host='api.nexmo.com',timeout=30)# Create a HttpClient instanceclient=HttpClient(auth=auth,http_client_options=options)# Make a GET requestresponse=client.get(host='api.nexmo.com',request_path='/v1/messages')# Make a POST requestresponse=client.post(host='api.nexmo.com',request_path='/v1/messages',params={'key':'value'})Appending to the User-Agent HeaderThe HttpClient class also supports appending additional information to the User-Agent header via the append_to_user_agent method:client.append_to_user_agent('additional_info')Changing the Authentication Method UsedTheHttpClientclass automatically handles JWT and basic authentication based on the Auth instance provided. It uses JWT authentication by default, but you can specify the authentication type when making a request:# Use basic authentication for this requestresponse=client.get(host='api.nexmo.com',request_path='/v1/messages',auth_type='basic')
Package: vonage-jwt
Vonage JWT Generator for PythonThis package provides functionality to generate a JWT in Python code.It is used by theVonage Python SDK.InstallationGenerating JWTsVerifying a JWT signatureInstallationInstall from the Python Package Index with pip:pipinstallvonage-jwtGenerating JWTsThis JWT Generator can be used implicitly, just by using theVonage Python SDKto make JWT-authenticated API calls.It can also be used as a standalone JWT generator for use with Vonage APIs, like so:Import theJwtClientobjectfromvonage_jwt.jwtimportJwtClientCreate aJwtClientobjectjwt_client=JwtClient(application_id,private_key)Generate a JWT using the provided application id and private keyjwt_client.generate_application_jwt()Optional JWT claims can be provided in a python dictionary:claims={'jti':'asdfzxcv1234','nbf':now+100}jwt_client.generate_application_jwt(claims)Verifying a JWT signatureYou can use theverify_jwt.verify_signaturemethod to verify a JWT signature is valid.fromvonage_jwt.verify_jwtimportverify_signatureverify_signature(TOKEN,SIGNATURE_SECRET)# Returns a boolean
Package: vonage-number-insight-v2
Vonage Number Insight Python SDK packageThis package contains the code to use v2 of Vonage's Number Insight API (currently in beta) in Python.It includes classes for making fraud check requests and handling the responses.UsageFirst, import the necessary classes and create an instance of theNumberInsightV2class:fromvonage_http_client.http_clientimportHttpClientfromnumber_insight_v2importNumberInsightV2,FraudCheckRequesthttp_client=HttpClient(api_host='your_api_host',api_key='your_api_key',api_secret='your_api_secret')number_insight=NumberInsightV2(http_client)You can then create aFraudCheckRequestobject and use thefraud_checkmethod to initiate a fraud check request:request=FraudCheckRequest(phone='1234567890')response=number_insight.fraud_check(request)
Package: vonage-utils
Vonage Utils PackageThis package contains utility code that is used by the Vonage Python SDK and other related packages.The utils module provides two utility functions:format_phone_numberandremove_none_values. It also exposes theVonageErrortype that other exceptions related to Vonage SDK inherit from. This can also be accessed via the main SDK module withvonage.VonageError.Usagefromutilsimportformat_phone_number,remove_none_values# Use format_phone_numbertry:formatted_number=format_phone_number('123-456-7890')print(formatted_number)except(InvalidPhoneNumberError,InvalidPhoneNumberTypeError)ase:print(e)# Use remove_none_values to remove null values from a Vonage API response when converting to a dictionary with the `asdict` methodfromdataclassesimportasdictvonage_api_response=vonage.api.method()cleaned_dict=asdict(my_dataclass,dict_factory=remove_none_values)print(cleaned_dict)
Package: vondrak
A Python implementation of Vondrák’s long term precession model and Fortran code.Some New Thoughts About Long-Term Precession(2010)New Long-Term Expressions for Precession(2011)New precession expressions, valid for long time intervals(2011)New precession expressions, valid for long time intervals (Corrigendum)(2012)DependenciesThe only dependency isnumpy.InstallTo install theVondrak Python package, simplypip install vondrak. All code is hosted atgithub.com/digitalvapor/vondrak.DocumentationView the docs atdigitalvapor.github.io/vondrak, or generate withmake htmlin thedocsfolder.LicenseThis work is licensed under aCreative Commons Attribution-ShareAlike 4.0 International License.
Package: vonixsync
vonixsyncvonixsync is a python library for syncronization/database mirroring of the vonix databaseInstallationUse the package managerpipto install vonixsync.pipinstallvonixsyncUsageimportvonixsyncfromvonixsyncimportDBConfigsfromvonixsyncimportSyncronizer#Import the DBConfigs class. Provide the parameters used to construct the string used to connect to the database, according to its singular dialect.connection_configs=DBConfigs(database_manager="postgres",user="postgres",password="postgres",hostname="localhost",database="postgres",port=5432,)connection=connection_configs.connect# Declare your token as a string typetoken="token_provided_by_vonix_support"#Import the Syncronizer Class to effectively syncronize the data to your database and name all tablesSyncronizer(token=token,connection=connection,agents="agent",agent_event="agent_event",agent_pause="agent_pause",agent_summary="agent_summary",calls="call",call_ratings="call_rating",chats="chat",chat_message="chat_message",profilers="profiler",trees="trees",queues="queue",queue_summary="queue_summary",fromPeriod=1678449585,echo=True).syncronize()Now run the code.Syncronizer OptionsBesides the obligatory token, database_string parameters and names of the tables to be syncronized, the Syncronizer has other options:fromPeriodThe timestamp parameter must be declared in timestamp format. It is an obligatory filter for the summary tables.the syncronizer will look for the most recent inserted row in the mirrored database and mirror from this row's date on.If no data is found in the mirrored database the syncronizer will mirror data using the fromPeriod timestamp value provided to the Syncronizer.If no timestamp parameter was provided, the Syncronizer will use the timestamp from the day before the current date.Syncronizer(token,database,agents="agent",fromPeriod=1679067723).syncronize()echoThe echo parameter by default is False. But if declared as True, it will enable the logging of all SQL commands during the active phase of the syncronizer.
This a feature provided by the SQLAlchemy library. It can be set with or without other optional parameters.Syncronizer(token,database,queues="queue",echo=True).syncronize()
Package: vonMises
################### vonMises Package ########################
##                                                                                                                 ##
##                                        Created by:                                              ##
##                      Vedant Mehta (vedantmehta08@gmail.com)         ##
##               Kanchan Satpute (kanchansatpute09@gmail.com)      ##
##                                                                                                                 ##
##                                                                                                                 ##
#############################################################This package contains the following functions:
1. rvonmises - Generate random deviates from vonMises distribution
2. dvonmises - Computes probability density on the basis of vonMisesâ€™ probability density function
3. pvonmises - Computes cumulative probability on the basis vonMisesâ€™ cumulative distribution
4. qvonmises - Generates quantiles i.e., basically the inverse of vonMises cumulative distribution function
Package: vonny
Text vonnytization(supports cyrillic and latin)Installation and usage$pipinstallvonnyor (replace * with proper version)$pipinstalldist/vonny-*.tar.gzthen>>>fromvonnyimportvonnytize>>>print(vonnytize('Hello, World!'))Hllo,Wrld!or$pythonvonny"Hello, world!"Hllo,wrld!