Saravanan666/pypi-org huggingface dataset:
Package: pypozyx
A Python library to work with the pozyx indoor positioning system over USB.This library works with both Python 2 and 3.PrerequisitesDownload and install Python. On Windows, make your life easier and make sure Python is in your PATH. A recommended install is therefore theAnaconda Suiteby Continuum. If you’re going to follow the tutorials, you’ll need to install Python 3 for the python-osc support.Install the PySerial package. If you have pip installed, you can do this by writingpip install pyserialin your command line interface (cmd on Windows).Windows onlyinstallST’s virtual COM driver. After running this installer, please run the correct driver package for your system, located in “C:\Program Files (x86)\STMicroelectronics\Software\Virtual comport driver”. Choose Win7 if you run Windows 7 or older. Choose Win8 for Windows 8 or newer. Run “dpinst_amd64.exe” on a 64-bit system, “dpinst_x86.exe”on a 32-bit system.Installing this packageJust runpip install pypozyxPyPozyx is now installed. To check whether it is: if you followed all the steps correctly, and know which port your Pozyx is on, the following code should work:frompypozyximportPozyxSerialport='COMX'# on UNIX systems this will be '/dev/ttyACMX'p=PozyxSerial(port)If your port is correct and the serial connection to the Pozyx isn’t used by other software, this will run without any errors.But! How do I know what port my Pozyx is on?You can see the COM ports on your system easily using Python with:python-c"from pypozyx import*;list_serial_ports()"NEWYou can quickly find whether there’s a recognized Pozyx device using:python-c"from pypozyx import*;print(get_first_pozyx_serial_port())"Documentation and examplesYou can find the Python tutorials on our site. You probably got here fromthe getting started pageDocumentation can be foundhere.This was originally a port of the Pozyx’s Arduino library, so most of theArduino Library Documentationis transformable to this. The major difference is that you don’t ever again need to pass along the length of the data you’re reading/writing. This is taken care of by the library through the Data and SingleRegister classes like so:whoami=SingleRegister()pozyx.regRead(POZYX_WHO_AM_I,whoami)# which is pozyx.getWhoAmI(whoami)SingleRegister(value=0, size=1, signed=1)is basically an instanceData([0], ‘B’), which functions as a single uint8_t. If you want to make your custom data, for a single register you can adapt the size and signed parameters, and for larger data structures you can use your own data formats.Data([0]*3, ‘BHI’), for example, creates a structure of 1 uint8_t, uint16_t and uint32_t. Writing and reading data using this example as a parameter will automatically read/write 7 bytes worth of data. To specify your own data formats, check thestruct package documentation for Python 3orPython 2.A more pythonic library would be nice, but isn’t in the works.More usage examples can be found in theusefulandtutorialsfolders of the repository.
Package: pypozyx-i2c
A Python library to work with the pozyx indoor positioning system over USB.This library works with both Python 2 and 3.NOTE: Temporary version with I2C support, needs testing.PrerequisitesDownload and install Python. On Windows, make your life easier and make sure Python is in your PATH. A recommended install is therefore theAnaconda Suiteby Continuum. If you’re going to follow the tutorials, you’ll need to install Python 3 for the python-osc support.Install the PySerial package. If you have pip installed, you can do this by writingpip install pyserialin your command line interface (cmd on Windows).Windows onlyinstallST’s virtual COM driver. After running this installer, please run the correct driver package for your system, located in “C:\Program Files (x86)\STMicroelectronics\Software\Virtual comport driver”. Choose Win7 if you run Windows 7 or older. Choose Win8 for Windows 8 or newer. Run “dpinst_amd64.exe” on a 64-bit system, “dpinst_x86.exe”on a 32-bit system.Installing this packageJust runpip install pypozyxPyPozyx is now installed. To check whether it is: if you followed all the steps correctly, and know which port your Pozyx is on, the following code should work:frompypozyximportPozyxSerialport='COMX'# on UNIX systems this will be '/dev/ttyACMX'p=PozyxSerial(port)If your port is correct and the serial connection to the Pozyx isn’t used by other software, this will run without any errors.But! How do I know what port my Pozyx is on?You can see the COM ports on your system easily using Python with:python-c"from pypozyx import*;list_serial_ports()"NEWYou can quickly find whether there’s a recognized Pozyx device using:python-c"from pypozyx import*;print(get_first_pozyx_serial_port())"Documentation and examplesYou can find the Python tutorials on our site. You probably got here fromthe getting started pageDocumentation can be foundhere.This was originally a port of the Pozyx’s Arduino library, so most of theArduino Library Documentationis transformable to this. The major difference is that you don’t ever again need to pass along the length of the data you’re reading/writing. This is taken care of by the library through the Data and SingleRegister classes like so:whoami=SingleRegister()pozyx.regRead(POZYX_WHO_AM_I,whoami)# which is pozyx.getWhoAmI(whoami)SingleRegister(value=0, size=1, signed=1)is basically an instanceData([0], ‘B’), which functions as a single uint8_t. If you want to make your custom data, for a single register you can adapt the size and signed parameters, and for larger data structures you can use your own data formats.Data([0]*3, ‘BHI’), for example, creates a structure of 1 uint8_t, uint16_t and uint32_t. Writing and reading data using this example as a parameter will automatically read/write 7 bytes worth of data. To specify your own data formats, check thestruct package documentation for Python 3orPython 2.A more pythonic library would be nice, but isn’t in the works.More usage examples can be found in theusefulandtutorialsfolders of the repository.
Package: pypp
BenefitsThe primary benefit of pypp is improved readability of source code.
Furthermore, the template engine provides powerful macro functionality which helps save keystrokes whilst coding.FeaturesEase of use: just one import statementNo additional file to declare nor any change in file extension requiredOnce compilation is done, no runtime overheadFreshness check: compilation is only performed upon changes to source filesBased on theMakotemplate engineDrawbacksIncreases start-up timeSome template constructs confuse source code editor syntax highlight functionalityChangelog0.0.3Added ‘freshness’ check in order to save recompilesRemoved debug print statements0.0.2disabled template caching: (1) pypp is not optimizing start-up time (2) runtime time resources are optimized0.0.1Initial alpha release
Package: pyppbox
🐍📦pyppbox📗 Documentation|🚀 Getting started|💡 Examples|▶️ Demopyppboxis an all-in-one Python toolbox which can be used for detecting, tracking, and re-identifying people with only a few lines of codes. It is originally made forPoseTReID frameworkwhich can effectively track specific/certain people across multiple cameras or video scenes in distributed contexts of people interaction spaces such as malls or amusement parks, etc.pyppbox = Python + People + ToolboxDesign for both short and long term people detecting, tracking, and re-identifying.Integrate GUI for easy configurations and demo.Support dictionary and YAML/JSON configurations.Support[GTA_V_Dataset]-> Real-time online and offline evaluation.Check our papers: 1[IEEE]| 2[IEEE][arxiv]
Package: pyppbox-torchreid
CustomizedTorchreidforpyppboxTorchreidis a library for deep-learning person re-identification usingPyTorch.pyppbox-torchreidis a customizedTorchreidforpyppboxand:Ensures thatCythonnatively works on all OS platform (Windows/Linux/macOS),Enables freedom of passing local model/weight files from anywhere,Disables some models which are not used inpyppbox.All source credit and more info ->Original KaiyangZhou's repo.InstallUseWheels from releasesor directly install fromPyPI:pip install pyppbox-torchreidOr install from GitHub directly:pip install git+https://github.com/rathaumons/torchreid-for-pyppbox.gitTo be able to run, you must installOpenCVandPyTorch; for example, with GPU support:pip install opencv-contrib-python
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118Note:PyTorchdoesn't support GPU on macOS.Build from source(Optional, auto install) Building Wheels or source distribution only requires these modules:pip install "setuptools>=67.2.0"
pip install "Cython>=0.29.32"
pip install "numpy>=1.23.5"Recommend usingbuildfor building both.whland.tar.gz:git clone https://github.com/rathaumons/torchreid-for-pyppbox/
cd torchreid-for-pyppbox
python -m pip install --upgrade pip
pip install wheel build
python -m build --sdist
python -m build --wheel
cd distAfter you installpyppbox-torchred,OpenCVandPyTorch, you can check if Cythonrank_cyworks:cd pyppbox_torchreid/metrics/rank_cylib
python test_cython.py
Package: pyppbox-ultralytics
Customized Ultralytics forpyppboxUpdated:February 7, 2024Synced with: v8.1.10 ->[da40839]All credit and info ->[Original Ultralytics repo]What customized:Enable OpenCV multithreadingRemove restrictions on customized OpenCVDisable dependency auto-installDisable auto updateInstallationInstall fromPyPI:pip install pyppbox-ultralyticsOr install from GitHub directly:pip install git+https://github.com/rathaumons/ultralytics-for-pyppbox.gitOr build from source:git clone https://github.com/rathaumons/ultralytics-for-pyppbox.git
cd ultralytics-for-pyppbox
python -m pip install --upgrade pip
pip install "setuptools>=67.2.0"
pip install -r requirements.txt
pip install wheel build
python -m build --wheel --skip-dependency-check --no-isolatio
cd dist
Package: pyppd
pyppdis a CUPS PPD generator. It holds an compressed archive of PPDs, which
can be listed and retrieved only when needed by CUPS, saving disk space.InstalationTo installpyppd, you can use:# pip install pyppdOr download the source package, uncompress, and run as root:# python setup.py installIt depends on Python 2.x or 3.x (http://www.python.org) and XZ Utils
(http://tukaani.org/xz/).UsageAt first, you have to create a PPD archive. For such, put all PPDs (they might
be gzipped) you want to add in the archive inside a single folder (which can
have subfolders), then run:$ pyppd /path/to/your/ppd/folderIt’ll createpyppd-ppdfilein your current folder. This executable only
works with the same Python version that you used to generate it. You can test
it by running:$ ./pyppd-ppdfile listAnd, for reading a PPD from the archive, simply do:$ ./pyppd-ppdfile cat pyppd-ppdfile:MY-PPD-FILE.PPDFor CUPS to be able to use your newly-created archive, copypyppd-ppdfileto/usr/lib/cups/driver/and you’re done.The generatedpyppd-ppdfilecan be arbitrarily renamed, so that more than
one packed repository can be installed on one system. This can be useful if
you need a better performance, be it in time or memory usage. Note that also
the PPD URIs will follow the new name:$ ./pyppd-ppdfile list
pyppd-ppdfile:LasterStar/LaserStar-XX100.ppd
$ mv pyppd-ppdfile laserstar
$ ./laserstar list
laserstar:LaserStar/LaserStar-XX100.ppdContributorsTill Kamppeter- Original idea, mentoring and feedback. User #0.Hin-Tak Leung- Lots of technical suggestions.Martin Pitt- Python 3 port.Flávio RibeiroandDiógenes Fernandes- Refactorings and general Python’s best practices tips.Google’s OSPO- Initial funding at GSoC 2010.IssuesAdd unit tests.When testing if the PPD generated from the *Product line already exists in a
*1284DeviceID line, we do a case-sensitive test. I think it should be case-
insensitive.Generate manpage.
Package: pyppeteer-ghost-cursor
THIS PROJECT IS NO LONGER ACTIVE. PLEASE USEpython_ghost_cursorINSTEAD.Pyppeteer Ghost CursorPython port ofXetera/ghost-cursor, for use with pyppeteer.Generate realistic, human-like mouse movement data between coordinates or navigate between elements with puppeteer
like the definitely-not-robot you are.Installationpip install pyppeteer_ghost_cursorUsageGenerating movement data between 2 coordinates.frompyppeteer_ghost_cursorimportpathstart={"x":220,"y":402,}end={"x":902,"y":1032,}route=path(start,end)# [#   { "x": 100, "y": 100 },#   { "x": 108.75573501957051, "y": 102.83608396351725 },#   { "x": 117.54686481838543, "y": 106.20019239793275 },#   { "x": 126.3749821408895, "y": 110.08364505509256 },#   { "x": 135.24167973152743, "y": 114.47776168684264 }#   ... and so on# ]Usage with pyppeteer:frompyppeteer_ghost_cursorimportcreateCursorimportpyppeteerasyncdefmain(url):selector="#sign-up button"browser=awaitpyppeteer.launch(headless=False)page=awaitbrowser.newPage()cursor=createCursor(page)awaitpage.goto(url)awaitpage.waitForSelector(selector)awaitcursor.click(selector)More infoThe original repo givesa description of some of the cool features, along witha good explanation of how it works.
Package: pyppeteerstealth
pyppeteerstealthA bunch of hacks from different websitesDoes not yet passhttps://arh.antoinevastel.com/bots/areyouheadlessIf you know what is missing, please make a PR!If you compare loadinghttps://arh.antoinevastel.com/bots/in your application, versus in your browser you might be able
to see what is required to get the fingerprint closer to a "normal" browser (further away from a "headless" browser)This is intended to be used withhttps://github.com/dgtlmoon/pyppeteer-ngand is also part of thehttps://changedetection.ioproject.browser=awaitpyppeteer_instance.connect(browserWSEndpoint="ws://127.0.0.1:3000",ignoreHTTPSErrors=True)self.page=(pages:=awaitbrowser.pages)andlen(pages)orawaitbrowser.newPage()awaitself.page.setUserAgent("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36")try:frompyppeteerstealthimportinject_evasions_into_pageexceptImportError:logger.debug("pyppeteerstealth module not available, skipping")passelse:awaitinject_evasions_into_page(self.page)response=awaitself.page.goto("https://example.com",waitUntil="load")Last report fromhttps://bot.sannysoft.com/
Package: pyppeteer-stealth
pyppeteer-stealthTransplanted frompuppeteer-extra-plugin-stealth,Not perfect.Install$ pip install pyppeteer_stealthUsageimportasynciofrompyppeteerimportlaunchfrompyppeteer_stealthimportstealthasyncdefmain():browser=awaitlaunch(headless=True)page=awaitbrowser.newPage()awaitstealth(page)# <-- Hereawaitpage.goto("https://bot.sannysoft.com/")awaitbrowser.close()asyncio.get_event_loop().run_until_complete(main())Argsstealth(page:Page,run_on_insecure_origins:bool=False,languages:[str]=["en-US","en"],vendor:str="Google Inc."user_agent:str=None,locale:str="en-US,en",mask_linux:bool=True,webgl_vendor:str="Intel Inc.",renderer:str="Intel Iris OpenGL Engine",disabled_evasions:list=[],)List of valid evasion names to pass intodisabled_evasions:['chrome_app','chrome_runtime','iframe_content_window','media_codecs','sourceurl','navigator_hardware_concurrency','navigator_languages','navigator_permissions','navigator_plugins','navigator_vendor','navigator_webdriver','user_agent_override','webgl_vendor','window_outerdimensions']Test resultsPyppeteer without stealthheadlessheadfulPyppeteer with stealthheadlessheadful
Package: pyppi
PyPPI (Python Private Package Index) is a Django application that provides a privatePython Package Index.
Originally forked from the DjangoPyPi  project, this project gets ideas and code from
chishop and DjangoPyPi2.The reason of this project is that in big environment we need features not provided by the orginal packages:Ability to allow/deny package registrationAbility to allow/deny package distribution uploadDifferent levels of visibility and access to the packagesCreate Teams with proper access levelProject InfoProject Page:https://github.com/saxix/pyppiBug Tracking:https://github.com/saxix/pyppi/issuesDocs:https://pyppi.readthedocs.org/en/latest/
Package: pyppin
pyppin: A toolkit of Python basicspyppin is a library of "basic components" that can be used in a wide range of contexts -- things
that could hypothetically live in a standard library, only there's no particular reason to put them
in there. It is essentially a box of tools that are slightly less common than the basics, but are
nonetheless damned useful in practice. If the main argument against adding something to the standard
library is "why does it need to be in there, as opposed to elsewhere?" and it's not big enough to
merit its own standalone package, this is a perfectly reasonable place to put it.You can find the current catalogue of tools inthe documentation. You can also directly browse thesource codeand theunittests, which are deliberately
heavily commented and meant to be readable!
Package: pyppium
PyppiumPyppium is an Appium-Python-Client wrapper for cross mobile testing. It helps you to save your time by reducing complexity, increasing efficiency
and also avoiding these boring and repetitive work problems. Assists you to focus on what really matters, like your business rules, and provides an
environment to start creating your application's screens and your test scenarios as fast as possible.Installation$ pip install pyppiumBasic UsageThe following code will give you the necessary to create a simple flow that searches for components on your application screen and perform an action.
Others components are supported based on the Appium usage, so feel free to explore and setup your own custom actions.frompyppium.fetcherimportfetch,iOS,AndroidclassScreenOne:_button_sign_in=fetch(iOS("id","buttonSignIn"),Android("id","button"))_input_username=fetch(iOS("id","inputUserName"),Android("id","username"))_input_password=fetch(iOS("id","InputPassword"),Android("id","pass"))deflogin(self,username,password):self._input_username.send_keys(username)self._input_password.send_keys(password)self._button_sign_in.click()After that, you can use the class above (ScreenOne) to create an specific scenario.
Note that you need to start Pyppium Driver.frompyppium.driverimportPyppiumDriverfromtests.e2e.screens.screenimportLoginScreen,WelcomeScreendeftest_android_basic_behaviours():username="Lully"password="123456789"caps_android={"platformName":"Android","automationName":"uiautomator2","deviceName":"Android Emulator","appPackage":"com.example.dummy","appActivity":"MainActivity","newCommandTimeout":0,}PyppiumDriver(caps_android)LoginScreen().login(username,password)assertusernameinWelcomeScreen().label_welcome_message()PyppiumDriver.quit()Documentationhttps://leomenezessz.github.io/pyppium/TestsRun all unity tests.$ toxSpecial ThanksPyppium count on many packages for trying to deliver a good framework. And of course, these packages are amazing!Appium-Python-ClientPyYAMLPytestAssertpyBlackPytest-mockPytest-covCodecovMkdocsToxMkdocs-materialLicenseThe MIT License (MIT)
Copyright (c) 2020 Leonardo MenezesPermission 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.
Package: pyppl-flowchart
pyppl_flowchartFlowchart generator forPyPPL.Installationpipinstallpyppl_flowchartUsageGenerating flowchart for your pipeline# process definitionPyPPL().start(...).flowchart(fcfile='/path/to/your/flowchart.svg').run()Hiding some processes from flowchart# Turn# p1 -> p2 -> p3 -> p4 -> p5p3.config.flowchart_hide=True# into:# p1 -> p2 -> p4 -> p5ThemingIn your configuration:[default.flowchart]theme="dark"# other configurationWe have two builtin themes:defaultanddark:You can also default your own theme in the configuration:[default.flowchart.theme]base={shape="box",style="rounded,filled",fillcolor="#ffffff",color="#000000",fontcolor="#000000"}start={style="filled",color="#259229"}end={style="filled",color="#d63125"}procset={style="filled",color:"#eeeeee"}edge={}edge_hidden={style="dashed"}# for links with hidden processes
Package: pyppl-jobtime
pyppl_jobtimeJob running time statistics forPyPPL.InstallationRequireRandggplot2.pipinstallpyppl_jobtimeAfter this plugin is installed, a file namedjob.timewill be created in each job directory with running time in seconds saved in it.Plotting the running time profilepyppljobtime--procpVcfFix--outfileprofile.pngUsing violin plot:pyppljobtime--procpVcfFix--outfileviolin.png--plottypeviolinChanging process names:pyppljobtime--outfileprocnames.png\--procpVcfFix--ggs.scale_x_discrete:dict\--ggs.scale_x_discrete.labels:listABC
Package: pyppl-require
pyppl_requireRequirement manager forPyPPL.InstallationIt requirespyppl_annotate.pipinstallpyppl_requireUsage>pypplrequire
Description:Processrequirementmanager

Usage:pypplrequire<--pipeAUTO>[OPTIONS]Requiredoptions:-p,--pipe<AUTO>-Thepipelinescript.

Optionaloptions:--install<AUTO>-Installtherequirements.Youcanspecifyadirectory(default:$HOME/bin)toinstallthe\requirements.Default:None-h,-H,--help-Showhelpmessageandexit.To allow your processes to be analyzed, you have to put a section in annotate usingtomlformat:pXXX.config.annotate="""@requires:[bedtools]validate: "bedtools --version"install: "conda install -c bioconda bedtools"# other annotations"""If you want define those commands using process properties and aggrs:pXXX.config.annotate="""@requires:[bedtools]validate: "{{args.bedtools}} --version"install: "conda install -c bioconda bedtools"# other annotations"""Install to a specify directory:pXXX.config.annotate="""@requires:[bedtools]validate: "{{args.bedtools}} --version"install: "conda install -c bioconda bedtools; ln -s $(which bedtools) {{bindir}}/bedtools"# other annotations"""{{bindir}}will be the directory passed to the command line.pypplrequire--pipe<yourpipeline>--install</path/to/bin>