Saravanan666/pypi-org huggingface dataset:
Package: pwrusb
pwrusbA python wrapper for controlling pwrusb.com power strip outlets.Installation notesTo avoid copyright issues, several files are not included in this
distribution. Makefile will attempt to download and install these files
automatically. Or, they can be downloaded from the Mac software
distribution from thepwrusb
website. These files are:PwrUSBImp.h
PwrUsbCmd.cpp
libpowerusb.dylibA version of libusb-1.0 will need to be installed. One straightforward
way to get this is viahomebrewwith:brew install libusbTheswigpackage also needs to be installed in your python
distribution for pwrusb to work. One straightforward way to get this is
viahomebrewwith:brew install swigTypical InstallationFrom PyPI:pip install pwrusbUsageExample usage:import pwrusb
print("State of all outlets: {}".format(pwrusb.get_all_outlet_states()))
# turn ON all outlets
pwrusb.set_all_outlet_states(True)
print("State of all outlets: {}".format(pwrusb.get_all_outlet_states()))
# turn ON outlets 1 and 3
pwrusb.set_all_outlet_states([True, False, True])
print("State of all outlets: {}".format(pwrusb.get_all_outlet_states()))
# turn OFF all outlets
pwrusb.set_all_outlet_states(False)
print("State of all outlets: {}".format(pwrusb.get_all_outlet_states()))
# turn ON outlet #3, not changing outlets 1 or 2
pwrusb.set_outlet_state(3, True)
# read state of only outlet #3
pwrusb.get_outlet_state(3)Additional Usage NotesLighted power switch on pwrusb.com strips controls power to outlets, but
does not power on/off the USB controller within the strip. When the
physical switch is off, strip should report a low (but not zero) current
draw and will report what state the outlets will be when the physical
switch is flipped back on, i.e. can report True even when no power is
coming out of an outlet.HistoryOriginally written by hroe in 2014-January.Repackaged for upload to github and pypi in 2014-October.Lots of small updates to project layout etc, including update to
Python 3.5 compatibility in 2016-March.
Package: pwsAI
Welcome to PWS_AIThis code is incomplete in that the gui is not completely finished.
Coming up on the gui is the ability to check the results for the threshold so
the segmentation is optimized by the user before going to check it on
pwspy analysis software.As it stands, you will go through 5 main steps.Step 0) Run analysis on dataset of interest, that means running it on the pws
analysis softwareStep 1) Select folder with cell data where you just ran your analysis (same way its
done on the pwspy software)Step 2) Access rms images from analysis. This is done automatically when you click
the button "Get RMS Images"Step 3) Use PWS_AI to generate the ROIs automatically and save them as TIF File in
Corresponding FolderStep 4) Conver the PWS_AI output into the pwspy compatible format. Done by clicking
"Push ROI TO PWSPY"Once this is done you can go to the pws analysis software where you can now use the
AI generated ROIs. This is a beta version and not ready for release but thank you for
testing it out!Nico 6/15/23
Package: pwsearch
PWSearchPwnWiki 数据库搜索命令行工具。该工具有点像searchsploit命令，只是搜索的不是 Exploit Database 而是 PwnWiki 条目。安装您可以直接用pip命令从 PyPI 安装 PWSearch：pip3install-Upwsearch您也可以 clone 该仓库并直接从源码启动：gitclonehttps://github.com/k4yt3x/pwsearch.git
pip3install-U-rpwsearch/pwsearch/requirements.txt命令行使用方法# 搜寻关键词pwsearchsearchCVE-2019-0708# 在浏览器中打开详细页面pwsearchopen-p2051# 直接从源码启动的话需要把 pwsearch 当模组：cdpwsearch
python-mpwsearchsearchCVE您可以使用-t开关来将输出结果打印成更容易阅读的表格。注意-t是search命令的参数，所以要打在search之后。您也可以使用-q开关来隐藏日志信息。注意-q是全局参数，所以要打在search和open之前。Python 接口调用方法frompwsearchimportPwsearch# 创建 Pwsearch 实例pwsearch=Pwsearch()# 搜索关键词，最多返回 20 个结果# results 内容为包含搜索结果标题的 listresults=pwsearch.search(["关键词1","关键词2"],max_results=20)# 并发获取页面详细信息# pages 内容为 list(dict())# 可以自己试试看比较好理解pages=pwsearch.pages(results)# 也可不用异步仅获取一个页面page=pwsearch.page(results[0])软件许可由于管理问题，目前本软件改为使用专有协议，请在使用前仔细阅读。使用该软件表明您已阅读并同意 EULA 中的内容。如有需要修改该源码，请联系作者取得授权。© 2021 K4YT3X
All rights reserved.友情链接PwnWiki:https://www.pwnwiki.org论坛:https://forums.pwnwiki.org中文 Telegram 群组:https://t.me/pwnwiki_zh
Package: pwseqdist
pwseqdistA small package that efficiently computes distances between protein sequences.
Can accommodate similarity matrices, sequences of different lengths and custom
metrics.Installpip install pwseqdistExampleimportpwseqdistaspwimportmultiprocessingfromscipy.spatial.distanceimportsquareformpeptides=['CACADLGAYPDKLIF','CACDALLAYTDKLIF','CACDAVGDTLDKLIF','CACDDVTEVEGDKLIF','CACDFISPSNWGIQSGRNTDKLIF','CACDPVLGDTRLTDKLIF']dvec=pw.apply_pairwise_sq(seqs=peptides,metric=pw.metrics.nw_hamming_metric,ncpus=multiprocessing.cpu_count())dmat=squareform(dvec).astype(int)dmatarray([[ 0,  4,  6,  7, 15,  8],
       [ 4,  0,  5,  7, 14,  7],
       [ 6,  5,  0,  6, 14,  4],
       [ 7,  7,  6,  0, 14,  8],
       [15, 14, 14, 14,  0, 11],
       [ 8,  7,  4,  8, 11,  0]])
Package: pwsh-utils
commandpipxinstallpwsh-utils
say-t'hello world'# cowsayos# operating systemdt# datetimets# timestampms# millisecondsnano# nanosecondsev'PATH'# echo environment variableuuid# uuidbtc-eth# 从币安获取比特币和以太坊的价格 支持socks5代理设置,设置环境变量->HTTP_PROXY=socks5h://127.0.0.1:7890rmw"./1.png"--colors5# 简单的去水印tg-login# telegram user or bot login and get sessionString
Package: pwspy
PWSpyA Python module dedicated to analysis of Partial Wave Spectroscopic Microscopy data. Read the paperhereStatement of needAny analysis of raw data generated by PWS and related imaging modes requires loading image data and metadata from a large variety of file formats, performing complex pre-processing steps before any of the real analysis begins. Any minor variations in how this pre-processing is performed can result in major differences in final analysis results. PWSpy provides an object-oriented interface for performing all common file I/O and analysis tasks related to PWS. This allows users to write succinct and readable scripts/software that function identically regardless of the file format of the raw data and which are guaranteed to perform all basic operations properly. The analysis steps described in previous publications (1,2,3) can be found written out clearly in Python under theanalysispackage. Classes providing uniform file handling for the current file format used by thePWS Acquisition plugin for Micro-Manageras well as all known legacy formats can be found under thedataTypespackage.  This library provides support for the backend code ofPWSpy_GUI.DocumentationAPI documentation is hosted online atReadTheDocsInstallationPWSpyis most easily installed with theCondapackage manager.
It is advisable to installPWSpyinto it's own Conda environment to avoid dependency conflicts.
Create a new environment with the command:conda create -n {environmentName} python=3.7. You can then make the new environment active in your terminal withconda activate {environmentName}.More informationhere.Installing from Anaconda Cloud (recommended)PWSpyis published online to the "backmanlab" Anaconda Cloud channel. It can be installed from Conda with the commandconda install -c conda-forge -c backmanlab pwspyInstalling with PipPWSpyis available on PyPi and can be installed using Pip, however some of its dependencies may not automatically install properly. Installing viacondais the easiest method.Building from source and distributingFor information on creating a Conda package yourself seehere.TestingAutomated tests using thepytestframework reside under thetestsdirectory. The default configuration for pytest can be found inpyproject.toml. Pytest 6.0 or greater is required. For more information on running pytest from the commandline or IDE integration please see the pytestdocumentation. The tests require that you first install the test dataset undertests/resources. Due to the size of the test dataset it is hosted externally rather than being included in the Git repository. Please checkherefor up to date information on how to acquire the test dataset.ContributingRead thecontributing sectionin the documentation if you want to help us improve and further develop PWSpy!
Package: pwstore
A cli password manager in python. Inspired by
password-store[1] by Jason A.
Donenfeld.UsageUsage: pwstore [OPTIONS] RECORD COMMAND [ARGS]...

Options:
-?, -h, --help  Show this message and exit.

Commands:
add      Create a new record
alias    Create a symlink named ALIAS
copy     Copy a KEY value to the system clipboard
delete   Delete KEY from a record
drop     Delete an entire record from the disk
get      Retrieve a KEY value from a record
list     List the keys in a record
qrcode   Display a KEY value as a qrcode
qrcodei  Display a KEY value as a qrcode in a png
select   Decrypt a record and print it raw
type     Type a KEY value at the cursor position
update   Update a record's KEY with VALUEDependenciesThe following non-standard dependencies are required for basic functionality:pip3 install python-gnupg dulwich appdirs clickThere are optional dependencies for some extra features:To display passwords as QRcodes in the terminal,pip3 install pyqrcodeTo display passwords as QRcodes as images,pip3 install pyqrcode Pillow pypngTo copy the password to the clipboard,pip3 install pyperclipAnd to type the password at the current cursor position.pip3 install pyautoguiGPGLike password-store, pwstore uses GPG encryption to store data securely.
For now, you must set your recipient key in the environment:export PWSTORE_KEY='0xA96895ACB7F4970C'ExamplesCreate a new recordpwstore github.com addCreate an aliaspwstore github.com alias githubAdd a passwordpwstore github update password "$(apg -n1)"Add some metadatapwstore github update login_url "http://github.com"
pwstore github update username rpdelaneyWhy use pw?In most cases, you should use password-store. Overall, it is much more
mature and feature-rich.The main difference is that pwstore stores data in a json format, enabling
you to store additional metadata such as username, login page URL, etc:pwstore github.com update username rpdelaney
Package: pwt.closure
pwt.closure is Python package that provides the tools to compile and manage
JavaScript files. It is optimized to be used with the Closure Library to find
your web application JavaScript dependencies. It then uses the Closure
Compiler to concatenate and compile all your JavaScript to JavaScript that
is optimized for production.pwt.closure contains a command line tool, a WSGI application and integration
with zc.buildout. All are configured through the same .ini file. The WSGI
application is suited for developing JavaScript heavy applications and is
used manly for development. Once development is finished you can use the
command line tool to optimize the application by compiling all your JavaScript
into one optimized file. Or you can integrate the process with zc.buildout.
Package: pwtgbot
pwtgbotPwnWiki Telegram database searching bot.ScreenshotsHow it looks like in the terminal when runningHow it looks like in TelegramRun Directly From Source# clone and enter repositorygitclonehttps://github.com/k4yt3x/pwtgbot.gitcdpwtgbot# set Telegram bot tokenexportPWTGBOT_SECRET="TELEGRAM BOT SECRET"# launch botpython-mpwtgbotRun With Docker/PodmanYou can run this bot from its Docker image.$PWTGBOT_SECRET: Telegram bot secret token$VERSION_TAG: pwtgbot version (e.g., 1.2.0)You can check out the newest tag onDocker Hub# add Telegram bot token as secretecho$PWTGBOT_SECRET|podmansecretcreatepwtgbot-# launch docker containerdockerrun-it--namepwtgbot--secretpwtgbotdocker.io/k4yt3x/pwtgbot:$VERSION_TAGBuilding the Docker Image# clone and enter repositorygitclonehttps://github.com/k4yt3x/pwtgbot.gitcdpwtgbot# build the imagedockerbuild-tpwtgbot:latest.LicenseDue to management issues, this program is now licensed under a proprietary license. You must read and agree to theEULAprior to using this program. Should you need to modify or redistribute the source code, please contact the author for exclusive permissions.
Package: pwt.jinja2js
Aboutpwt.jinja2js is an extension to the Jinja2 template engine that compiles
valid Jinja2 templates containing macros to JavaScript. The JavaScript output
can be included via script tags or can be added to the applications JavaScript.NutshellHere a small example of a Jinja template:{% namespace ns1 %}

{% macro printusers(users) %}
<ul>
{% for user in users %}
    <li><a href="{{ user.url }}">{{ user.username }}</a></li>
{% endfor %}
</ul>
{% endmacro %}Which after running through the pwt.jinja2js compiler we need up the
following JavaScript:if (typeof ns1 == 'undefined') { var ns1 = {}; }

ns1.printusers = function(opt_data, opt_sb, opt_caller) {
   var output = '';
   output += '\n<ul>\n';
   var userList = opt_data.users;
   var userListLen = userList.length;
   for (var userIndex = 0; userIndex < userListLen; userIndex++) {
       var userData = userList[userIndex];
       output += '\n   <li><a href="' + userData.url + '">' + userData.username + '</a></li>\n';
   }
   output += '\n</ul>\n';
   return output;
}By slipping a switch we can produce Java Script that takes advantage ofClosure Library:goog.provide('ns1');

goog.require('soy');

ns1.printusers = function(opt_data, opt_sb) {
   var output = opt_sb || new soy.StringBuilder();
   output.append('\n<ul>\n');
   var userList = opt_data.users;
   var userListLen = userList.length;
   for (var userIndex = 0; userIndex < userListLen; userIndex++) {
       var userData = userList[userIndex];
       output.append('\n   <li><a href="', userData.url, '">', userData.username, '</a></li>\n');
   }
   output.append('\n</ul>\n');
   if (!opt_sb) return output.toString();
}More user documentation is available on thepwt.jinja2js PyPI package page.
TheJinja2site is also available to learn more about the Jinja2 syntax.Devloper informationIn order to get started with this project and to see what it can do:git clone git://github.com/mkerrin/pwt.jinja2js.gitcd pwt.jinja2jspython bootstrap./bin/buildoutTestingTo run the tests run./bin/test -vTo run a basic server in order to run the JavaScript tests../bin/serve –reloadTo run the JavaScript tests open a browser and load the url:http://localhost:8000/There is links to two test suites from there.
Package: pwutils
Python module and command line tools for manipulating passwords.NOTE:PWUtils requires Python 3. Tested with Python 3.4.Featuressimple random password generatorstandard unix crypt(3) wrapper for generating and verifying hashed
passwordsLocationsPWUtils packagesare available from Cheese shop (PyPI) athttps://pypi.python.org/pypi/pwutilsTheproject pageis hosted on Github.If you’ve never worked withgitor contributed to a project on Github,
there is aquick start guide.If you find something wrong or know of a missing feature, pleasecreate an issueon the project
page. If you find that inconvenient or have some security concerns, you could
also drop me a line at <devel@beli.sk>.LicenseCopyright 2015 Michal Belica <devel@beli.sk>PWUtils 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.

PWUtils is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PWUtils.  If not, see < http://www.gnu.org/licenses/ >.A copy of the license can be found in theLICENSEfile in the
distribution.
Package: pwvalid
PWValid Email ValidationPWValid is a powerful and very simple Python package to validate and check emails. It helps developers tackle spam and disposable emails.Features:Fast ResponseVery AccurateEasy to ImplementNo Need to use External APIsNo Need for Any API KeyInstallationPip Commandpip install pwvalidHow to use?Import pwvalid Packageimport pwvalidInBuilt Functions:EmailValidate Fuction:It checks and validates the emails and returns a complete response with all available metrics.pwvalid.EmailValidate('youremail@gmail.com')Avaliable Metricsresult = pwvalid.EmailValidate('youremail@gmail.com')email_address:result['email_address']| Response Type: Stringdomain:result['domain']| Response Type: Stringdisposables:result['disposable']| Response Type: Boolwebmails:result['webmail']| Response Type: Booldeliverable:result['deliverable']| Response Type: Boolvalid_syntax:result['valid_syntax']| Response Type: Boolcatch_all:result['catch_all']| Response Type: Boolgibberish:result['gibberish']| Response Type: Boolspam:result['spam']| Response Type: BoolExample Response:{
  'email_address': 'kush@gmail.com',
  'domain': 'gmail.com',
  'valid_syntax': True,
  'disposable': False,
  'webmail': True,
  'deliverable': False,
  'catch_all': False,
  'gibberish': False,
  'spam': False
}isDisposable Fuction:It checks if an email is disposable or not. It returns a boolean response (True/False).pwvalid.isDisposable('youremail@gmail.com')isDeliverable Fuction:It Checks if an email is Deliverable or not. it returns a Bool response. (True/False)pwvalid.isDeliverable('youremail@gmail.com')isSpam Fuction:It Checks if an email is Spam or not. it returns a Bool response. (True/False)pwvalid.isSpam('youremail@gmail.com')Code Examplesimport pwvalid 
email = input('Enter Email:')
result = pwvalid.isSpam(email)
print(result)Support This ProjectAuthorThe PWValid Package is created byVinay Chaudhary. This Project is Powered byRegem Enterprises
Package: pwy
pwyA simple weather information tool.Table of ContentsFeaturesDependenciesInstallationUsageUpdateDevelopmentChangelogCreditsLicenseFeaturesASCII artDisplay weather informationThe name of the location.Temperature (and what the temperature feels like).Weather and weather description.Wind pressure, humidity, wind direction, and wind speed.Time and timezone of the location.DependenciesOpenWeatherMap API keyPython 3.10 or higherrequestsrichInternet connectionInstallationPip installUnix-like | WindowspipinstallpwyManual/Git installUnix-like | WindowsDownload the latest pwy packagehereand uncompress it.
Go to pwy directory.cdpwyInstall pwy.pipinstall.ConfigurationUnix-like | WindowsBefore you can use pwy, you need to configure pwy. Run the command below and fill the required files, these fields are for the OWM API key, location, unit, and language.pwyAfter you're through, thepwy.json(~/.config/pwy.jsonfor Unix-like andpwy.jsonfor Windows) config file, containing your OWM API key, location, unit, and language, will be generated.Get your OWM key bysigning up.If you want to edit your pwy configuration.pwy--configUsageUnix-like | WindowsTo display weather in your current city (from pwy.json).pwyTo display weather in your current city.pwytokyoYou can also specify what country you are in by.pwytokyo,jpTo display weather with specific unit of measurement. By default the unit is Metric system.pwytokyo--unitimperialTo display weather with specific language.pwytokyo--langjaTo display help information.pwy--helpAvailabe optionsusage:__main__.py[-h][-c][-u][-l][-v][location...]pwy-Asimpleweatherinformationtool

positionalarguments:locationinputlocation

options:-h,--helpshowthishelpmessageandexit-c,--configconfigurepwy-u,--unitinputunit-l,--langinputlanguage-v,--versionshowprogram'sversionnumberandexitUpdateUnix-like | Windowspipinstall--upgradepwyDevelopment# Create a virtual environment and enable it.python3-mvenv
.env/bin/activate# Install dependencies.pipinstall-rrequirements.txtChangelogViewChangelog.Creditspwy ContributorsOpenWeatherMap- APIwego- ASCII artLicenseThis program is provided under theMIT License.
Package: pxapi
pxapi is a client for interacting withPixie, a no-instrumentation
Kubernetes observability platform.pip install pxapiPixie:https://px.dev/Python API Quick Start Documentation:https://docs.px.dev/using-pixie/api-quick-start/Python API Reference Docs:https://docs.px.dev/reference/api/py/GitHub:https://github.com/pixie-io/pixieTwitter:https://twitter.com/pixie_run
Package: pxctl
Picaso3d Designer X PRO command line toolSimple command line tool to monitor 3d-printer state.InstallationpipinstallpxctlExamplesDiscover printer and show it's status continuouslypxctlshow--continuousSpecify printer ip address and show its status oncepxctlshow--address=192.168.1.35Discover printers and get list in json formatpxctldiscover--jsonMake printer starts to beeppxctlbeep_on--address=192.168.1.35Make printer stops to beeppxctlbeep_offRun hooks when printer successpxctlshow--on-success='echo 10'Get printer status at json formatpxctlshow--jsonHow to buildmakeinit
makebuild
Package: pxd
What is pxd?pxd(polardbx-deployer) is a tool to deployPolarDB-X.InstallRun command:pip install pxdMore details see:Quick StartUsageCreate PolarDB-X for tryoutCreate a default cluster(1 GMS, 1 DN, 1 CN, 1 CDC) for tryout on your local machine:pxd tryoutYou can specify cn and dn version using the following options:Options:
  -name TEXT            PolarDB-X Cluster name, default: pxc-tryout
  -cn_replica INTEGER   cn node count
  -cn_version TEXT      cn node version
  -dn_replica INTEGER   dn node count
  -dn_version TEXT      dn node version
  -cdc_replica INTEGER  cdc node count
  -cdc_version TEXT     cdc node version
  -leader_only BOOLEAN  create gms and dn with single node by default,
                        otherwise a x-paxos cluster

  --help                Show this message and exit.If you want to create gms and dn with a x-paxos cluster, using the following command:pxd tryout -leader_only falseCreate PolarDB-X for cluster modepxd create -file cluster.yamlFollowing is an example of cluster.yamlversion: v1
type: polardbx
cluster:
  name: pxc_test
  gms:
    image: polardbx/galaxyengine:latest
    host_group: [10.168.0.37]
    resources:
      mem_limit: 2G
  cn:
    image: polardbx/galaxysql:latest
    replica: 3
    nodes:
      - host: 10.168.0.37
      - host: 10.168.0.38
      - host: 10.168.0.39
    resources:
      mem_limit: 4G
  dn:
    image: polardbx/galaxyengine:latest
    replica: 2
    nodes:
      - host_group: [10.168.0.38]
      - host_group: [10.168.0.39]
    resources:
      mem_limit: 4G
  cdc:
    image: polardbx/galaxycdc:latest
    replica: 3
    nodes:
      - host: 10.168.0.37
      - host: 10.168.0.38
      - host: 10.168.0.39
    resources:
      mem_limit: 4Gversion: topology version, default v1type: cluster type, polardbxcluster.name：The name of PolarDB-X clustercluster.gms.image: docker image of gms, default is the latestcluster.gms.host_group: gms ip list. If set three ips, it will create a x-paxos clustercluster.cnimage: docker image of cn, default is the latestreplica: cn node countnodes: list, cn node hostsresources:mem_limit: memory limit，default 1Gcluster.dnimage: docker image of dn, default is the latestreplica: dn node countnodes: dn host group list. If set three ips, it will create a x-paxos clusterresources:mem_limit: memory limit，default 1Gcluster.cdcimage: docker image of cdc, default is the latestreplica: cdc node countnodes: cdc node ip listresources:mem_limit: memory limit，default 1GList existing clusterspxd listIt will show all PolarDB-X clusters.Delete ClusterDelete a specific PolarDB-X cluster:pxd delete {pxc_name}Delete all PolarDB-X clusters:pxd cleanupMore information about pxd, please run following command:pxd --helpMore information about PolarDB-X, refer to following links:https://help.aliyun.com/product/29657.htmlhttps://www.zhihu.com/org/polardb-x