Saravanan666/pypi-org huggingface dataset:
Package: wfm
Logging into the WorkflowMax UI to put times in sucks, so you put it off. If
you could enter times at the command line, where you already were, you might
actually stay on top of things.Setup and useYou’re going to need to get API keys from WorkflowMax. Believe it or not, you
do this byemailing them. They tend to respond reasonably soon. If you have
a colleague who already has a set, use theirs; we decide which user to update
as based on email address. Once you have your keys, make a file at~/.wfm.ymlcontaining something to the effect of:email:me@company.tldapiKey:00000000000000000000000000000000accountKey:00000000000000000000000000000000That should be you all set up. Assuming you’ve got pip installed (your package
manager probably has it if you don’t, perhaps aspython-pip,pipor
just as part ofpython), you can install wfm by runningpip install wfm. If it’s a system Python install, it may be necessary to install as root
withsudo pip install wfm.Once installed, runwfmand follow the instructions the script gives you.
Package: wfmap
WaferMap Visualization with Heatmap and Trend ChartsThis package is built uponmatplotlib&seaborn. It provides basic wafer heatmap for numerical & categorical variables, as well as highly customized trend charts regarding to different wafer shot map definitions. You can built your own wafermap on the top of the API provided.This package only tested under Windows, the aesthetics of charts might be slightly different under Mac/Linux.Example GalleryThis gallery contains a selection of examples of the plotswfmapcreated.Basic UsagesandAPI Referenceplease refer to theOnline Docs.InstallationTo installwfmapvia PyPI using pip:pipinstallwfmapor build the latest release from Github:gitclonehttps://github.com/xlhaw/wfmap.gitcdwfmap
pythonsetup.pyinstallBasic UsageBefore you get started, please have a look at the definition used in this package for wafer mapping. You can modify it refer to your own terminology.Sample data is shipped within this package, you can load it as following snippet:fromwfmap.dataimportload_datadata=load_data()BasePlotnum_heatmapandcat_heatmapare core functions used to generatematplotlib.axes, dealing with numerical & categorical variables respectively. Remain functions provides in packages returnmatplotlib.figure.Figureinstead.fromwfmapimportnum_heatmap,cat_heatmapfig,axs=plt.subplots(1,2,figsize=(8,3))_=num_heatmap(data,'MRR',ax=axs[0])_=cat_heatmap(data,'DEFECT',ax=axs[1])#fig.savefig('BasePlot.png',dpi=200)WaferMapWaferMap is a customized plot for numerical variables built withnum_heatmap, beside the basic heatmap, an horizontal distribution plot sits along with the colorbar. For full details please refer to theAPI Reference.fromwfmapimportwafermapfig=wafermap(data,'HDI_R',wtype='UP3')DefectMapDefectMap is a customized plot for categorical variables usingcat_heatmap, which put additional pareto histogram and pie chart aside. For full details please refer to theAPI Reference.fromwfmapimportdefectmapfig=defectmap(data,'DEFECT')License
Package: wf-mefs-utils
mefs_utilsTools for working with MEFS/EFgo assessments dataInstallpip install wf-mefs-utilsTasksGather up shared functions and definitions across assessments and move towf-core-data-python(or somewhere)Find places where functions/methods can be reused across assessment with the addition of some arguments/switchesFix up README on PyPI by declaring long description to be markdownMove more of the data manipulation out of the individual extraction functions and into a shared function (e.g., the fetch function)
Package: wf-pose-db-io
pose_db_ioTools for working with data in Wildflower's pose databaseInstallationpip install wf-pose-db-ioDevelopmentRequirementsPoetryjustInstallpoetry installInstall w/ Python Version from PyEnv# Specify pyenv python version
pyenv shell --unset
pyenv local <<VERSION>>

# Set poetry python to pyenv version
poetry env use $(pyenv which python)
poetry cache clear . --all
poetry installTask listTBD
Package: wf-pose-labelbox
pose_labelboxTools for creating Labelbox projects involving 2D and 3D pose dataInstallationpip install wf-pose-labelboxDevelopmentRequirementsPoetryjustInstallpoetry installInstall w/ Python Version from PyEnv# Specify pyenv python version
pyenv shell --unset
pyenv local <<VERSION>>

# Set poetry python to pyenv version
poetry env use $(pyenv which python)
poetry cache clear . --all
poetry installTask listTBD
Package: wf-pose-tracking-3d
# wf-pose-tracking-3dClasses and methods for performing 3D pose tracking from 2D poses:Functions which load 2D pose data from Wildflower S3 directoriesFunctions which perform very basic 3D pose reconstruction from multi-camera 2D pose dataFunctions which support basic visualization of 2D and 3D pose data## TestingTo run tests, change working directory to/testsand run one of the following.python 3d_reconstruction_example.pypulls a single frame of 2D pose data from S3 and performs a simple 3D pose reconstructionpython 3d_pose_tracking_example.pypulls multiple frames of 2D pose data from a local file and builds a set of 3D pose tracksThese scripts pull camera calibration parameter files and sample 2D pose data fromtests/dataTo run these scripts (and to use any of the functions data from S3), you need to set theAWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYenvironment variables to keys belonging to an account that is a member of the Wildflowercamerasgroup.
Package: wf-postgres-client
postgres_clientA client for communicating with PostgreSQL databasesInstallationpip install wf-postgres-clientDevelopmentRequirementsPoetryjustInstallpoetry installInstall w/ Python Version from PyEnv# Specify pyenv python version
pyenv shell --unset
pyenv local <<VERSION>>

# Set poetry python to pyenv version
poetry env use $(pyenv which python)
poetry cache clear . --all
poetry installTask listTBD
Package: wfprogressbar
Terminal Progress BarA easy to use python progress bar for your terminal.Options:label - the text infront of the barbar_length - number of total markers to showfull_marker - character for progress indicatorempty_marker - character for remaining progressUsageCheck out the included example.py for a working demo of the default usage and a customized version.import progressbar as pb

bar = pb.ProgressBar()

total = 10
for i in range(total):
    bar.progress(i, total)Credit and ContactCreated by Wyatt FergusonFor any comments or questions your can reach me on Twitter@wyattferguson
Package: wf-rdbms-python
# wf_rdbmsPython tools for defining and interacting with simple relational databases## Tasks
* Split repo into wf_rdbms and wf_core_data
* Redesign wf_rdbms around underlying SQL implementation while preserving Pandas implementation
* Implement wf_rdbms in Postgres
* Implement wf_rdbms in SQLite
* Add method(s) to extract the current info for each student
* Add method(s) to suggest and review student dupes
* Fix inheritance structure soDatabaseinit can happen at parent class level
* Make database structure an OrderedDict so user can specify order of data tables (e.g., for saving to Google sheets)
* Add method for writing database to Google Sheets
* Add method for writing database to local file(s)
* Add tables for schools, classrooms, teachers
* Generalize student ID generation to other objects (teachers, schools, hubs, etc.)
* Use__getitem__so that user can pull individual data tables without referencing internals
* Define genericWildflowerDatabaseand makeWildflowerDatabasePandasa subclass
* Move methods for pulling and adding student records to parentWildflowerDatabaseclass (so they can be used by other database implementations)
Package: wfs20
wfs20: Small library for requesting geospatial data (WFS)What is it?wfs20 is a small library with the sole purpose of making it easy
on the user to request geospatial data from a WebFeatureService.
wfs20 only caters to the 2.0.0 version of the WebFeatureService
for now. wfs20 will be expanded in the future to also contain the
1.0.0 and 1.1.0 version of the WebFeatureService.Where to get it?Source code is available at this repository on Github:https://github.com/B-Dalmijn/WFS20The package can be installed from:# PyPIpipinstallwfs20What can it do?Some of its functionality is listed below:Get the capabilities and metadata of/from the service# servicefromwfs20importWebFeatureServicewfs=WebFeatureService(url)# metadatawfs.Constraintswfs.FeatureTypeswfs.FeatureTypeMetawfs.GetCapabilitiesMeta
wfs.GetFeatureMeta
wfs.KeywordsRequest geospatial data from the servicereader=wfs.RequestData("<layer>",(x1,y1,x2,y2),proj_code)# proj_code is the projection code corresponding with the geospatial data# to be requested and the given bbox (x1,y1,x2,y2)The returned reader object holds the geospatial data and 
subsequent metadataExport the requested data to the harddrive, as long as there is
data in the reader object# to gmlwfs.ToFile("<folder>",format="gml")# to ESRI ShapeFilewfs.ToFile("<folder>",format="shp")It is completely modular, so if you know the capabilities of the service,
you don't really need to use the WebFeatureService classE.g.fromwfs20.crsimportCRS
fromwfs20.readerimportDataReader
fromwfs20.requestimportCreateGetRequestcrs=CRS.from_epsg(epsg)url=CreateGetRequest(service_url,version,featuretype,bbox,crs)reader=DataReader(url,keyword)keyword is in general the Title of the featuretype, e.g. 'bag:pand' -> keyword is 'pand'
Where again you have a reader object holding the geospatial dataBoth GET and POST requests are supported, though wfs20.RequestData only supports GET request
url and POST request data can however be implemented in the DataReaderfromwfs20.requestimportCreatePostRequest

url,data=CreatePostRequest(url,version,featuretype,bbox,crs)reader=DataReader(url,keyword,method="POST",data=data)Again one would have a reader object holding the acquired geospatial data.Dependencies[requests:    HTTP library][lxml:        XML parsing library]Additional packagesThese packages improve the functionality wfs20 package[GDAL:        Geospatial Data Abstraction Library]GDAL can either be installed from the conda repository via:condainstallgdalOr from a wheel (.whl) file. Wheel files for GDAL are very kindly made by
Christoph Gohlke and are in the releases of thisrepository on github.
The newest GDAL wheel file of Gohlke will always be in the newest release of wfs20 on github.Simply install the wheel file with pip:# GDAL 3.6.2 for python 3.10pipinstallGDAL-3.6.2-cp310-cp310-win_amd64.whlLicenseBSD 3Questions/ suggestions/ requests/ bugs?Send an email tobrencodeert@outlook.com
Package: wfslib
wfslibis open library for wave front data processing:different data type usage (hfd, bim, numpy);automatic geometry calculation;offsets calculation;settings-tools for manage yours data.Example of wfslib workfromwfslib.wfsimportWFSDatawfs=WFSData('../data/subpixel_test.h5',dataset_name='wfss/n0/detector')#Load datap=wfs.geometry.options#Geometry optionsprint(p)wfs.reference=8#Change geometry optionswfs.geometry.set_options(shift=(-p['start_point'][0]+1,-p['start_point'][1]+1),border=0,cell_width=p['cell_width']-1)#Visualizationwfs.show_geometry(){'border': 4.0, 'cell_width': 110.0, 'start_point': [168, 131]}wfs[0].offsets()[:5]#Calculate offsetsarray([[-0., -0.],
       [-0., -0.],
       [-1., -1.],
       [-1.,  1.],
       [22.,  9.]])
Package: wf-smc-kalman
# smc_kalmanSequential Monte Carlo modeling for linear Gaussian systems## InstallationClone this repo to any convenient location on your local driveFrom within your Python development environment (base environment or a virtual environment), runpip install -e LOCAL_PATH_TO_REPOpipwill install thesmc_kalmanpackage in your Python development environment (along with all dependencies)You can then import the modules like any other Python package (e.g.,import smc_kalman)
Package: wf-smcmodel
# smcmodelProvide estimation and simulation capabilities for sequential Monte Carlo (SMC) models## Task listAdd loggingAdd docstringsGenerate documentationAdd explicit names to tensors and opsCheck dataflow graphs using tensorboard (are all objects of known size at graph specification time)In simulate, do init and pull initial values in one runFigure out how to force assignment ops without fetching their outputsConsider adding num_samples argument to simulate()
Package: wf-smcmodel-localize
# smcmodel_localizeDefine a sequential Monte Carlo (SMC) model to estimate positions of objects from sensor data## Task listMake all data pipes work with Localizationodel or LocalizationModelMultilaterationMake LocalizationModel and LocalizationModelMultilateration work directly with database connections (no data pipes)Remove all references to moving_objects in names; fixed objects are anchorsConsistently call is measurement_value_name or measurement_value_field_nameFix up data source in smcmodel so it can be used more than onceMake shoe sensor and tray sensor subclasses (or otherwise derivative of this module)Add functionality to migrate data from current CSV files to DatabaseConnectionMake visualizations handle database connections directlyVisualization: show date and time together on x axisVisualization: Add standard deviation to plotsVisualization: Make functions more DRY by breaking out common codeReplace print statements with loggingGet better control over shallow vs. deep copies of dataframesAdd ribbon for standard deviation to plotting functions?Add docstringsGenerate documentation
Package: wftools
👉项目官网：https://www.python-office.com/👈👉本开源项目的交流群👈📚简介wftools是python自动化办公的小工具的代码合集。📦安装🍊pip 自动下载&更新pip install -i https://mirrors.aliyun.com/pypi/simple/ wftools -U📝功能序号方法名功能视频（文档）演示代码1transtools翻译万国语言⭐视频源码2qrcodetools解析二维码图片信息⭐视频源码3passwordtools密码生成器⭐视频源码4weather天气查询源码5net_speed_test测网速源码6url2ip获取ip地址源码7lottery8ticket生成彩票号码⭐视频源码8create_article自动写文章⭐视频源码9pwd4wifi破解wifi密码⭐视频源码🏗️添砖加瓦📐PR的建议python-office欢迎任何人来添砖加瓦，贡献代码，建议提交的pr（pull request）符合一些规范，规范如下：参与项目建设的步骤：例如：你需要给python-office添加一个add方法。你的Github账户名为：demo于是你在./contributors新建了文件夹./demo新建了add.py文件，编辑你的代码编辑完成，提交pr到master分支（gitee或者GitHub，都可以）。可以注明你对自己功能的取名建议晚枫收到后，会对各位的代码进行测试后，合并后打包上传到python官方库📐代码规范注释完备，尤其每个新增的方法应按照Google Python文档规范标明方法说明、参数说明、返回值说明等信息，必要时请添加单元测试，如果愿意，也可以加上你的大名。python-office的文档，需要进行格式化。注意：只能格式化你自己的代码请直接pull request到master分支。master是主分支，表示已经发布pypi库的版本。未来参与人数增多，会开辟新的分支，请留意本文档的更新。我们如果关闭了你的issue或pr，请不要诧异，这是我们保持问题处理整洁的一种方式，你依旧可以继续讨论，当有讨论结果时我们会重新打开。🧬贡献代码的步骤在Gitee或者Github上fork项目到自己的repo把fork过去的项目也就是你的项目clone到你的本地修改代码commit后push到自己的库登录Gitee或Github在你首页可以看到一个 pull request 按钮，点击它，填写一些说明信息，然后提交到master分支即可。等待维护者合并🐞提供bug反馈或建议提交问题反馈时，请务必填写和python-office代码本身有关的问题，不进行有关python学习，甚至是个人练习的知识答疑和讨论。Github issue📌联系作者
Package: wfudptools
DescriptionThese python3 utilities let you test (and simulate) a WeatherFlow station installationThey permit you to listen to UDP broadcasts from your Hub and:print the received UDP broadcasts to stdoutprint the decoded broadcasts in a more human-friendly formpublish derived topics to MQTTpublish derived topics to influxdb (v1.x and v2.x)support any combination of Air/Sky/Tempestsupport multiple instances of Air/Sky/Tempest at your siteThey also provide a utility to permit you to simulate a WeatherFlow Hub with minimal test data.NOTE - These utilities are tested using v119 of the WeatherFlow hub firmware.DisclaimerThese utilities are provided as-is.  Please consult the Project Home Page for more details.
Package: wfuzz
Wfuzz - The Web FuzzerWfuzz has been created to facilitate the task in web applications assessments and it is based on a simple concept: it replaces any reference to the FUZZ keyword by the value of a given payload.A payload in Wfuzz is a source of data.This simple concept allows any input to be injected in any field of an HTTP request, allowing to perform complex web security attacks in different web application components such as: parameters, authentication, forms, directories/files, headers, etc.Wfuzz is more than a web content scanner:Wfuzz could help you to secure your web applications by finding and exploiting web application vulnerabilities. Wfuzz’s web application vulnerability scanner is supported by plugins.Wfuzz is a completely modular framework and makes it easy for even the newest of Python developers to contribute. Building plugins is simple and takes little more than a few minutes.Wfuzz exposes a simple language interface to the previous HTTP requests/responses performed using Wfuzz or other tools, such as Burp. This allows you to perform manual and semi-automatic tests with full context and understanding of your actions, without relying on a web application scanner underlying implementation.It was created to facilitate the task in web applications assessments, it's a tool by pentesters for pentesters ;)InstallationTo install WFuzz, simply use pip:pip install wfuzzTo run Wfuzz from a docker image, run:$ docker run -v $(pwd)/wordlist:/wordlist/ -it ghcr.io/xmendez/wfuzz wfuzzDocumentationDocumentation is available athttp://wfuzz.readthedocs.ioDownloadCheck github releases. Latest is available athttps://github.com/xmendez/wfuzz/releases/latest
Package: wfuzzserver
Wfuzz - The Web FuzzerWfuzz has been created to facilitate the task in web applications assessments and it is based on a simple concept: it replaces any reference to the FUZZ keyword by the value of a given payload.A payload in Wfuzz is a source of data.This simple concept allows any input to be injected in any field of an HTTP request, allowing to perform complex web security attacks in different web application components such as: parameters, authentication, forms, directories/files, headers, etc.Wfuzz is more than a web content scanner:Wfuzz could help you to secure your web applications by finding and exploiting web application vulnerabilities. Wfuzz’s web application vulnerability scanner is supported by plugins.Wfuzz is a completely modular framework and makes it easy for even the newest of Python developers to contribute. Building plugins is simple and takes little more than a few minutes.Wfuzz exposes a simple language interface to the previous HTTP requests/responses performed using Wfuzz or other tools, such as Burp. This allows you to perform manual and semi-automatic tests with full context and understanding of your actions, without relying on a web application scanner underlying implementation.It was created to facilitate the task in web applications assessments, it's a tool by pentesters for pentesters ;)InstallationTo install WFuzz, simply use pip:pip install wfuzzTo run Wfuzz from a docker image, run:$ docker run -v $(pwd)/wordlist:/wordlist/ -it ghcr.io/xmendez/wfuzz wfuzzDocumentationDocumentation is available athttp://wfuzz.readthedocs.ioDownloadCheck github releases. Latest is available athttps://github.com/xmendez/wfuzz/releases/latest
Package: wg-api
wg_apiвЂ“ Python РјРѕРґСѓР»СЊ РґР»СЏ СѓРґРѕР±РЅРѕР№ СЂР°Р±РѕС‚С‹ СЃ Wargaming API.Р”РѕСЃС‚СѓРїРЅС‹ РјРµС‚РѕРґС‹ РґР»СЏ СЂР°Р±РѕС‚С‹ СЃ API РёРіСЂС‹ WOT Blitz.Wargaming Developer Roomimportwg_api#id РІР°С€РµРіРѕ РїСЂРёР»РѕР¶РµРЅРёСЏ РјРѕР¶РЅРѕ РїРѕСЃРјРѕС‚СЂРµС‚СЊ Р·РґРµСЃСЊ https://developers.wargaming.net/applicationsapp=wg_api.WOTBlitz("228053609b02258f94c78c79bd6c3971")print(app.get_player_info_by_name("player12345"))РЈСЃС‚Р°РЅРѕРІРєР°$ python -m pip install wg_apiРЎРїРёСЃРѕРє РґРѕСЃС‚СѓРїРЅС‹С… РјРµС‚РѕРґРѕРІ РјРµС‚РѕРґРѕРІ:get_player_id_by_name(name: str, language: str = 'ru') -> intsearch_players(search: str, language: str = "ru", limit: int = 100, type: str = "startswith") -> listget_player_name_by_id(account_id: int, language: str = "ru") -> strget_player_info_by_id(account_id: int, language: str = "ru") -> dictget_player_info_by_name(name: str, language: str = "ru") -> dictget_player_achievements_by_id(account_id: int, language: str = "ru") -> dictget_player_achievements_by_name(name: str, language: str = "ru") -> dictget_player_max_series_by_id(account_id: int, language: str = "ru") -> dictget_player_max_series_by_name(name: str, language: str = "ru") -> dictget_clan_id_by_name(clan_name: str, language: str = "ru") -> intget_clan_info_by_id(clan_id: int, language: str = "ru") -> dictget_clan_info_by_name(clan_name: str, language: str = "ru")get_tanks_list() -> dict
Package: wgba
Which genome build again?A species-agnostic tool to figure out the probable genome build of a file. Currently supports bigWig and bed files, and an easy method to add your own genome build.Install withpippip install wgbaUsage:Auto detect file extensionwgba your_file.bedUse a specific file extension, if your extension is non-standard for examplewgba -f bed your_file.bed
wgba -f bigwig your_file.bigWigYou can use shell globs to match multiple files, all of which will be processed independentlywgba *.bedYou can mix and match supported fileswgba a_bed_file.bed and_a_bigwig.bw and_another.bigWigCheck if all of your files are on the same build with-c,--checkwgba -c *.bed *.bwSummarise non-conforming chromosomes with-s,--summarywgba -s bad_file.bedAdjust the tolerance for build assignment with-t,--tol. This is useful if you know that one chromosome will never match.wgba -t 2 one_bad_chromosome.bedAdd a genome build to the databasewgba -f add_build your_build.chrom.sizesIssuesThis was written in about an hour for my own use. If you find something not working, pleaseraise an issue.
Package: wg-conf
wg_confPython library to read, edit, and saveWireguardconfiguration filesInstallationInstall using pip:python3 -m pip install wg-confMethodsLoad a configuration file:import wg_conf

wc = wg_conf.WireguardConfig('/etc/wireguard/wg0.conf')Write a configuration file to disk:wc.write_file()Edit the interfaceAdd an attribute to the interfacewc.add_interface_attr('AttributeKey', 'AttributeValue')add_interface_attrwill notoverwrite an existing attribute. If you are sure you want to overwrite an existing attribute, useset_interface_attrwith the same parameters. Otherwise, an Exception will be thrown if you try to overwrite an existing attributeRemove an attribute from the interfacewc.del_interface_attr('AttributeKey')If no matching attribute is found, no change will be madeEdit a peerAdd an attribute to a peerwc.add_peer_attr('PeerPublicKey', 'AttributeKey', 'AttributeValue')add_peer_attrwill notoverwrite an existing attribute. If you are sure you want to overwrite an existing attribute, useset_peer_attrwith the same parameters. Otherwise, an Exception will be thrown if you try to overwrite an existing attributeRemove an attribute from a peerwc.del_interface_attr('PeerPublicKey', 'AttributeKey')If no matching peer or attribute is found, no change will be madeCreate or remove a peerCreate a peer given a public key:wc.create_peer('PeerPublicKey')You can now useadd_peer_attrto configure the peer as you wishDelete a peer given a public key:wc.del_peer('PeerPublicKey')Build pypi packageBuild a binary and source distribution for pypipython3 setup.py sdist bdist_wheelPush to pypipython3 -m twine upload dist/*