Saravanan666/pypi-org huggingface dataset:
Package: wxcloudsdk
This package is maintained by Typing Catliuchunyao0321@gmail.com.This package is useful for WeChat miniprogram development, especially cloud apis.API usagepip install wxcloudsdkdemo.pyfrom wxcloudsdk import file_manager

file_manager.upload_file(a, b, c...)get_md5: (title)Return a md5 code by passing in a string. Useful for creating file names with strings instead of Chinese names.upload_file: (token, env_id, cloud_path, cloud_dir, local_path)Upload a file to the specified path on wx cloud storage.rebuild: (file_path, env_id, token, collection_name)Refresh a collection by removing and rebuilding.NOTICEthat you must upload the data file to the cloud storage first. The file path must be a cloud file path, not local.Modify api urls by assignment when WeChat team update themDefault:UPLOAD_API = "https://api.weixin.qq.com/tcb/uploadfile"
COLLECTION_DELETE_API = "https://api.weixin.qq.com/tcb/databasecollectiondelete"
COLLECTION_ADD_API = "https://api.weixin.qq.com/tcb/databasecollectionadd"
COLLECTION_MIGRATE_API = "https://api.weixin.qq.com/tcb/databasemigrateimport"
Package: wxconfig
wxconfigA library for managing application settings stored in a yaml file. Provides a dynamically generated wxpython dialog box for enabling the user to modify settings. Supports settings metadata including setting label and help text which can be displayed in the dynamically generated dialog.UsageDefine your application settings in a yaml file:[config.yaml]app_function_1:setting_theme_1:setting_1:A text valuesetting_2:Truesetting_3:22.2setting_theme_2:setting_1:A text valuesetting_2:Truesetting_3:22.2If you require your settings dialog to contain nicely formatted labels and tooltips, define these in a separate yaml file:[configmeta.yaml]app_function_1:setting_theme_1:setting_1:__label:Setting 1__helptext:This is the tooltip for setting 1setting_2:__label:Setting 2__helptext:This is the tooltip for setting 2In your application, load your config. Also load your metadata if required:importwxconfigascfgcfg.Config().load("config.yaml",meta="configmeta.yaml")You can access your applications config from anywhere in your application. Config is a singleton, and retains its state throughout the applications instance. Config values can be set and retrieved using dot notation to represent their path as defined in the config file:importwxconfigascfg# Get a config valueconf_val=cfg.Config().get('app_function_1.setting_theme_1.setting_1')# Set a congig valuecfg.Config().set('app_function_1.setting_theme_1.setting_1','A new text value')Any altered settings can be saved back to the config file:importwxconfigascfgcfg.Config().save()Your application can open a setting dialog box that allows the user to change the applications settings. Any settings that you do not want the user to change can be excluded:importwxconfigascfg# Display the dialog. Exclude all settings under setting_theme_2settings_dialog=cfg.SettingsDialog(parent=None,exclude=['setting_theme_2'])res=settings_dialog.ShowModal()If the user cancels the dialog, any changed settings are discarded, and the return value is wx.ID_CANCEL. If the user selects update, the settings are saved, and the return value is wx.ID_OK. All changed settings can be accessed through the setting dialogs changed_settings property, which contains a dict of settings paths and new values:importwximportwxconfigascfg# Display the dialog. Exclude all settings under setting_theme_2settings_dialog=cfg.SettingsDialog(parent=None,exclude=['setting_theme_2'])res=settings_dialog.ShowModal()ifres==wx.ID_OK:forchanged_settinginsettings_dialog.changed_settings:# Application logic to handle changed config values goes here# ...print(f"Setting{changed_setting}has changed to{settings_dialog.changed_settings[changed_setting]}")If you would like the settings dialogs position, size and style to be restored the next time the user opens it, then this can be stored in the config file. Create a config section named settings_window with the initial values. These will be changed if the user repositions or resizes the settings dialog. Keep the style value as is or change to a different wxpython window style:[config.yaml]settings_window:x:354y:299width:727height:419style:524352
Package: wxc_sdk
A simple SDK to work withWebex APIs, special focus on Webex Calling specific API
endpoints.This is how easy it is to use the SDK. The example code list all calling enabled users within the org.fromwxc_sdkimportWebexSimpleApiapi=WebexSimpleApi()# if a user is enabled for calling, then the location_id attribute is setcalling_users=[userforuserinapi.people.list(calling_data=True)ifuser.location_id]print(f'{len(calling_users)}users:')print('\n'.join(user.display_nameforuserincalling_users))InstallationInstalling and upgrading wxc_sdk is easy:Install via PIP$pipinstallwxc-sdkUpgrade to the latest version$pipinstallwxc-sdk--upgradeDocumentationDocumentation is available at:http://wxc-sdk.readthedocs.ioExamplesSample scripts are available in theexamplesfolder.
Package: wxdat
wxdatA general purpose weather data recorder & explorer.While the primary purpose of this library is to record weather data, it can also be
used as a framework for collecting weather information in other apps.InstallationInstall the published package using pip:pip3installwxdatThis project usespoetryto manage dependencies and a local virtual environment.  To
get started, clone the repository and install the dependencies with the following:poetryinstallUsageRun the module and tell it which config file to use.python3-mwxdat--configwxdat.yamlIf you are usingpoetryto manage the virtual environment, use the following:poetryrunpython-mwxdat--configwxdat.yamlConfigurationThe configuration file is a YAML document with a list of stations to export.  See the
included default file for more details.All stations have the following configuration values:name - must be uniquetype - the support station typeSupported StationsEventually, I'd like to add local stations, not just online sources.  Please see
the example configuration file for details on each provider.AccuWeatherAmbient Weather NetworkOpenWeatherMapNational Weather Service (NOAA)Weather UndergroundUnit Conversionwxdatalso includes a limited set of conversion helpers for working with units.  In
general, the pattern for using them is:fromwxdatimportunits# convert 100.0 from celsius to fahrenheittemp=units.degC(100).degfContributingTo submit a new issue, please visit theIssuespage.If you are unsure where to start, create a post in theDiscussionsarea.Additionally,Pull Requestsare welcome.
Package: wx_data_JQ
This program reads weather data in .txt files:
Output file is with extension .outColumn 1 is data file name
Column 2 is total no of record according to condition
Column 3 is no of records above average maximum in single file
Column 4 is no of records below average minimum in single file
Column 5 is no of records in a single file which are below average minimum across all files read.
Column 6 is is no of records in a single file which are above average maximum across all files read.Last two lines in the output file:
average min temperature across all files
average max temperature across all files
Package: wxee
What is wxee?wxeewas built to make processing gridded, mesoscale time series data quick
and easy by integrating the data catalog and processing power ofGoogle Earth Enginewith the
flexibility ofxarray, with no complicated setup required. To accomplish this, wxee implements
convenient methods for data processing, aggregation, downloading, and ingestion.wxeecan be found in theEarth Engine Developer Resources!FeaturesTime series image collections toxarrayorGeoTIFFin one line of codeClimatological anomaliesand temporalaggregation,interpolation,smoothing, andgap-fillingin Earth EngineColor composite plotsfromxarraydatasetsParallel processing for fast downloadsTo see some of the capabilities of wxee and try it yourself, check out the interactive notebookshere!InstallPippipinstallwxeeCondacondainstall-cconda-forgewxeeFrom Sourcegitclonehttps://github.com/aazuspan/wxeecdwxeemakeinstallQuickstartSetupOnce you have access to Google Earth Engine, just import and initializeeeandwxee.importeeimportwxeewxee.Initialize()Download ImagesDownload and conversion methods are extended toee.Imageandee.ImageCollectionusing thewxaccessor. Justimport wxeeand use thewxaccessor.xarrayee.ImageCollection("IDAHO_EPSCOR/GRIDMET").wx.to_xarray()GeoTIFFee.ImageCollection("IDAHO_EPSCOR/GRIDMET").wx.to_tif()Create a Time SeriesAdditional methods for processing image collections in the time dimension are available through theTimeSeriessubclass.
ATimeSeriescan be created from an existingee.ImageCollection…col=ee.ImageCollection("IDAHO_EPSCOR/GRIDMET")ts=col.wx.to_time_series()Or instantiated directly just like you would anee.ImageCollection!ts=wxee.TimeSeries("IDAHO_EPSCOR/GRIDMET")Aggregate Daily DataMany weather datasets are in daily or hourly resolution. These can be aggregated to coarser resolutions using theaggregate_timemethod of theTimeSeriesclass.ts=wxee.TimeSeries("IDAHO_EPSCOR/GRIDMET")monthly_max=ts.aggregate_time(frequency="month",reducer=ee.Reducer.max())Calculate Climatological MeansLong-term climatological means can be calculated using theclimatology_meanmethod of theTimeSeriesclass.ts=wxee.TimeSeries("IDAHO_EPSCOR/GRIDMET")mean_clim=ts.climatology_mean(frequency="month")ContributeBugs or feature requests are always appreciated! They can be submittedhere.Code contributions are also welcome! Please open anissueto discuss implementation,
then follow the steps below. Developer setup instructions can be foundin the docs.
Package: wxflow
Tools for Weather WorkflowsCommon set of tools used in weather workflowsInstallation$>pipinstallwxflowRunning python tests:Simple instructions to enable executing pytests manually# Create a python virtual environment and step into it$>cdwxflow
$>python3-mvenvvenv
$>sourcevenv/bin/activate# Install `wxflow` with the developer requirements(venv)$>pipinstall.[dev]# NOTE: on a macOS, may need to specify ."[dev]" if using zsh# Run pytests(venv)$>pytest-vDocumentationDocumentation is automatically generated and is availablehere.DisclaimerThe United States Department of Commerce (DOC) GitHub project code is provided
on an "as is" basis and the user assumes responsibility for its use. DOC has
relinquished control of the information and no longer has responsibility to
protect the integrity, confidentiality, or availability of the information. Any
claims against the Department of Commerce stemming from the use of its GitHub
project will be governed by all applicable Federal law. Any reference to
specific commercial products, processes, or services by service mark,
trademark, manufacturer, or otherwise, does not constitute or imply their
endorsement, recommendation or favoring by the Department of Commerce. The
Department of Commerce seal and logo, or the seal and logo of a DOC bureau,
shall not be used in any manner to imply endorsement of any commercial product
or activity by DOC or the United States Government.
Package: wxgbot
wxgbot用于发送企业微信机器人消息，如文本、图片、文件
是对微信机器人的简单封装，其他可参考腾讯企业微信官网说明https://work.weixin.qq.com/help?person_id=1&doc_id=13376&helpType=undefined安装可以直接pip安装pip install wxgbot举例from wxgbot.send_msg import *
#test_bot是群机器人的key
test_bot = r"**********************************"
coment = r"牛逼哄哄带闪电！"
#发送文本消息
send_text(text = coment,bot = test_bot)      #bot是群机器人的key
#发送其他消息
send_markdown(text,bot)        #text是markdown语法的，
send_img(file_path,bot)        #file_path是文件路径
send_file(file_path,bot)
Package: wxgen
wxgenis a command-line tool for generating arbitrarily long weather time-series. The generator
producesgriddedoutput formultiple variables(e.g. temperature, precipitation) and aims to
have realistic covariances in space, time, and across variables.The generator uses a database of past weather model simulations (e.g 15 day forecasts) and combines the segments
stochastically. Longer trajectories are created by concatenating the shorter trajectories from the database.
This is done by matching the end state of one trajectory with the beginning state of another. The
matching is done using a specified metric, such as the sum of the square differences between states
(with some kind of normalization strategy as each atmospheric variable has different variances).InstallationUbuntuInstall the required pacakges:sudoapt-getupdatesudoapt-getinstallnetcdf-binlibnetcdf-devlibhdf5-serial-devsudoapt-getinstallpython-setuptoolspython-pipsudoapt-getinstallpython-numpypython-scipypython-matplotlibpython-mpltoolkits.basemapThen installwxgenby executing the following inside the extracted folder:sudopipinstall.This will create the executable/usr/local/bin/wxgen. If/user/local/binis not in your PATH
environment variable, then add it (i.e addexportPATH=/usr/local/bin/:$PATHto~/.bashrc).
If you do not have sudo privileges do:pipinstall.This will create the executable~/.local/bin/wxgen. Add the folder to your PATH environment
variable (if necessary).If you are working on the code, the -e flag ensures that you do not need to rerun pip install every
time you make changes to the code:sudopipinstall-e.Example useWxgen has three commands. The first simulates sequences of weather as follows:wxgensim-dbexamples/database.nc-n10-t1000-ooutput.ncThis command uses a NetCDF database file and creates 10 trajectories that are 100 days long. Results
are stored in output.nc. In order to evaluate the performance of the generated data, a “truth” file
can be created using the following command:wxgentruth-dbexamples/database.nc-otruth.ncThis command uses the day 1 forecasts from the database as the truth, and joins these together into
a sequence that spans the dates in the dataset.Finally, the generated sequences can be evaluated using th verif command:wxgenverif-truthtruth.ncoutput.nc-mtimeserieswxgenverif-truthtruth.ncoutput.nc-mvarianceThe -m switch selects the verification metric, in this case a timeseries.Copyright and licenseCopyright (C) 2017 MET Norway. Wxgen is licensed underLGPL version 3or (at your option) any later version.
Package: wxgl
WxGLWxGL是一个基于PyOpenGL的跨平台三维数据快速可视化工具包，提供类似Matplotlib风格的应用方式。WxGL也可以集成到wxPython或PyQt6中实现更多的功能和控制。项目地址中文文档安装pipinstallwxgl快速体验下面这几行代码，绘制了一个半径为1的地球，并以20°/s的角速度绕地轴自转。配合太阳光照效果和模型动画，可以清晰地看到晨昏分界线的变化。这段代码在example路径下有更详细的说明。importnumpyasnpimportwxglr=1# 地球半径gv,gu=np.mgrid[np.pi/2:-np.pi/2:91j,0:2*np.pi:361j]# 纬度和经度网格xs=r*np.cos(gv)*np.cos(gu)ys=r*np.cos(gv)*np.sin(gu)zs=r*np.sin(gv)light=wxgl.SunLight(direction=(-1,1,0),ambient=(0.1,0.1,0.1))# 太阳光照向左前方，暗环境光tf=lambdat:((0,0,1,(0.02*t)%360),)# 以20°/s的角速度绕y逆时针轴旋转app=wxgl.App(haxis='z')# 以z轴为高度轴app.title('自转的地球')app.mesh(xs,ys,zs,texture='res/earth.jpg',light=light,transform=tf)app.show()
Package: wx-icons-adwaita
Adwaita icon theme for wxPython 🐍This package provides a wxPython wxArtProvider class with icons from the Adwaita Icon Theme.DocsTestsPyPIActivityOtherInstallationwx_icons_adwaitacan be installed from PyPI.To install withpip:$python-mpipinstallwx_icons_adwaitaUsageTo usewx_icons_adwaitain your application:fromwx_icons_adwaitaimportwxAdwaitaIconThemeclassMyApp(wx.App):defOnInit(self):wx.ArtProvider.Push(wxAdwaitaIconTheme())self.frame=TestFrame(None,wx.ID_ANY)self.SetTopWindow(self.frame)self.frame.Show()returnTrueAnd then the icons can be accessed through wx.ArtProvider:wx.ArtProvider.GetBitmap('document-new',wx.ART_OTHER,wx.Size(48,48))AnyFreeDesktop Icon Theme Specificationname can be used.Currently theClient IDis not used, so just passwx.ART_OTHER.
Package: wx-icons-hicolor
Hicolor icon theme for wxPython.This package provides a wxPython wxArtProvider class with icons from the Hicolor/Gnome Icon Theme.DocsTestsPyPIActivityOtherInstallationwx_icons_hicolorcan be installed from PyPI.To install withpip:$python-mpipinstallwx_icons_hicolorUsageTo usewx_icons_hicolorin your application:fromwx_icons_hicolorimportwxHicolorIconThemeclassMyApp(wx.App):defOnInit(self):wx.ArtProvider.Push(wxHicolorIconTheme())self.frame=TestFrame(None,wx.ID_ANY)self.SetTopWindow(self.frame)self.frame.Show()returnTrueAnd then the icons can be accessed through wx.ArtProvider:wx.ArtProvider.GetBitmap('document-new',wx.ART_OTHER,wx.Size(48,48))AnyFreeDesktop Icon Theme Specificationname can be used.Currently theClient IDis not used, so just passwx.ART_OTHER.
Package: wx-icons-humanity
Humanity and Humanity Dark icon themes for wxPython 🐍This package provides wxPython wxArtProvider classes with icons from the Humanity and Humanity Dark Icon Themes.DocsTestsPyPIActivityOtherInstallationwx_icons_humanitycan be installed from PyPI.To install withpip:$python-mpipinstallwx_icons_humanityUsageTo usewx_icons_humanityin your application:fromwx_icons_humanityimportwxHumanityIconThemeclassMyApp(wx.App):defOnInit(self):wx.ArtProvider.Push(wxHumanityIconTheme())self.frame=TestFrame(None,wx.ID_ANY)self.SetTopWindow(self.frame)self.frame.Show()returnTrueAnd then the icons can be accessed through wx.ArtProvider:wx.ArtProvider.GetBitmap('document-new',wx.ART_OTHER,wx.Size(48,48))AnyFreeDesktop Icon Theme Specificationname can be used.Currently theClient IDis not used, so just passwx.ART_OTHER.
Package: wx-icons-suru
Suru icon theme for wxPython 🐍This package provides a wxPython wxArtProvider class with icons from the Suru Icon Theme.DocsTestsPyPIActivityOtherInstallationwx_icons_surucan be installed from PyPI.To install withpip:$python-mpipinstallwx_icons_suruUsageTo usewx_icons_suruin your application:fromwx_icons_suruimportwxSuruIconThemeclassMyApp(wx.App):defOnInit(self):wx.ArtProvider.Push(wxSuruIconTheme())self.frame=TestFrame(None,wx.ID_ANY)self.SetTopWindow(self.frame)self.frame.Show()returnTrueAnd then the icons can be accessed through wx.ArtProvider:wx.ArtProvider.GetBitmap('document-new',wx.ART_OTHER,wx.Size(48,48))AnyFreeDesktop Icon Theme Specificationname can be used.Currently theClient IDis not used, so just passwx.ART_OTHER.
Package: wx-icons-tango
This package provides a wxPython wxArtProvider class with icons from the Tango Icon Theme.To use it in your application:fromwx_icons_tangoimportwxTangoIconThemeclassMyApp(wx.App):defOnInit(self):wx.ArtProvider.Push(wxTangoIconTheme())self.frame=TestFrame(None,wx.ID_ANY)self.SetTopWindow(self.frame)self.frame.Show()returnTrueAnd then the icons can be accessed through wx.ArtProvider:wx.ArtProvider.GetBitmap('document-new',wx.ART_OTHER,wx.Size(48,48))AnyFreeDesktop Icon Theme Specificationname can be used.Currently theClient IDis not used, so just passwx.ART_OTHER.
Package: wxkit
Copyright (c) 2021 JuiTeng ChungPermission 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.
Description: # wxkitA python library for collecting weather data and exposing API.## Providers[OpenWeather](https://openweathermap.org/api)[Windy](https://api.windy.com)[AccuWeather](https://developer.accuweather.com)Keywords: weather,wx,openweather
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT LicenseNatural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: MacOS :: MacOS XProgramming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Utilities
Requires-Python: >=3
Package: wxMarkdown
wxMarkdownwxMarkdownmakes adding panels of formatted text much easier!
In stead of having to open and close each context yourself with aRichTextCtrl,
enter what you want in Markdown and see it appear with the right styling.Table of contentsExampleFeature supportTo-DoExampleIt's straight-forward. You initialise the Markdown panel as you would any other panel. You add Markdown content to it withAddContent. That's it. Embed it how you'd like.importwximportwxmarkdownaswxmapp=wx.App()frame=wx.Frame(None)md=wxm.Markdown(frame)md.AddContent("""# A Very Simple ExampleThis example doesn't showcase _all supported syntax_.It's just meant to showcase **how to use the package**.""")frame.Show()app.MainLoop()Feature supportAll basic Markdown syntax is supported. The package currently usesMarkdownfor parsing.Italic textBold textInline codeHeadingUnordered listOrdered listLinkImageBlockquoteHorizontal ruleYou can enable the embedding of external images by settingallow_download_imagestoTrue.To-DoSome of these features are likely not yet implemented solely because I haven't been able to figure outwxPython's Rich Text modules fully. If you understand how the package works and know a solution for either of these todos, I would greatly appreciate if you'd get in contact with me.Linkable images: This could be implemented by binding a function to the click of an image. However, I cannot get this to work within the context of aRichTextCtrl.Link hover effect: Change appearance of a link upon hovering over it.Horizontal Rule: A horizontal dividerImprove default theme
Package: wxminer
WX MinerDeep into WeChatWith an iTunes backup, wxminer helps you delivering a full analysis of your WeChat data including sessions, contacts, chats and all.Install$pipinstallwxminerUsageSay if you want to export a friend chat:$python-mwxminer--user"user_id"\--friend"friend_id"\--sdate"2023-01-01"\--output"chat.csv"or you prefer a pandas dataframe:fromwxminerimportWeChatwx=WeChat("user_id")df_chat=wx.get_friend_chat("friend_id",st="2023-01-01")Roadmapchats exportsession exportmoments exportdaily dashboardannual reportchat miningLicenseMIT
Package: wxmplot
WXMPlot provides advanced wxPython widgets for plotting and image display
of scientific data based on matplotlib. While matplotlib provides excellent
general purpose plotting functionality and supports many GUI and non-GUI
backends it does not have a very tight integration with any particular GUI
toolkit. With a large number of plotting components and options, it is not
easy for programmers to select plotting options for every stuation and not
easy for end users to manipulate matplotlib plots.  Similarly, while
wxPython has some plotting functionality, it has nothing as good or
complete as matplotlib. The WXMPlot package attempts to bridge that gap.
With the plotting and image display Panels and Frames from WXMPlot,
programmers are able to provide plotting widgets that make it easy for end
users to customize plots and interact with their data.