Saravanan666/pypi-org huggingface dataset:
Package: w3tm
introW3TM is a simple command line tool to merge war3 terian images to a single png fileinstallpipinstallw3tmusageusage: w3tm [-h] [-o OUTPUT] [-v] input

W3TM command line tool

positional arguments:
  input                 输入文件夹

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        输出文件名称(默认:result.png)
  -v, --version         show program's version number and exit

示例:
  w3tm -h
  w3tm  D:\game\MPQMaster\w3x.mpq\TerrainArt\LordaeronFall
  w3tm -o test.png D:\game\MPQMaster\w3x.mpq\TerrainArt\LordaeronFall
Package: w4
W4This package provides theW4
methodfor nonlinear root finding, inspired by theR implementation.Installcreate a virtual environment, activate it and upgrade pip:python3-mvenv.venvsource.venv/bin/activate
pipinstall-Upipinstall from pypi:pipinstallw4or from github repo:pipinstallgit+https://github.com/gmagno/w4Usageimportnumpyasnpfromw4.w4importw4fromw4.xyimportDecompositionx0:np.ndarray=np.array([0.5,5.0])deff(x:np.ndarray)->np.ndarray:returnnp.array([x[0]**2+x[1]**2-4,x[0]**2*x[1]-1])deffa(x:np.ndarray)->np.ndarray:returnnp.array([abs(x[0]**2)+abs(x[1]**2)+abs(-4),abs(x[0]**2*x[1])+abs(-1)])defjac(x:np.ndarray)->np.ndarray:returnnp.array([[2*x[0],2*x[1]],[2*x[0]*x[1],x[0]**2]])solution:np.ndarray=w4(x0=x0,f=f,fa=fa,jac=jac,decomposition=Decomposition.LU,trace=True)print(solution)Output:[(0,7.26495726e-01,0.5,5.)(1,7.26495726e-01,0.51413317,4.46733668)(2,6.69713968e-01,0.52954179,3.8709697)(3,5.84735305e-01,0.54795009,3.34463474)(4,4.83432079e-01,0.57024824,2.91997823)(5,3.77502437e-01,0.5956425,2.59451865)(6,2.78389751e-01,0.6222772,2.3546681)(7,1.94497674e-01,0.64795729,2.18404118)(8,1.29477634e-01,0.67078251,2.06671229)(9,8.27001827e-02,0.68957129,1.98864688)(10,5.10336293e-02,0.70398283,1.93831422)(11,3.06148582e-02,0.7143608,1.90680022)(12,1.79468274e-02,0.7214358,1.88758697)(13,1.03240723e-02,0.7260406,1.87614544)(14,5.84768757e-03,0.72892454,1.86946918)(15,3.35778195e-03,0.73067466,1.8656404)(16,1.98478537e-03,0.7317098,1.86347648)(17,1.14937826e-03,0.73230941,1.86226842)(18,6.54505913e-04,0.73265086,1.86160094)(19,3.67583154e-04,0.73284262,1.86123535)(20,2.04087865e-04,0.73294908,1.86103659)(21,1.12232060e-04,0.73300761,1.86092922)(22,6.12220725e-05,0.73303954,1.86087154)]Testsclone repo:gitclonehttps://github.com/gmagno/w4cdw4create virtual environment and install dependenciespython3-mvenv.venvsource.venv/bin/activatepipinstall-Upippipinstall-rrequirements_dev.txtrun tests:maketest
Package: w7x
OverviewThew7xpackage is asimulation frameworkthat definesinterfaces for simulation codeswith interchangeablebackends,computation pipelinesin a directed acyclicgraph.
It provides access to simulation codes thatdoes not require the user to be a domain expertof the specific codes andwill take careabout particularities (like binary installation, sanity checks, output files/format, passing on the output to follow-on codes etc).The package is named after the Wendelstein 7-X stellarator, but it isgenericenough to be used for anymagnetic confinement fusiondevice.Licensed under theMIT LicenseResourcesSource code:https://gitlab.mpcdf.mpg.de/dboe/w7xExamples:https://gitlab.mpcdf.mpg.de/dboe/w7x/-/tree/master/examplesDocumentation:https://dboe.pages.mpcdf.de/w7xPypi:https://pypi.python.org/pypi/w7x
Package: w8ing
██╗    ██╗ █████╗ ██╗███╗   ██╗ ██████╗ 
██║    ██║██╔══██╗██║████╗  ██║██╔════╝ 
██║ █╗ ██║╚█████╔╝██║██╔██╗ ██║██║  ███╗
██║███╗██║██╔══██╗██║██║╚██╗██║██║   ██║
╚███╔███╔╝╚█████╔╝██║██║ ╚████║╚██████╔╝
 ╚══╝╚══╝  ╚════╝ ╚═╝╚═╝  ╚═══╝ ╚═════╝W8ingis (as the great Kenneth Reitz would say) waiting and or pollingfor humans.Get it? The8replaces theaitinwaiting:wink: :woman_shrugging:.LetW8inghelp you nuke all your hard calls totime.sleep()and make your tests less flakey :metal:.InstallInstall via pip (highly recommend installing within aPipenv):pip3 install w8ingUsagesWaituntilsome condition is true:fromw8ingimportwait# This example uses an imaginary function that doesn't immediately give us the value we want.result=wait.until(lambda:get_cat_treats(8)==8)# By default, this wait will return whether or not the condition was true or not.resultTrueWaituntilan http request is valid:importrequestsfromw8ingimportwait# You can even specify the timeout and retry delay.response=wait.until(lambda:requests.get("http://www.google.com"),retry_time=1,timeout=15)# By default a successful response (codes 2XX) object is truthy.response<Response[200]>Waituntila serial device becomes available and catch any associated exceptions (for you hardware people):importserialfromw8ingimportwait# If successful, you'll get a pyserial object back, otherwise you'll get None!serial_port=wait.until(lambda:serial.Serial('/dev/ttyUSB0'),catch_exceptions=(SerialException,),retry_time=1,timeout=30)# If it doesn't open you can make a nice assert so your co-workers love you.assertserial_port,"Unable to open serial port! Did you even plug it in??"# Otherwise, continue!serial_port.read(10).decode()"boots and cats"You can also call another function each loop!fromw8ingimportwaitcat_treats=[]# The call_each_try function gets called each time the condition gets evaluated,result=wait.until(lambda:len(cat_treats)>8,call_each_try=lambda:cat_treats.append("treat"),retry_time=0.5)resultTrue# The cat will be pleased, very pleased.But wait, there's more!What if you need toensurethat some condition remains true?? Got you covered fam:fromw8ingimportwaitcat_nip=["cat nip"]*10# Set retry delay to 0 so we can evaluate the condition as fast as possible!result=wait.ensure(lambda:len(cat_nip)>5,call_each_try=lambda:cat_nip.pop(),retry_time=0,timeout=2)resultTrue# The cat will get extra intoxicated by this high quality cat nip, good job.Note:Due to computing power and other operating system processes, it is possible that theconditioncould
flicker to false and back to true before being able to catch it!ContributeFeel free to open an issue and once you get a green light, submit a PR!All PRs will receive respectful and constructive feedback.
Package: w96msgroom
Windows 96 msgroom bot libraryCreate a Windows 96 msgroom bot using this library!What is Windows 96 msgroom?A website where you can talk with other people:Click here.InstallationTo install from PyPi, use this command:<your python interpreter> -m pip install --upgrade w96msgroomGetting the latest developer versionTo get the latest developer version, first clone this repository:git clone https://github.com/GEOEGII555/w96msgroom.py w96msgroomThen go to the newly cloned directory withcd w96msgroomand run:<your python interpreter> -m pip install .And it should be done.DocumentationThe documentation is located on ourGitHub repository. See thedocumentationfolder.
Package: wa2rasa
Purpose of the PackageConvert intents and entities defined in the Watson Assistant skill
object to rasa nlu.yml file.Given how rasa works, there is no way to translate dialog flows defined
in WA into rasa stories. So this converter don’t intends to take care of
dialog flows.InstallationYou can use pip:$pip3installwa2rasaRasaandwa2rasause common libraries, to avoid conflicts please
installwa2rasain a separate virtual environment.UsageJust run the following command:$wa2rasaconvert<path_to_your_wa_object>/<directory_to_store_rasa_nlu_file>/Here a gif for you:AuthorCloves Paiva.
Package: waapi-client
Wwise Authoring API (Waapi) Client for PythonDecoupled autobahn WAMP client with support for plain options and bindable subscription callbacks.RequirementsPython 3.7+ (seetox.inifor versions tested)Wwiseinstance with the Wwise Authoring API enabled (Project > User Preferences... > Enable Wwise Authoring API)SetupOn Windows, it is recommended to use thePython Launcher for Windowswhich is installed with Python 3 frompython.org.Windows:py -3 -m pip install waapi-clientOther platforms:python3 -m pip install waapi-clientUsagefromwaapiimportWaapiClientwithWaapiClient()asclient:result=client.call("ak.wwise.core.getInfo")Thewithstatement automatically closes the connection and unregisters subscribers.
To keep the connection alive, instantiateWaapiClientand calldisconnectwhen you are done.fromwaapiimportWaapiClient# Connect (default URL)client=WaapiClient()# RPCresult=client.call("ak.wwise.core.getInfo")# Subscribehandler=client.subscribe("ak.wwise.core.object.created",lambdaobject:print("Object created: "+str(object)))# Bind a different callback at any timedefmy_callback(object):print("Different callback: "+str(object))handler.bind(my_callback)# Unsubscribehandler.unsubscribe()# Disconnectclient.disconnect()Be aware that failing to calldisconnectwill result in the program to appear unresponsive, as the background thread
running the connection will remain active.ContributeThis repository accepts pull requests.
You may open anissuefor any bugs or improvement requests.Local InstallYou may install the package locally using either pip or pipenv.Clone this repository, then from the repository root run:Windows:py -3 -m pip install -e .Other platforms:python3 -m pip install -e .orpipenv install --threeRunning the TestsInstall thetoxpackage:Windows:py -3 -m pip install toxOther platforms:python3 -m pip install toxOpen a blank project in Wwise, then you may executetoxin the terminal from the root of the repositoryThe test suite will run for all supported versions of Python.
Use-e pyXXto run for a single version, e.g.,tox -e py37for Python 3.7).
Package: waapuro
A dead-simple hiragana and katakana romanization library for Python 2.7
and 3.4+.By default, romanization is performed according toISO 3602 Strict
(Nihon-shiki)with long vowels expanded (e.g.,ouorooinstead ofô):>>> from __future__ import unicode_literals
>>> import waapuro
>>> waapuro.romanize('とおりゃんせ')
'tooryanse'Passing thehepburnishoption replaces some of the individual kana
romanizations with moreHepburn-like variants:>>> waapuro.romanize('あいづち')
'aiduti'
>>> waapuro.romanize('あいづち', hepburnish=True)
'aizuchi'To install, just use:$ pip install waapuroReport bugs and make feature requests onWaapuro’s GitHub project
page.
Package: wabclient
This work is extracted from Praekelt PBC’s work on MomConnect and WhatsApp.
See theblog postfor more details.This does not work with a normal WhatsApp account, only the WhatsApp Business API.Also has some support for creating message templates and sending message templates in bulk.$ pip install wabclient[cli]
$ wabclient create --help
$ wabclient create \
    --number <your number without leading + like `27123456789`> \
    --token <your auth token> \
    --name <template name> \
    --template <template>

$ wabclient send --help
$ wabclient send \
    --csv-file wa_ids.csv \
    --token your-auth-token \
    --namespace the-namespace \
    --name the-element-name \
    --rate-limit 60\60 \
    --param "the first HSM template default param" \
    --param "the second HSM template default param"The CSV file should list the WA ids, one per line. WA ids are generally in the E.164 format without a leading plus.
If you’re getting errors adding the–debugflag will print the JSON error response from the API to stderr.For WA ids that were sent to successfully will be print in green tostdout, WA ids that are invalid will print tostderrin red.
Package: wable
Wable clientA client to communicate with wable.org api.Requirementspython > 3.7pipDevelopmentClone the repositorypipinstallpoetry
poetryinstallTo install a new python packagepoetryadd[NEW_PACKAGE]To export poetry lock file torequirements.txtrunmakedepsTestsmaketestInstallationThe package is published athttps://pypi.org/project/wable/pipinstallwableUsagefromwable.clientimportWablew=Wable()# API to check if customer existsexists=w.customer_exists(phone_number=123)# return True if phone number is registered else False# more to come here
Package: wabson.chafon-rfid
Chafon RFID readerRead and write RFID tags using the popular Chafon UHF-based readers and writers. Originally
written to read race timing chips on a finish line, a range of hardware is now supported from
small desktop USB devices to long-range fixed readers, including the following,CF-RU5102 desktop UHF reader/writer(not HID version)CF-RU5106/CF-RU5112UHF integrated reader with antennaCF-RU5202 desktop UHF reader/writerCF-RU6402 fixed UHF reader (Impinj R2000, 4-port)CF-MU801/CF-MU804(Impinj R2000, 1-port or 4-port) UHF moduleCF-MU904 UHF module(own brand, 1-port)You can connect to the reader/writer via the following standard connectionsUSB (recommended)Direct serial connectionEthernet connectionThe library supports a basic set of commands to perform tag inventories, write tag EPC values
and get and set reader parameters. Helpers are provided to allow you to implement any other
documented commands, which automatically take care of constructing commands, generating and
verifying checksums and connecting to the reader/writer.See theexamplesfolder for details of how to connect, send commands and read
responses.RequirementsThis module requiresPython 3.4+but should work under any OS.For serial communication using the built-in transport class,pyserialis required. Other implementations are possible for MicroPython/CircuitPython environments.Some examples may have additional requirements, see comments in the individual files.InstallationTo install the package into your own project, usepippip install --upgrade wabson.chafon-rfidUsageExamples of how to to use the provided module are provided in theexamplesdirectory.
Package: wa-cdk-lite
Well Architected CDK LiteThis package contains the Well Architected S3 Bucket - WABucket construct.
WABucket constructs extend the Bucket construct provided by AWS CDK and
configures them to satisfy the Well Architected pillars, like
security, reliability, performance, cost-effectiveness and operational-excellence.
If you would like to use premium version which offers 50+ Well Architected constructs
for most commonly used usecases please emailinfo@cre8ivelogix.comCreate a CDK projectTo try out Well Architected CDK Lite by itself you can create a new CDK project by running the following commandscdkinitapp--languagetypescriptThis will create a bare bone CDK project.Adding WA-CDK Lite dependencyOpen CDK project in your favorite IDE, goto package.json file and add the WA-CDK-Lite dependency{"dependencies":{"@cre8ivelogix/wa-cdk-lite":"CURRENT_VERSION"}}Install DependenciesOnce package.json file is updated, you can install the dependencies by running the following commandsnpminstallUsing Well Architected CDK constructsNow that you have all the constructs available from Well Architected CDK Lite,
use them just like any other class in typescript.For example in the following code snippet we are using WaBucket from AWS-CDK-Lite packageimport{WaBucket}from"./wa-bucket";newWaBucket(this,"MyBucket",{})The Bucket created using WaBucket by default satisfies various security and compliance requirements,
checkout WaBucket class documentation for details.Building Java/.Net/Python/Javascript Distributiondockerrun-it--rm--entrypointsh-v$(pwd)/wa-cdk-lite:/wa-cdk-litejsii/superchain:1-buster-slim-node16or you can run the script docker-package.sh, when docker prompt is shown,cdwa-cdk-lite
npmrunpackageThis will cross compile the typescript construct to supported languages.Well Architected CDK Version UpdatesThe version of all CDK packages are fixed to the same version. If an
upgrade is desired, please make sure that all CDK packages are upgraded
to the same version at the same time. Different versions of CDK mixed
in the project may cause type incompatibilities.Useful commandsnpm run buildcompile typescript to jsnpm run watchwatch for changes and compilenpm run testperform the jest unit testsnpm run build-testbuilds and runs unit testsnpm run doc-gengenerate documentationnpm run prettyruns prettier on source code
Package: wacky
WackyWacca DataTable files loading + dumping libSpecifically geared towards files :created by / for UE 4.19split in.uasset+.uexppairsonly containing DataTable exportsInstallingpip install wackyCommand Line UsageUnpacking$wackyunpack[OPTIONS]UASSETUEXPThis converts the useful data insideUASSETandUEXPto a yaml (or json) file you can edit and then use to repackOptions:--json: Output json instead of yaml-o FILENAME,--output FILENAME: Output to a specific file (instead of to stdout)--help: Show a help message and exit.ModifyingJust use a text editor to change the file you've created with the previous commandRepacking$wackyrepack[OPTIONS]SRC_UASSETSRC_UEXPNEW_DATADST_UASSETDST_UEXPThis creates new modified.uassetand.uexpfiles by usingSRC_UASSETandSRC_UEXPas templates and applying the changes specified byNEW_DATAOptions:--help: Show a help message and exit.Python API>>>fromwackyimportload,dump>>>package=load(uasset=open(...,"rb"),uexp=open(...,"rb"))>>>...# Do stuff with `package`>>>dump(package,uasset=open(...,"wb"),uexp=open(...,"wb"))Folder ContentsFile / FolderDescriptionsrc/Sourcestests/unit tests, with example.uassetand.uexpfilesutils/Things worth keeping around.flake8Flake8config.gitignorelist of file patterns git ignoresCHANGELOG.mdChangelogpoetry.lockPrecise info about every dependency or sub-dependency, generated bypoetry, don't modify yourselfpyproject.tomlProjet description file, mostly managed bypoetryREADME.mdThe file you are reading right nowUE4.ksyDefinition of the .uasset + .uexp file structure usingKaitai Struct, for documentation and preservation purposes
Package: wackyurls
Installationpip install wackyurlsUsageimportwackyurlscool_url=wackyurls.new(7)TheBigAndWrathfulAnnoyedHandsomelyPeacefulInnateLibraryParametersnew(word_count=3,capitalize=True,separator='')word_countis the total number of words. Valid range is 1 to 100.capitalizewill capitalize every word if set toTrue.separatorwill add a separator between every word.CreditsBased onsentence-urlbyJabbey92.
Package: wa-cli
Wisconsin Autonomous CLIThis repository holds the WA CLI tool. This tool is expandable and is primarily used to reduce repetitive processes or implements helpful scripts to doing various tasks (like installing packages, etc.).DocumentationHomeInstallationUsage GuidePyPIGithubInstallationTo setup the WA cli, it is fairly simple. You simply need Python3 installed on your system, and then run the following command:pip3 install wa_cliDevelopingTo develop the WA cli, you can do the following.Clone the repoFirst, clone the wa_cli repo locally:gitclonegit@github.com:uwsbel/wa_cli.gitcdwa_cliInstall the wa_cli packageNote: This installs the  repository using symlinks. This means you can edit the files and test the changes without reinstalling the tool.pythonsetup.pydevelopLicensewa_cliis made available under the MIT License. For more details, seeLICENSE.SupportContactWisconsin Autonomousfor any questions or concerns regarding the contents of this repository.See AlsoStay up to date with our technical info by following ourblog.Follow us onFacebook,Instagram, andLinkedIn!
Package: wacom-profile
wacom_profileThis python script will allow you to control the modes of your Wacom Intuos Pro tablet touch ring in linux by clicking the button in the middle of the ring.Installation$ python -mpip install wacom_profileMake sure you havexsetwacominstalled in your operating system.Usagewacom_profile [-h] [-c /path/to/file.ini] [-p PROFILE] [-d]

Handle Wacom Intuos Pro 5 ring function swapping. You know, for kids.

optional arguments:
-h, --help            show this help message and exit
-c /path/to/file.ini  Configuration File. Default $HOME/.wacomProfile
-p PROFILE            Profile to execute.
-d                    Debug - Crank up the outputConfig File FormatDefault location is $HOME/.wacomProfileConfiguration is in argparse/INI format.  The only required section is[defaults]and the only required option isdevice_id.  Thisdevice_idcan be found by runninglsusband copying the ID from the output there.  See the example config.cfg file.You must also supply at least one stanza for each profile you want to create.[defaults]
device_id = XXXX:XXXXProfilesProfiles are defined in the config file in the section headers.  For example:[krita:0]
AbsWheelDown =  Button +4
AbsWheelUp = Button +5
Button 2 = key +ctrl +shift +z
Button 8 = key +ctrl +z
Button 9 = key +ctrlThis section header defines the actions that will be taken when-p kritais passed and the LED is in position 0 (upper-left corner).LED Positions:0 - Upper-left
1 - Upper-right
2 - Lower-right
3 - Lower-leftButtons:Button 2 - Upper top button
Button 3 - Middle top Button
Button 8 - Lower top Button

Button 9 -  Upper bottom button
Button 10 - Middle bottom button
Button 11 - Lower bottom buttonTouchRing Actions:AbsWheelUp - Scroll Up
AbsWheelDown - Scroll DownYou don't have to define all LED positions.  No action will be taken if you select a mode that isn't defined.Valid options in each section are either buttons or touchring actions.  If you define a blank action (eg, "button 1 ="), that item is reset to tablet defaults.See the example config.cfg for a working example.If no profile is provided on the command line with -p, the script will look for a profile called "defaults".Just TurribleUnpredictable results if using multiple tablets.  Do people even do that?USB Stuff is mostly untested in most situations.  It worked once for me, so it might work for you.  Submit a bug if not.Only works on Linux.Useslsusbandsysfsto get LED status.  Anyone willing to help port over to pyusb, if possible, would be appreciated.
Package: wacpy
wacpyUnofficial WhatsApp Cloud API Wrapper(WIP)📚 Aboutwacpyaims to be a complete python wrapper for the WhatsApp Cloud API.⚙ UsageCurrently, wacpy is only providing WhatsApp Cloud API objects.The 2 main objects are:📃 Message: (wacpy.types.message.Message)The Message object is used to craft messages.🔔 Notification: (wacpy.types.notification.Notification)The Notification object is the object that gets sent to your webhook.Images taken fromOfficial WhatsApp Cloud API RefrenceAll other sub-objects exist under this 2 types.🖥 ExamplesA simple message:fromwacpy.types.messageimportMessage,message# You can also import `message` from `wacpy.types`Message(to='{{WHATSAPP_PHONE_NUMBER}}',text=message.Text(body="This is a simple message!"))An Image:fromwacpy.typesimportMessage,message# You can also import `message` from `wacpy.types`Message(to='{{WHATSAPP_PHONE_NUMBER}}',type='image',image=message.Media(link='https://i.imgur.com/Zf5eagv.png',caption='Some cute cats'))Interactive Button Listfromwacpy.typesimportMessage,message# You can also import `message` from `wacpy.types`Message(to='{{WHATSAPP_PHONE_NUMBER}}',type='interactive',interactive=message.Interactive(type='list',action=message.interactive.Action(button='List',sections=[message.interactive.action.Section(title='First Section',rows=[message.interactive.action.section.Row(id='first_row',title='First Row',description='This is the first row description',),message.interactive.action.section.Row(id='second_row',title='Second Row',description='This is the second row description',)]),message.interactive.action.Section(title='Second Section',rows=[message.interactive.action.section.Row(id='first_row',title='First Row',description='This is the first row description',),message.interactive.action.section.Row(id='second_row',title='Second Row',description='This is the second row description',)])]),body=message.interactive.Body('This is the body text')))Click here to see more examples(Soon!)