Saravanan666/pypi-org huggingface dataset:
Package: wwl
WWL PackageInstallationTo installwwl, run the following:$pipinstallcythonnumpy
$pipinstallwwlUsageWWL can be used to compute the pairwise kernel matrix between a list of Graphs.
The kernel functionwwltakes as input a list of igraphGraphobjects. It can also take their node features (if they are continuously attributed), the number of iterations for the embedding scheme,
the value for gamma in the Laplacian kernel, and a flag for sinkhorn approximations.fromwwlimportwwl# load the graphsgraphs=[ig.read(fname)forfnameingraph_filenames]# load node features for continuous graphsnode_features=np.load(path_to_node_features)# compute the kernelkernel_matrix=wwl(graphs,node_features=node_features,num_iterations=4)# use in SVMfromsklearn.svmimportSVCtrain_index,test_index=np.load(train_index_path),np.load(test_index_path)y=np.load(path_to_labels)K_train=kernel_matrix[train_index][:,train_index]K_test=kernel_matrix[test_index][:,train_index]svm=SVC(kernel='precomputed')# For a Krein SVM, please refer to krein.pysvm.fit(K_train)y_predict=svm.predict(K_test)Please seeutilities.wwl_custom_grid_search_cvfor a custom crossvalidation to cross-validate the number of iterations, gammas in the Laplacian kernel, and other parameters for the SVM.
Package: wwo-hist
WorldWeatherOnline historical weather data API wrapperThis package is used to retrieve and transform historical weather data fromwww.worldweatheronline.cominto pandas dataframe and csv.You can get API key for free (free trial 500 requests/key/day for 60 days, as of 30-May-2019).example API explorer:https://www.worldweatheronline.com/developer/premium-api-explorer.aspxInput: api_key, location_list, start_date, end_date, frequencyOutput: location_name.csvOutput column names: date_time, maxtempC, mintempC, totalSnow_cm, sunHour, uvIndex, uvIndex, moon_illumination, moonrise, moonset, sunrise, sunset, DewPointC, FeelsLikeC, HeatIndexC, WindChillC, WindGustKmph, cloudcover, humidity, precipMM, pressure, tempC, visibility, winddirDegree, windspeedKmphInstall the package:pip install wwo-histImport packagefromwwo_histimportretrieve_hist_dataSet working directory to store output csv file(s)importosos.chdir(".\YOUR_PATH")Example codefrequency=3start_date='11-DEC-2018'end_date='11-MAR-2019'api_key='YOUR_API_KEY'location_list=['singapore','california']hist_weather_data=retrieve_hist_data(api_key,location_list,start_date,end_date,frequency,location_label=False,export_csv=True,store_df=True)Parameters:api_key:string(Premium/ free trial) API key fromhttps://www.worldweatheronline.com/developer/api/location_list:list of stringUS Zipcode, UK Postcode, Canada Postalcode, IP address, Latitude/Longitude (decimal degree) or city namestart_date:stringPreferred date format: 'dd-mmm-yyyy'end_date:stringPreferred date format: 'dd-mmm-yyyy'frequency:integer1, 3, 6, 12, 241 hourly, 3 hourly, 6 hourly, 12 hourly (day/night) or 24 hourly (day average)location_label:bool, default = FalseIf True, all column names will have city name as prefix.export_csv:bool, default = TrueIf False, no csv file will be exported to current directory.store_df:bool, default = FalseIf True, retrieved dataframe(s) will be stored as list in the work space.Console viewOutput file
Package: wworks
wworksa light multiprocessing/multithreading work dispatcher for python.wworks (Wrapped Works) is a work manager that uses both ProcessPoolExecutor and ThreadPoolExecutor to dispatch work by workload over processes and/or threads.InstallationCheck your python version (must be >= 3.7)>python--version
Python3.8.12Install wworks package>pipinstallwworksUsage examplesWorkManager.work(work_name,work_to_do,work_data)Use WorkManager.workto make multithreading for given function.fromwworks.swworksimportWorkManagerdefmultiply(x,y):returnx*y# Build 10 tuples from (0, 0) to (9, 9)work_data=[(x,x)forxinrange(10)]results=WorkManager().work("multiply",multiply,work_data)for(task_name,task_data,task_result)inresults:print(f"{task_name}: multiply{task_data}=>{task_result}")Task #0 : multiply(0, 0) => 0
Task #1 : multiply(1, 1) => 1
Task #2 : multiply(2, 2) => 4
Task #3 : multiply(3, 3) => 9
Task #4 : multiply(4, 4) => 16
Task #5 : multiply(5, 5) => 25
Task #6 : multiply(6, 6) => 36
Task #7 : multiply(7, 7) => 49
Task #8 : multiply(8, 8) => 64
Task #9 : multiply(9, 9) => 81In this case, WorkManager create 10 tasks (threads) to process.WorkManager.chunks(lst,n)Use WorkManager.chunksto yield n-sized chunks from lst.fromwworks.swworksimportWorkManager# Build 10 tuples from (0, 0) to (9, 9)work_data=[(x,x)forxinrange(10)]results=WorkManager().chunks(work_data,4)fori,chunkinenumerate(results):print(f"Chunk #{i}")print(chunk)Chunk #0
[(0, 0), (1, 1), (2, 2), (3, 3)]
Chunk #1
[(4, 4), (5, 5), (6, 6), (7, 7)]
Chunk #2
[(8, 8), (9, 9)]In this case, WorkManager yield 4-chunks from all provided tuples.WorkManager.dispatch(work_to_do,work_data,workload=4)Use WorkManager.dispatchto make chunked-by-process, multithreading for given function.fromwworks.swworksimportWorkManagerdefmultiply(x,y):returnx*y# Build 10 tuples from (0, 0) to (9, 9)work_data=[(x,x)forxinrange(10)]results=WorkManager().dispatch(multiply,work_data)for(worker_name,worker_result)inresults:print(worker_name)for(task_name,task_data,task_result)inworker_result:print(f" -{task_name}: multiply{task_data}=>{task_result}")Worker #0
 - Task #0 : multiply(0, 0) => 0
 - Task #1 : multiply(1, 1) => 1
 - Task #2 : multiply(2, 2) => 4
 - Task #3 : multiply(3, 3) => 9
Worker #1
 - Task #0 : multiply(4, 4) => 16
 - Task #1 : multiply(5, 5) => 25
 - Task #2 : multiply(6, 6) => 36
 - Task #3 : multiply(7, 7) => 49
Worker #2
 - Task #0 : multiply(8, 8) => 64
 - Task #1 : multiply(9, 9) => 81In this case, WorkManager create 3 workers (processes) and give each of them chunked work data respectivelly 4, 4 and 2 tasks to process.Release History0.1.0First version of wworks packageMetaMehdi LAKBIRDistributed under the MIT license. SeeLICENSEfor more information.https://https://github.com/LMKA/wworksContributingFork it (https://github.com/LMKA/wworks/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: wwpdb.utils.config
OneDep Configuration Utility LibraryIntroductionThis repository povides the tools and access to OneDep configuration environments.InstallationDownload the library source software from the project repository:gitclone--recurse-submoduleshttps://github.com/wwpdb/py-wwpdb_utils_config.gitOptionally, run test suite using the Tox test runnerpythonsetup.pytestorsimplyrun

tox

Installationisviatheprogram[pip](https://pypi.python.org/pypi/pip).```bash
pipinstallwwpdb.utils.config

orfromthelocalrepository:

pipinstall.
Package: wwr-api
准备企业微信机器人 Hook 地址，形如:https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0azd012d-efs9-4add-bcw9-10fb01db70ca(此条已脱敏)Python3 环境安装方式shell script pip3 install wwr_api使用方式fromwwr_apiimportWorkWechatRobotAPIapi=WorkWechatRobotAPI("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=0azd012d-efs9-4add-bcw9-10fb01db70ca")api.send_markdown("**`Hello World!`**")api.send_pic("https://github.com/Thoxvi/one-click-man/blob/master/demo.png?raw=true")api.send_pic("/home/thoxvi/demo.png")建议/Bug请提 Issue。
Package: wws
# workspace-warp-sync
A simple utility to synchronize a local workspace with remote ones## Commandslsadd   –src, –dst, –aliasrm    –src –dst –aliasagent –start, –stop, –configure, –reload, –statussync  –up/down, –alias### Development
Configure visual studio code:
* Install poetry on your system.
* Install vscode with python extensions
* Run poetry update
* Run poetry shell
* Run code .
* select into vscode the python interpreter.
Package: wwshc
#WWSHC
This is an unofficial module to control WWS (https://wwschool.de; Also other Services using WebWeaver Software) via python code.###Changes in 0.0.9:Added eventsystem (wws.events)Updated selenium to 4.1.0Started updating syntax of selenium find_element functionsCorrected some IDs that have changed in WWS###Example:
To see code examples, visit wwshc.jojojux.de/examples/Requires: selenium>=3.141.0, win10toast>=0.9, pydatfile>=0.0.3
Package: wwt-kernel-data-relay
wwt_kernel_data_relayis aJupyter server extensionthat enablesJupyter kernelsto publish some of their data files to the Web; that
is, to request that the Jupyter HTTP server make them accessible at a
predictable URL. This functionality is used bypywwt, theWorldWide
TelescopePython library, to expose kernel-side data assets for visualization
inside the WWTresearch app.For more information, including installation instructions, please visitthe
project homepage.
Package: wwtp-configuration
A class hierarchy designed to represent a wastewater treatment plant’s configuration.Useful Commandspip install-e.This will install your package in editable mode.pytest wwtp_configuration/tests--cov=wwtp_configuration--cov-report=htmlProduces an HTML test coverage report for the entire project which can
be found athtmlcov/index.html.docs/make htmlThis will generate an HTML version of the documentation which can be found
at_build/html/index.html.flake8 wwtp_configuration--count--verbose--show-source--statisticsThis will lint the code and share all the style errors it finds.black wwtp_configurationThis will reformat the code according to strict style guidelines.Legal DocumentsLICENSECONTRIBUTING
Package: wwu
WWUDo you have limited storage space and a bunch of boxes to store? wwu tells you which way up will be best.Boxes have 6 permutations in terms of storing them and currently wwu provides an indexed value of a permutation so you will only receive values in the range of 0 - 5.ExamplefromwwuimportBoxb=Box(10,10,20)# Create a box with 10 x 10 x 20 dimensions.b.wwu(10,10,20)# Find the optimal permutation in storage space of 10 x 10 x 20>>>0Installationpip install wwuTestspytest========================================= test session starts ==========================================
platform linux -- Python 3.7.4, pytest-5.1.2, py-1.8.0, pluggy-0.12.0
rootdir: /var/home/Um9i/Documents/wwu
collected 2 items                                                                                      

tests/test_wwu.py ..                                                                             [100%]

========================================== 2 passed in 0.01s ===========================================
Package: www-authenticate
Parsing WWW-Authenticate headers is difficult. Let this tiny library do all the
hard work for you.What’s so difficult?The header contains a set of comma-separated challenges, but the parameters for
each challenge are also comma-separated. Some challenges in the wild don’t have
parameters, which violates the spec. TheNegotiatechallenge eschews the
required name-value pairs and has a single string as its parameter.Some servers may offer more challenges than you were expecting, but you’d still
like to notice the one you care about.UsageIt’s really easy:import www_authenticate

parsed = www_authenticate.parse(response.headers['WWW-Authenticate'])

if 'Basic' in parsed:
    realm = parsed['Basic']['realm']
if 'Negotiate' in parsed:
    challenge = parsed['Negotiate']The returned object is acollections.OrderedDictwith authentication scheme
names as keys. The values are either dictionaries, a single string, orNoneif there are no parameters.InstallationThis package is in PyPI. Install with:$ pip install www-authenticateThere are no external dependencies.
Package: wwwclient
WWWClient is a web browsing, scraping and automation client and library that can
easily be used using an interpreter (like ‘ipython’) or embedded within a
program. WWWClient offers both a high-level API and fine-grain control over
low-level HTTP and web specific elements, as well as a powerful scraping API
that lets you manipulate your HTML document using string, list and tree
operations at the same time.
Package: wwwgetpy
This is a module done because of need.Take into account that you will be able to use only if:Your OS is WindowsWSL is working on your systemThis module downloads a HTTP folder system. It downloads each file copying the structure. It is similar to wget but:It is done in paralelIt doesn't create weird artifactsIf you want to know more about what I'm talking about visit the repository:https://github.com/sacamar2/wwwget_py
Package: wwwml
wwwmlWhat's wrong with my linux? A LLM based tool to diagnose linux problems.Installpipinstall-UwwwmlSet environment variable in your~/.bashrc,~/.zshrc, etc.exportOPENAI_API_KEY=sk~XXXXXXXXOr, to use Azure OpenAI endpoint, set following environment variable:exportOPENAI_API_KEY=XXXXXXXXXXexportOPENAI_API_BASE=https://XXXXXX.openai.azure.com/exportOPENAI_API_TYPE=azureexportOPENAI_API_VERSION=2023-07-01-preview# Use a deploymetn of gpt-3.5-turbo or gpt-4 with version 0613 or laterexportWWWML_DEPLOYMENT=gpt-35-turbo-16kUsagepython-mwwwml# orwwwmlDependencyThis tool currently call following command to get system informationsysstatiostatmpstatvmstat
Package: www-robot
www_robotA WWW Robot library, made for Python.Installationpipinstallwww_robotUsageimportwww_robotContributingPlease feel free to fork and contribute!LicenseThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Package: wxai-langchain
IBM watsonx.ai LangChain interfaceThis is a Python library to add a LangChain interface to IBM watsonx.ai. This is not an IBM project and is not supported by IBM.GitHub repo:https://github.com/rampadc/wxai-langchainpipinstallwxai-langchain==0.0.4v0.0.4Version 0.0.4 is a breaking change and uses ibm-watson-machine-learning SDK to use the syntatic sugars that comes with the SDK.pipinstall-e'.[dev]'Examples:Create a new.envfileexamples/0.0.4with contentsAPI_KEY=
PROJECT_ID=Run the examples withpythonexamples/0.0.4/<example-file>.pyv0.0.2Version 0.0.2 does not use ibm-watson-machine-learning SDK.To install,pipinstallwxai-langchain==0.0.2To use, see the examples folder. This LangChain interface is not compatible with IBM's GenAI GenerateParams schema object.
Always use a JSON for the model's parameters as shown in the examples.
Package: wxalerts
wxalertsSimple monke code that scans a state every 30 seconds for weather alerts.This will be updated in the future to be cleaner and have more features.fromwxalertsimportwxalerts# scan for a statewxalerts.start(state="OR")Optionsrefresh         :   bool, tells the class if it should
                    redo the scan

                    default value: True

refresh_time    :   int, tells the class how many seconds
                    it should wait before refreshing
                    (only works if refresh is True)

                    default value: 30

refresh_count   :   int, tells the class how many times to
                    refresh. Set to 0 if you want infinite
                    (only works if refresh is True)

                    default value: 5

state           :   str, tells the class what state to scan
                    for (1), initials only, IL, OR, FL, and
                    so on

                    default value: None
Package: wxAnyThread
wxAnyThread:  allow methods on wxPython objects to be called from any threadIn wxPython, methods that alter the state of the GUI are only safe to call fromthe thread running the main event loop.  Other threads must typically postevents to the GUI thread instead of invoking methods directly.While there are builtin shortcuts for this (e.g. wx.CallAfter) they do notcapture the full semantics of a function call.  This module provides an easyway to invoke methods from any thread *transparently*, propagating returnvalues and exceptions back to the calling thread.The main interface is a decorator named "anythread", which can be appliedto methods to make them safe to call from any thread, like so:class MyFrame(wx.Frame):@anythreaddef GetSomeData():dlg = MyQueryDialog(self,"Enter some data")if dlg.ShowModal() == wx.ID_OK:resp = dlg.GetResponse()return int(resp)else:raise NoDataEnteredError()The GetSomeData method can now be directly invoked from any thread.The calling thread will block while the main GUI thread shows the dialog,and will then receive a return value or exception as appropriate.
Package: wxbot
wxbotWXBot: A conversation robot base on Tencent's Webweixinversion: v1.2.1本项目托管于Github上，地址：https://github.com/ileapy/wxbotv1.2.1 新增功能1. 恢复登录功能
2. 解决获得的信息中文乱码的问题
3. 优化系统目录结构├── log                 // 运行日志
├── plugins             // 插件
├── wxbot               // 项目核心文件
|   ├── wxconf.py       // 项目配置文件 
|   ├── wxcore.py       // 项目运行文件  
|   ├── wxmail.py       // 邮件模块  
|   ├── wxmessage.py    // 项目运行文件  
|   ├── wxparse.py      // 程序逻辑处理
|   ├── wxserver.py     // 用于socket服务
|   ├── wxsession.py    // 处理wx登录信息
├── wxbotdb             // 数据文件
|   ├── dbconnect.py    // sqlite 数据库连接文件
├── setup.py            // 程序安装文件
├── README.md           // README运行环境要求Python3.xsetuptoolsrequestscertifiapscheduler安装方法1. 下载项目文件后解压
python setup.py install
2. 使用pip安装
pip install wxbot使用说明[wxbot]
    启动服务：wxbot
    选项：
        -v, --version    显示版本信息
        -h, --help       帮助信息
        -r, --restart    重新登录
        -s, --stop       停止服务
[wx命令]
    更新：
        update group     更新群组
        update buddy     更新联系人
    查询：
        list group       查询群组
        list buddy       查询联系人
    发送：
        send group xxx xxx   发送群组消息
        send buddy xxx xxx   发送好友消息
Package: wxbtool
wxbtoolA toolkit for WeatherBench based on PyTorchInstallpipinstallwxbtoolCheat sheetStart a data set server for 3-days prediction of t850 by Weyn's solutionwxbdserve-mwxbtool.specs.res5_625.t850weyn-sSetting3dStart a training process for a UNet model following Weyn's solutionwxbtrain-mwxbtool.zoo.res5_625.unet.t850d3sm_weynStart a testing process for a UNet model following Weyn's solutionwxbtest-mwxbtool.zoo.res5_625.unet.t850d3sm_weynHow to usequick startunderstanding the physical process by plottingdevelop your own neural modeltry a toy physical modelexplore the possibility to combine neural and physical model togetherHow to releasepython3setup.pysdistbdist_wheel
python3-mtwineuploaddist/*

gittagva.b.cmaster
gitpushoriginva.b.cContributorsMingli Yuan (Mountain)Ren Lu
Package: wxc
wxcwxc(pronounced "which") allows you to inspect source code in your Python
environment from the command line. It is based on theinspectmodule from the
standard library.Installation$python-mpipinstallwxcUsageGet the version number of a package in your current environmentLocate the file from which a Python package is importedLocate a specific method's source codeView the source code of function directly from the terminal stdoutwxctries to be helpful when you mistypeFor more, run$wxc--helpKnown limitationswxcis not currently able to retrieve the source of compiled code binded into
Python. It should however correctly point to the compiled file that an object is
imported from.wxcshould never be installed in isolation (for instance viapipx) since it would completely defeat
its purpose.Noteswxcis fully tested on macOS, Linux, and partially on Windowsthis project was formerly named "whych" and renamed to avoid confusion with the
pypi-available package of the same name.
Package: wxcadm
wxcadmPython Library for Webex Calling AdministrationPurposewxcadm is a Python 3 library to simplify the API calls to Webex in order to manage and report on users of Webex Calling.
Although the primary focus is Webex Calling, many of the other Webex admin functions are included. This library is not
meant to be an interface to the Meetings and Messaging capabilities of Webex....there are plenty of other modules that
provide that.Installationwxcadmis available as aPIP Package$ python -m pip install wxcadmQuickstartBy creating a Webex instance with a valid API Access Token, the module will pull the Webex Organization information as
well as all the People within the Organization. The Org instance will contain all People, whether they have the
Webex Calling service or not. An Org methodget_webex_people()makes it easy to get only the People that have
Webex Calling.You can obtain a 12-hour access token by logging intohttps://developer.webex.comand visiting theGetting Startedpage.Once you have the access token, the following will initialize the API connection and pull dataimportwxcadmaccess_token="Your API Access Token"webex=wxcadm.Webex(access_token)Since most administrators only have access to a single Webex Organization, you can access that Organization with theorgattribute. If the administrator has access to more than one Organization, they can be accessed using theorgsattribute, which is a list of the organizations that can be managed. See the "Regarding Multiple
Organizations" section below for further information.You can see all the attributes withvars(webex.org)Note that, by default, all the People are pulled when the Org is initialized. For large organizations, this may take
a while, but then all the People are stored as Person objects.To iterate over the list of people, simply loop through thepeopleattribute of the Org. For example:forpersoninwebex.org.people:# Print all of the attributes of the Personprint(vars(person))# Or access the attributes directlyemail=person.emailDocumentationwxcadmdocumentation is housed atRead The Docs.
Package: wxcast
wxcastA CLI utility for retrieving weather information.OverviewProvides weather information in terminal:Weather text information from NWS API.METAR info from NWS API.Seven day forecasts based on location using geopy and NWS API.Installationpip install wxcastRequirementscertifiClick>=6.0geopyrequestsmetarTest Requirementsflake8pytestpytest-covvcrpyDocsIssues/EnhancementsPlease submit issues and requests toGithub.ContributingContributions towxcastare welcome and encouraged. SeeCONTRIBUTINGfor info on getting started.LicenseCopyright (c) 2021 Sean Marlow.Distributed under the terms of MIT license, seeLICENSEfor details.v2.0.0 (2021-03-25)Fix metar functions.Add temp unit option to metar and conditions.Migrate to GitHub actions.Use F strings.New route, get stations for WFO.New route, get station info.New route, get WFO info.New route, get conditions (alias to decoded metar).Consolidate and update documentation.v1.4.0 (2018-09-18)Move docs to GitHub Pages.Add endpoint to retrieve the list of WFOs.Migrate license back to MIT.Remove f'strings and use ordered dict to support py3.4 and 3.5.v1.3.1 (2018-06-15)Fix tag location.v1.3.0 (2018-06-15)Switch to ArcGIS for geocoding.Cleanup exception messages.Fix metar and products API.v1.2.3 (2018-06-04)Fix tests for geopy changes.Make readme gif url absolute for use in pypi.v1.2.2 (2018-06-04)Add long description content type to setup.v1.2.1 (2018-02-19)Convert docs to md for PyPI compatibility.v1.2.0 (2018-02-18)Remove asserts.Account for dictionary values in decoded metar.v1.1.0 (2017-12-01)Update readme.Cleanup exception handling.Add unit and integration tests with vcrpy.Cleanup flake8 warnings.Add config for travis integration testing.v1.0.6 (2017-09-24)Remove docs directory.Fix manifest.v1.0.5 (2017-09-24)v1.0.4 (2017-09-24)Fix license trove classifier.v1.0.3 (2017-09-24)Remove universal flag from setup config.v1.0.2 (2017-09-24)Fix doc extensions in setup.v1.0.1 (2017-09-24)Fix manifest.v1.0.0 (2017-09-24)Cleanup flake8 warnings.Remove config in favor of geopy to get location for seven day
forecast.Migrate to f'{strings}'Migrate to adoc from rst.Cleanup code.Update readme and docs.v0.3.0 (2017-08-09)Remove cert and use certifi for NWS API.Convert elevation to feet.v0.2.1 (2017-08-09)Attempt to fix cert.v0.2.0 (2017-08-08)Attempt to fix cert.v0.1.0 (2017-01-14)First release on PyPI.