Saravanan666/pypi-org huggingface dataset:
Package: ppscanner
Portable Port Scanner (ppscanner)Portable Port Scanner (ppscanner) is a light-weight open-source CLI utility that leverages onnmapto make quick and elegant scanning of host devices and their ports for better insights, troubleshooting, check vulnerabilites and meet compliance requirements of networks.Installation GuideGlobal dependenciesppscanner leverages onnmapfunctionalities so you need it installed to be able use it.$sudoapt-getinstallnmapProject Dependencies$pipinstall-ihttps://test.pypi.org/simple/ppscannerRun CommandsExample code for IP Address: 127.0.0.1 and Port: 80It automatically gives the port(tcp) and state(open/closed)$ppscanscan127.0.0.180Optional argumentsOther optional arguments are--servicewith input ofyes or noandreasonwith inputyes or noHelp commands$ppscanscan--help
Package: pps-emu
pps_emuThe emulator code to be imported into a student's program.  Works with the pps_gui simulator package.  Together, they give a student an environment where they can get readings from a simulated hardware device, maybe like a Raspberry Pi, maybe not.  Either way, students will have access to check for button pushes (4 buttons), turn LED lights on / off (red, yellow, green, and blue), detect light / dark, several sliders for temperature, humidity and pressure, and finally, they can ring an incredibly obnoxious buzzer. This application is based on work by primeteacher.
Package: ppsetuptools
ppsetuptools => pyproject setuptoolsA drop in replacement for python setuptools that uses pyproject.toml files
for python 3.6+ projectsUsageTo install runpip install ppsetuptoolsin your project.Place your project settings in the[project]table of your pyproject.toml.
Also ensure thatppsetuptoolsis included in your[build-system]table
in therequireslist.Replace setuptools import in yoursetup.pywith an import of ppsetuptools.
ppsetuptools exposes all functions from setuptools, and in addition will map
yourpyproject.tomldata to the call tosetuptools.setupfor you (via
PEP-621 compliant entries).Examplepyproject.toml[project]name='my_package'project_name='my_package'version='1.0.0'readme='README.md'install_requires=['setuptools','toml']include_package_data=true[build-system]requires=['setuptools >= 40.8.0','wheel >= 0.35.1','toml >= 0.10.1']build-backend='setuptools.build_meta'Examplesetup.pyfromppsetuptoolsimportsetupsetup()File locationsAs of now, the library attempts to find apyproject.tomlfile in the same
directory as the python file that called it. So if calling directly fromsetup.py, ensure that yourpyproject.tomlfile is in the same directory.As well any file references (such as thereadme) will attempt to be followed
from this location.E.g., if including aredme = 'README.md'value, ppsetuptools will look forREADME.mdin the same directory as the file that called it.Function supportAs of now, ppsetuptools does not support calculated values within thepyproject.tomlfile. If calculated values are needed, ppsetuptools
will combine the args passed to thesetupcall with the values in thepyproject.tomlfile, so you may call setup like so, and it will still use yourpyproject.tomlvalues in addition to the passed values.fromppsetuptoolsimportsetup,find_packagessetup(find_packages(exclude=['tests']))
Package: pps-gui
pps_guiThe emulator code to be imported into a student's program.  Works with the pps_gui simulator package.  Together, they give a student an environment where they can get readings from a simulated hardware device, maybe like a Raspberry Pi, maybe not.  Either way, students will have access to check for button pushes (4 buttons), turn LED lights on / off (red, yellow, green, and blue), detect light / dark, several sliders for temperature, humidity and pressure, and finally, they can ring an incredibly obnoxious buzzer. This application is based on work by primeteacher.
Package: ppsi
GistSource Code RepositoryRepositoryDocumentationBadgesDescriptionA person-python-sway interfaceWhat does it doprovides a python interface for:workspace-specific keybindings forworkspace’s default app: triggered by$mod+Shift+Returnworkspace-specific customizable appsremote [ssh/waypipe]password-manager [pass]wifi [nmcli]bluetooth [bluez]reboot [systemd]poweroff [systemd]volume [pactl] with feedbackbrightness [ light] with feedbacka customizable pspbar (an info-bar) showing:Workload (only if heavy)OS NameNetwork SpeedsCurrent IP (interactive)RAM UsageCPU UsageCore TemperatureBattery (interactive)Time (interactive)
Package: ppski-distributions
ppski-distributions packageA package intended for practice with PyPi. The files are unoriginal and copied from the Udacity Machine Learning Engineer Nanodegree course.Use>>> from ppski_distributions import Gaussian, Binomial
>>> Gaussian(10,7)
mean 10, standard deviation 7
>>> from ppski_distributions import Binomial
>>> Binomial(.4, 25)
mean 10.0, standard deviation 2.449489742783178, p 0.4, n 25FilesBinomialdistributionGaussiandistributionGeneraldistributionInstallationpip install ppski-distributions
Package: ppslack
ppslackTool to send Slack messagesPyPI package:ppslackFeel free to open aGitHub issueif you spot a problem or have an
improvement idea. I will be happy to look into it for you.InstallationThe package is available in PyPI and can be installed using pip:$ pip install --user ppslack
$ ppslack --helpOnce installed, a command line toolppslackwill be available in your system's PATH.ConfigurationBy default, the tool reads its configuration from~/.config/ppslackfile (the
location can be overridden by setting environment variableXDG_CONFIG_HOME).The config file should look like this:[default]
slack_key=xxx
email_domain=example.comUsage - Help$ ppslack --help
usage: ppslack [--version] [--help] [--debug] [--verbose] [-f SENDER] -t RECIPIENTS [RECIPIENTS ...] [-s SUBJECT] [-S] [-H]

Tool to send Slack messages

optional arguments:
  --version             show program's version number and exit
  --help                show this help message and exit
  --debug               debugging mode
  --verbose             verbose debugging mode
  -f SENDER, --from SENDER
                        sender
  -t RECIPIENTS [RECIPIENTS ...], --to RECIPIENTS [RECIPIENTS ...]
                        recipient
  -s SUBJECT, --subject SUBJECT
                        subject
  -S, --slack           Slack message (keeping for backward compatibility)
  -H, --code            send code blockUsage - CLI$ echo 'The king is dead, long live the king!' \
  | ppslack -Hf 'Jon Snow' \
  -t 'arya.stark@winterfell.com' \
  -s 'Re: secret message'Usage - Python modulefrom ppslack import Slack

slack = Slack()

status = slack.send(
    sender='Jon Snow',
    recipients=['arya.stark@winterfell.com'],
    subject='Re: secret message',
    message='The king is dead, long live the king!',
    code=True
)
Package: pps-python
ppscorePredictive Power Score(currently working on this)A score that helps identifying linear and non-linear relations between features/attributes.Because I was unable to find the option to explicitly mention categorical and numerical features in one of the libraries offering ppscore, which was leading to regression in case of categorical attribute. PyCustom.pps will rectify this issue (At Least that is the vision currently).To install this library use:pip install pps-pythonTo use Predictive Power Score, import the following:from pps.ppscore import pps
Package: ppt
PPT - The Python Performance Tunerpptis a tool for tuning the performance of Python programs.InstallpipinstallpptExampleTimingimportpptimporttimeif__name__=='__main__':for_inrange(10):ppt.time('big')time.sleep(0.5)# Big computationppt.time('medium')time.sleep(0.3)# Medium computationppt.time('fast')time.sleep(0.01)# Fast computation# Stop current timingppt.stop()# Print current timingsppt.summary()# Detailed statistics from pstatsppt.stats()Outputbig: 40 function calls in 5.006 seconds
medium: 40 function calls in 3.003 seconds
fast: 40 function calls in 0.101 seconds
********** big **********
         40 function calls in 5.006 seconds

   Ordered by: cumulative time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       10    5.005    0.501    5.005    0.501 {built-in method time.sleep}
       10    0.000    0.000    0.000    0.000 /home/seba-1511/Dropbox/Dev/perf/ppt/profiler.py:42(time)
       10    0.000    0.000    0.000    0.000 /home/seba-1511/Dropbox/Dev/perf/ppt/profiler.py:17(stop)
       10    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}


********** medium **********
         40 function calls in 3.003 seconds

   Ordered by: cumulative time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       10    3.003    0.300    3.003    0.300 {built-in method time.sleep}
       10    0.000    0.000    0.000    0.000 /home/seba-1511/Dropbox/Dev/perf/ppt/profiler.py:42(time)
       10    0.000    0.000    0.000    0.000 /home/seba-1511/Dropbox/Dev/perf/ppt/profiler.py:17(stop)
       10    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}


********** fast **********
         40 function calls in 0.101 seconds

   Ordered by: cumulative time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
       10    0.101    0.010    0.101    0.010 {built-in method time.sleep}
        9    0.000    0.000    0.000    0.000 /home/seba-1511/Dropbox/Dev/perf/ppt/profiler.py:42(time)
       10    0.000    0.000    0.000    0.000 /home/seba-1511/Dropbox/Dev/perf/ppt/profiler.py:17(stop)
        1    0.000    0.000    0.000    0.000 /home/seba-1511/Dropbox/Dev/perf/ppt/profiler.py:53(stop)
       10    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}PlottingThe following start a Visdom server and plots 4 lines of random samples.importpptimportrandom,timeif__name__=='__main__':ppt.plot(1)ppt.plot(1)ppt.plot(1)ppt.plot(1)foriinrange(10):forsessionin['a','b','c','d']:time.sleep(0.2)ppt.plot(random.random(),session)ppt.close()
Package: ppt2img
Convert specific ppt slides to images in linux, Ubuntu & WindowsHi there!My name is Shrinivaasan, 19. Heads up to you, this is my first library.For a project I needed to convert ppt slides to jpg images in a linux instance,
but I was surprised to know that there was
no package to convert slides into images in Linux & Ubuntu.Hence decided to create a package myself
that will work on linux, ubuntu, windows using just 2 external libraries which are also comaptible with linux & ubuntuUsagepip install ppt2imgmake sure you install python-pptx and download libreofficeFollowing have to be installedLibrary         Command to install
-------         -----------------
python-pptx      (pip install python-pptx)
libreoffice      (sudo apt install libreoffice or 
                  download it from libreoffice.org)In version 0.0.1 there is only one function,ppt2img(inputppt,slideno,outputpath,imgformat,sofficepath)Expalanation of the function ppt2img()inputppt : Path of source pptx. Should be in quotes like 'C:\Users\Dell\test.pptx'slideno : Is a number(natural numbers only i.e 1,2,3,4,5,6,7 that it numbers from 1 increasing by 1)outputpath : Path image output folder .Should be in quotes like 'C:\Users\Dell\imgoutput'imgformat : Format of image. Should be in quotes and in lowercase like 'png' or 'jpg' 'jpeg'sofficepath :a) In Windows/Linux computer :Path of LibreOffice installation. Generally stored at C:\ProgramFiles folder
          Very Imp: Should be in double quotes like "C:\Program Files\LibreOffice\program\soffice.exe"
          Example: to get the 2nd slide as image;

                  ppt2img('./ppt/test.pptx',2,'./imgoutput','jpg',"C:\Program Files\LibreOffice\program\soffice.exe")


       b) In Online Editor like Colab or Datalore: just type 'soffice' in the function in single quotes .
          Example:to get the 2nd slide as image;

                 ppt2img('./ppt/test.pptx',2,'./imgoutput','jpg','soffice')Contact me at :shravanshravan10@gmail.com
Package: ppt2pdf
PPT2PDFA command line tool to convert PowerPoint (PPT/PPTX) files to Adobe PDF.For a single file simply runppt2pdf file input.pptFor converting multiple files in a directory runppt2pdf dir .use -s/--select flag to select the files in directoryPowerPoint to PDFA set of Python scripts to convert PowerPoint (PPT/PPTX) files to Adobe PDFConvert.py - Converts a PowerPoint (PPT/PPTX) file into an Adobe PDFConvertAll.py - Converts all PowerPoint (PPT/PPTX) files in a folder into Adobe PDFsConvertHere.py - Converts all PowerPoint (PPT/PPTX) files the working folder into Adobe PDFsPlease see each script for full instructions on how to use the script.My Implemenation of the Scripts
Package: ppt2txt
ppt2txtA pure python based utility to extract text from PPT files.The code is based on the official documentation for MS-PPT files available athttps://msopenspecs.azureedge.net/files/MS-PPT/%5bMS-PPT%5d.pdf.How to install?pipinstallppt2txtHow to run?From command line:ppt2txtfile.ppt-ooutput_dirFrom python:importppt2txt# extract contentparsed_ppt_dict=ppt2txt.process("file.ppt")Outputparsed_ppt_dictis a dictionary with the following structure:{"filename":"file.ppt","slides":4,"content":{"0":"Text from the first record","1":"Text from the second record"}}where:filenameis the name of the input fileslidesis the number of slidescontentis a dictionary containing an element for each record of type text found in the document
Package: pptemp
PPTempPPTemp is a wrapper forpython-pptx.
It enables you to make powerpoint files in a simple python commands.Installationpipinstallgit+https://github.com/Ameyanagi/pptempUsagefrompptempimportpptemp# Initializationpresentation=pptemp()# Initialization with templatepresentation=pptemp(template="./sample/template.pptx")# Titlepresentation.add_title_slide("Title","Subtitle")# Create Blank Slide with title on the toppresentation.add_content_slide("Title of the slide")# Create slides from figurespresentation.add_figure_slide()# Create slides from figures with label# Set use_bar=False if you don't want the bars to appearpresentation.add_figure_label_slide(dir_path="./sample/fig/*/")presentation.add_figure_label_slide(dir_path="./sample/fig/*/",use_label=False)# Savepresentation.save("./test.pptx")add_figure_label_slide()add_figure_slide() and add_figure_label_slide() are use to import figures automatically from the "./fig" directory.It will search figures specified by dir_path and img_path.dir_path = "./fig/*/"
img_path = "*.png"By Default, the title of the slides are taken from the dir_path and img_path."_" and "." are used as a separator.If dir_path = "./fig/01_test/", then the title will be "test".
If img_path = "01_test.png", then the label will be "test".To change where to look for the title and label, you can use the following arguments.file_regex = re.compile(r".*[_/\\](.*)\.[a-zA-Z]+")
dir_regex = re.compile(r".*[_/\\](.*)[/\\]")Samples# Basic samplepythonsample1.py# Samples using template-slides# You need to prepare template pptx files without any slides. If there is a slide, new slides will be appended.pythonsample2_using_template.py
Package: pptestdenislepkowski
pptestdenislepkowski- My simple first project on PyPiOp1Op2Op3InstallpipinstallpptestdenislepkowskiUsagefrompptestdenislepkowski.m_mod_pptestimportnameasn>>>n("Name","Surname")Witaj:NameSurname>>>get_numpy_arr([1,2,3,4,5])[12345]
Package: pptestgosiaprzybysz
'pptestgosiaprzybysz' - my simple first project on PyPiOp1Op2Op3Install'''python
pip install pptestgosiaprzybysz
'''Usage'''python
from pptestgosiaprzybysz.m_mod_pptest import name as nn("Name", "Surname")
Witaj: Name Surname
get_numpy_arr([1, 2, 3, 4, 5])
[1 2 3 4 5]
'''
Package: pptestkarolchrapczynski
pptestkarolchrapczynski- My simple first project on PyPiOp1Op2Op3InstallpipinstallpptestkarolchrapczynskiUsagefrompptestkarolchrapczynski.m_mod_pptestimportnameasn>>>n("Name","Surname")Witaj:NameSurname>>>get_numpy_arr([1,2,3,4,5])[12345]
Package: pptestkrzysiekmarut
pptestkrzysiekmarut- My simple first project on PyPiOP1Op3Op2InstallpipinstallpptestkrzysiekmarutUsagefrompptestkrzysiekmarut.m_mod_pptestimportnameasn>>>n("Write your name")Witaj:NameSurname>>>get_numpy_arr([1,2,3,4,5])[1,2,3,4,5]
Package: pptestmarcinsiatkowski
pptestmarcinsiatkowski- My simple firt project on PyPiOp1Op2Op3InstallpipinstallpptestmarcinsiatkowskiUsagefrompptestmarcinsiatkowski.m_mod_pptestimportnameasn>>>n("Name","Surname")Witaj:NameSurname>>>get_numpy_arr([1,2,3,4,5])[1,2,3,4,5]
Package: pptestmariuszowczarek
pptestmariuszowczarek- My simple project on PyPIOp1Op2Op3installpipinstallpptestmariuszowczarekusagefrompptestmariuszowczarek.m_mod_pptestimportnameasn>>>n('Name',"Surname")Witaj:NameSurname>>>get_np_arr([1,2,3,4,5])[12345]
Package: pptestmateuszlis
pptestmateuszlis- My simple first project on PyPIOp1Op2Op3InstallpipinstallpptestmateuszlisUsagefrompptestmateuszlis.m_mod_pptestimportnameasn>>>n("Name","Surname")Witaj:NameSurname>>>get_numpy_array([1,2,3,4])[1,2,3,4]
Package: pptestmichalkowalewski
pptestmichalkowalewski - My simple first project on PyPiOp1Op2Op3InstallpipinstallpptestmichalkowalewskiUsagefrompptestmichalkowalewski.m_mod_pptestimportnameasn>>>n("Name","Surname")Witaj:NameSurname>>>get_numpy_arr([1,2,3,4,5])[12345]
Package: pptestopawell
pptestopawell- My simple first project at PyPIOp1 nameOp2 get_numpy_arrOp3Op4InstallpipinstallpptestopawellUsagefrompptestopawell.m_mod_pptestimportnameasn>>>n("name","surname")Witaj:Name,Surname>>>get_numpy_arr([1,2,3,4,5])[1,2,3,4,5]End termsnone
Package: pptestpiotrekpieron
pptestpiotrekpieron- My simple first project on PyPiOp1Op2Op3InstallpipinstallpptestpiotrekpieronUsagefrompptestpiotrekpieron.m_mod_pptestimportnameasn>>>n("Name","Surname")Witaj:NameSurname>>>get_numpy_arr([1,2,3,4,5])[12345]
Package: pptestszymonradosz
pptestszymonradosz- My simple first project on PyPIOp1Op2Op3InstallpipinstallpptestszymonradoszUsagefrompptestszymonradosz.m_modpptestimportnameasn>>>n("Name","Surname")Witaj:NameSurname>>>get_numpy_arr([1,2,3,4,5])[12345]
Package: pptg
pptgpython package template for publish to pypimkdirpptgcdpptg
pdminitinit projectpipinstallpdm--upgrade
pipxinstallpdm--upgrade

pdminit
pdmrunpython-mensurepip
pdmrunpython.exe-mpipinstall--upgradepip

pdmadd-dGtestpytestpytest-covpytest-mockcoverage
pdmadd-dGlintruffmypy
pdmadd-dGfmtruff
pdmadd-dGdocsmkdocs
pdmadd-dGallpytestpytest-covpytest-mockcoverageruffmypymkdocs
pdmpluginaddpdm-publish

pdmlist
pdmlist--graph
pdmlistpytest--graph# 更新所有的 dev 依赖pdmupdate-d# 更新 dev 依赖下某个分组的某个包pdmupdate-dGtestpytest

如果你的依赖包有设置分组，还可以指定分组进行更新

pdmupdate-Gformat-Gdocs
也可以指定分组更新分组里的某个包

pdmupdate-Gformatyapfinit existed projectpdminstall
pdmrunpython-mensurepip
pdmrunpython.exe-mpipinstall--upgradepippublish packageconfig_path:"C:\Users\lgf\AppData\Local\pdm\pdm\config.toml"pdmconfigrepository.pypi.username"__token__"pdmconfigrepository.pypi.password"my-pypi-token"pdmconfigrepository.testpypi.username"__token__"pdmconfigrepository.testpypi.url"https://test.pypi.org/legacy/"pdmconfigrepository.testpypi.password"my-testpypi-token"pdmconfigrepository.company.url"https://pypi.company.org/legacy/"pdmconfigrepository.company.ca_certs"/path/to/custom-cacerts.pem"pdmconfig-drepository.testpypi.username
pdmconfig-drepository.testpypi.username
pdmconfig-drepository.testpypi.username
Package: pptm
ppt (package pptm)Documentation:https://Michael-Cohen.github.io/pptSource Code:https://github.com/Michael-Cohen/pptPyPI:https://pypi.org/project/pptm/A short description of the projectInstallationpipinstallpptmDevelopmentClone this repositoryRequirements:PoetryPython 3.7+Create a virtual environment and install the dependenciespoetryinstallActivate the virtual environmentpoetryshellTestingpytestDocumentationThe documentation is automatically generated from the content of thedocs directoryand from the docstrings
of the public signatures of the source code. The documentation is updated and published as aGithub project pageautomatically as part each release.ReleasingTrigger theDraft release workflow(pressRun workflow). This will update the changelog & version and create a GitHub release which is inDraftstate.Find the draft release from theGitHub releasesand publish it. When
a release is published, it'll triggerreleaseworkflow which creates PyPI
release and deploys updated documentation.Pre-commitPre-commit hooks run all the auto-formatters (e.g.black,isort), linters (e.g.mypy,flake8), and other quality
checks to make sure the changeset is in good shape before a commit/push happens.Installpre-commitwith:poetryaddpre-commitYou can then install the hooks with (runs for each commit):pre-commitinstallOr if you want them to run only for each push:pre-commitinstall-tpre-pushOr if you want e.g. want to run all checks manually for all files:pre-commitrun--all-filesBecause the pre-commit includes a hook for commit messages (commitizen), you should also run:pre-commitinstall--hook-typecommit-msgThis project was generated using thewolt-python-package-cookiecuttertemplate.
Package: pptop
ppTOPProject home:https://pptop.bma.ai/ppTOP is open, extensible Python injector/profiler/analyzer.The main idea is to inject a custom code inside Python process (already running
or going to be launched) and analyze its behavior with no any code
modifications.Say no to "prints" and garbage in debug logs - now you have ppTOP. A modern MRI
scanner for Python.Installationpip3 install pptopPython: 3.5+ is required, as ppTOP uses asyncioCan be injected into any Python version (tested: 2.7+)Injection into running processes requiresgdb(present in almost
all Linux distributions)Only Linux systems are currently supportedFeaturesppTOP can be injected into any running Python processor you can load Python program manually and profile its launchTo launch a program, pressCtrl+Lor specify-w secparam in command line
args to start it automatically after the specified delay.Data from connected process is collected in real-time and displayed in
table-based console UI, which can be easily extended with custom plugins.All data tables can be scrolled, filtered, new data collection can be paused.
In case of problems, any plugin can be re-injected at any time.UsageTo start ppTOP, typepptopand then select Python process you want to inject to from the list.Alternatively, you can start it withpptopPID# orpptopPID-FILEand specify the process from the command line.If you want to analyze program startup, just typepptop/path/to/program.pyThe program will be loaded in waiting state, pressCtrl+Lwhen you are ready.To get a help for the current plugin, pressF1to display module
documentation.ConfigurationPlugins and keyboard shortcuts are configured by default in~/.pptop/pptop.ymlfile (created automatically at first launch).Standard pluginsasyncioasyncio loop monitorataskerataskermonitorenvview process OS environment variablesloginject into all Python loggers and collect log messagesmalloctrace object memory allocationsneotaskerneotaskermonitoropen_filesview process open filesscript_runnerlaunch a custom scripts inside processthreadsview process threadsvarsvariable/function watcheryappiyappiprofiler pluginMost of plugins contain 2 parts of code: one collects data inside profiling
process, other display it in ppTOP UI. For the profiling process all plug-ins
are invisible, safe and unloadable (at least they try their best :)Console modeWith "`" button, remote Python console can be opened. It has no full
functionality like a standard Python console, but supports all frequently used
features, like importing modules, defining functions and variables,
executing functions and loops etc.Console has own remoteglobals, which are preserved until ppTOP quit and
injected server is terminated.Grab stdout/stderrIf launched with "-g" option, ppTOP will grab stdout/stderr of injected process
and print it to local console. You can view local console without entering
console mode, by pressingCtrl+O.DocumentationConfiguration, troubleshooting, advanced usage, plugin development:https://pptop.bma.ai/doc/TODOMore pluginsAdvanced filteringData snapshotsStep-by-step debuggerJSON API, web interfaceChartsEnjoy! :)p.s. Code inmastercan be completely broken, install withpiponly.