Saravanan666/pypi-org huggingface dataset:
Package: wpcraft
wpcraftThis tool automatically downloads images fromhttps://wallpaperscraft.com/. The user can choose an image catalog or tag, andwpcraftwill randomly pick images that match these settings, download the image in the right resolution, and set their desktop wallpaper to the new image.Wallpapers can be marked as "liked", you can instructwpcraftto only pick wallpapers from the "liked" set.You can also configurewpcraftto automatically switch wallpapers e.g. every 6 hours.Created 2017-2018 by Rafał Cieślak and published under the terms of the GNU General Public License version 3, see full text in LICENSE.txt.Installationsudo pip3 install wpcraftUsageSwitch to another randomly selected wallpaper:$ wpcraft nextDisplay detailed information about current wallpaper:$ wpcraft status
Current wallpaper: night_city_top_view_buildings_clouds_118603
You like this wallpaper.
Tags: night city, top view, buildings, clouds
Image URL: https://wallpaperscraft.com/image/night_city_top_view_buildings_clouds_118603_1920x1080.jpg
Using images from catalog 'city', 3638 wallpapers available.
Automatically switching every 12 hours.Configurewpcraftto pick wallpapers from "nature" collection:$ wpcraft use catalog nature
Found 9706 wallpapers from catalog 'nature'.Configurewpcraftto choose wallpapers by their tag:$ wpcraft use tag "hong kong"
Found 15 wallpapers with tag 'hong kong'.Configurewpcraftto use search results for choosing wallpapers:$ wpcraft use search ferrari
Found 169 wallpapers in search results for 'ferrari'Configurewpcraftto only use wallpapers with user score at least 7.5:$ wpcraft min_score 7.5Mark a wallpaper as liked or disliked:$ wpcraft like
$ wpcraft dislikeUnmark a liked or disliked wallpaper:$ wpcraft unlikeConfigurewpcraftto pick wallpapers marked as "liked":$ wpcraft use likedShow liked/disliked wallpapers:$ wpcraft show liked
$ wpcraft show dislikedShow your favorite tags (based on your likes/dislikes):$ wpcraft show tags
You seem to like these tags:
city: 21
skyscrapers: 17
building: 12
night: 10
sky: 10
buildings: 9
bridge: 8
new york: 8
top view: 7
usa: 6
chicago: 5
river: 5
clouds: 4
hdr: 4
lights: 4
metropolis: 4Set a specific wallpaper by ID:$ wpcraft wallpaper architecture_city_view_from_above_buildings_river_118446Display wallpaper history:$ wpcraft show historyGo back to the previous wallpaper:$ wpcraft prevConfigurewpcraftto automatically switch to "next" wallpaper every 5 minutes / every 12 hours / every 7 days (wpcraftuses cron):$ wpcraft auto minutes 5
$ wpcraft auto hours 12
$ wpcraft auto days 7Stop automatically switching wallpapers:$ wpcraft auto disableForce redownload wallpaper index (there is no need to do use this command manually):$ wpcraft update
Package: wpcsys
OverviewWelcome toWPC Python driverAPI documentation. It is an easy-to-use open-source tool for beginners.
We provide excellent example codes to help you quickly get started with our products, connecting code to real-world usage. This makes it a great way to learn.Therefore, we highly recommend using our driver because it’s simple to use. Justopen,read/write, andclose- allowing you to access or update data with ease.
Adding WPC Python driver to your toolkit not only simplifies tasks but also provides a practical learning experience that bridges theory and real-world application.Last but not least, it’s a valuable resource for both learning and working efficiently.ArchitectureOur APIs support synchronous and asynchronous modes for computer processes or threads.Synchronous mode means that two or more processes run in a step-by-step manner, one after the other.In this mode, the execution of a process is blocked until the previous process is completed.Asynchronous mode means that processes run independently of each other and don’t wait for the completion of the previous process. Instead, each process runs on its own, without blocking the execution of other processes.In general, synchronous mode is easier to understand and debug, while asynchronous mode is more scalable and allows for greater concurrency.NoteMake sure the latest version of firmware is up to date with your products.Install and UpgradeInstallpipinstallwpcsysUpgradepipinstall--upgradewpcsysQuick StartEasy, fast, and just works!>>> from wpcsys import pywpc
>>> pywpc.PKG_NAME
pywpc
>>> pywpc.HANDLE_LIST
['DeviceFinder', 'WifiDAQE3A', 'WifiDAQF4A', 'STEM', 'EMotion', 'EDrive_ST', 'EthanA', 'EthanD', 'EthanI', 'EthanL', 'EthanO', 'EthanT', 'USBDAQF1D', 'USBDAQF1DSNK', 'USBDAQF1AD', 'USBDAQF1AOD', 'USBDAQF1TD', 'USBDAQF1RD', 'USBDAQF1CD']ReferencesGitHubDocumentation - WPC Python driverUseful conda commandsRun example code in consoleHow to build your own Python code to EXE fileHow to install miniconda and build your own virtual environmentLabVIEW Run-time engineLicenseWPC Python driveris licensed under an MIT-style license seeLICENSEOther incorporated projects may be licensed under different licenses.
All licenses allow for non-commercial and commercial use.
Package: wpdatabase2
py-wordpress-databaseA big call out to @cariad for the original version of this libraryA Python package that sets up a WordPress database.wpdatabase2will:Provide a way to check to see if the wordpress database already existsReturn the version details of the wordpress database (if it exists)Create the database, if it doesn't exist already.Create the WordPress user, if it doesn't exist already.wpdatabase2is idempotent; if the database and the user already exist then it will return successfully.Note thatwpdatabase2currently only supports MySQL databases.Installationpipinstallwpdatabase2Prerequisiteswpdatabase2assumes that the following properties have already been set in thewp-config.phpfile:PropertyDescriptionDB_HOSTHost or endpoint of the MySQL database server.DB_USERWordPress database user.DB_PASSWORDWordPress database password.If you need help adding these values towp-config.phpthen check outwpconfigr.Command-line usageIf you need to specify to the database's administrator username and password:python-mwpdatabase2--wp-config/www/wp-config.php\--admin-usernamegarnet\--admin-passwordloveIf you're deploying WordPress into Amazon Web Services (AWS) and have your administrator username and password held in Secrets Manager:python-mwpdatabase2--wp-config/www/wp-config.php\--admin-credentials-aws-secret-idAdminSecretID\--admin-credentials-aws-regioneu-west-1Library usageimportwpdatabase2wpdb=WpDatabase('path to wp-config.php')print(wpdb.get_database_version())DevelopmentTo install development dependencies:pipinstall-e.[dev]To run the tests:pythontest.py
Package: wpdatautil
wpdatautilwpdatautilis a Python 3.8 package with specific reusable utility functions for data processing.Installationpip install -U wpdatautilwill install the package but intentionally not any third-party requirements.
Given that the third-party package requirements can be numerous, and not all of them are relevant to most users, they can be installed as needed by a user.UsageThe implemented utilities are broadly organized by their primary third-party or builtin package requirement.
For example,.pandascontains utilities which primarily require thepandaspackage.
Similarly,.boto3.s3pathcontains utilities which require both theboto3ands3pathpackages.
Package: wpd.countdown
OverviewA portlet to display a countdown to the World Plone Day.RequirementsThis product works with Plone 4.xInstallationTo enable this product,on a buildout based installation:Edit your buildout.cfg and addwpd.countdownto the list of eggs to install[buildout]
...
eggs =
    wpd.countdownAfter updating the configuration you need to run the ‘’bin/buildout’’,
which will take care of updating your system.Go to the ‘Site Setup’ page in the Plone interface and click on the
‘Add/Remove Products’ link.Choose the product (check its checkbox) and click the ‘Install’ button.DevelopmentDevelopment of this product was done by:Simples ConsultoriaStarzel.deCreditsPhilip Bauer (pbauer at starzel.de) - Packaging, review, documentationSteffen Lindner (mail at steffen-lindner.de) - Update to Version 2Andre Nogueira (andre at simplesconsultoria.com.br) - Idea, layoutDavi Lima (davilima at simplesconsultoria.com.br) - Idea,
planning and lines of codeErico Andrei (erico at simplesconsultoria.com.br) - Packaging, i18nHistoryChangelog2.0 (2013-02-22)configlet for date and link
[Gomez]renamed from wpd.mmxi.countdown to wpd.countdown
[Gomez]1.1 (unreleased)add german transations [pbauer]make link translateable [pbauer]1.0 (2011-02-22)i18n support [erico_andrei]Countdown portlet [davilima]Initial release [erico_andrei]
Package: wpdetect
WP DETECTA WordPress detection tool, detects if a website is running WordPress. wpdetect is a great tool when you just want to check WordPress' presence but do not want to scan the site for vulnerabilities or issues.InstallationYou can install wpdetect using pip,pipinstallwpdetectwpdetect requires Python 3 or above to run. If you have Python 2 installed too, make sure to use the right pip.UsageOptionDescriptionurlThe URL to check. No need to pass theurlflag, just pass the actual domain or url.-f, --fileFile with a list of URLs to check.-v, --versionPrint the version.-ss, --show-signatureShow by which signature WordPress is detected in a domain.-q, --quietOnly print the detected domains.-sf, --scan-fullScan HTTP & HTTPS of the website for WordPress.Here's a few basic examples,wpdetect<website_url>Examplewpdetecthttps://wordpress.orgOr feed a text file with a list of domains, each domain should be separated with new lines.wpdetect-fsites.txtWheresites.txtwill contain domains like this,https://wordpress.org
https://www.newyorker.com/
http://www.techcrunch.com/Please note that, it is not always possible to detect the presence of WordPress, website admins can take extra measures to remove sign of WordPress.ContributingInitially conceived as an experimental venture for exploring PyPi publication, thewpdetectproject has flourished, thanks to the invaluable contributions from numerous dedicated individuals. Regarded as an indispensable tool by penetration testers during reconnaissance, any form of engagement, including sharing the project with your team, is highly appreciated. For further details, kindly see theContributing Guide.Code of ConductThewpdetectproject upholds a comprehensive and universally acceptedCode of Conduct, which guides the behavior of all participants involved. This set of guidelines delineates appropriate conduct and outlines the consequences that may ensue should any violations occur.ChangelogThe project'schangelogprovides a concise and chronological record of modifications made towpdetect. It serves as a vital resource for users, showcasing the evolution of the project, including bug fixes, feature enhancements, and other noteworthy updates.SecurityThe project'ssecurity policyensures the integrity and confidentiality ofwpdetect. It outlines robust measures to identify, prevent, and respond to security vulnerabilities and incidents. Regular security assessments and prompt resolution of reported issues are essential components of this policy.
Package: wpd.mmxi.countdown
Table of Contentswpd.mmxi.countdownOverviewRequirementsInstallationSponsoringCredits1.0 (2011-02-22)wpd.mmxi.countdownOverviewA package containing a portlet to display a countdown to the World Plone Day.RequirementsPlone 3.3.x (http://plone.org/products/plone)Plone 4.0.x (http://plone.org/products/plone)InstallationTo enable this product,on a buildout based installation:Edit your buildout.cfg and addwpd.mmxi.countdownto the list of eggs to install[buildout]
...
eggs =
    wpd.mmxi.countdownIf another package depends on the wpd.mmxi.countdown egg or
includes its zcml directly you do not need to specify anything in the
buildout configuration: buildout will detect this automatically.After updating the configuration you need to run the ‘’bin/buildout’’,
which will take care of updating your system.Go to the ‘Site Setup’ page in the Plone interface and click on the
‘Add/Remove Products’ link.Choose the product (check its checkbox) and click the ‘Install’ button.Uninstall – This can be done from the same management screen, but only
if you installed it from the quick installer.Note: You may have to empty your browser cache and save your resource registries
in order to see the effects of the product installation.SponsoringDevelopment of this product was sponsored bySimples Consultoria.CreditsAndré Nogueira (andre at simplesconsultoria.com.br) - Idea, layoutDavi Lima (davilima at simplesconsultoria.com.br) - Idea,
planning and lines of codeÉrico Andrei (erico at simplesconsultoria.com.br) - Packaging, i18nChangelog1.0 (2011-02-22)i18n support [erico_andrei]Countdown portlet [davilima]Initial release [erico_andrei]
Package: wp-download
It is a cumbersome task to administer local Wikipedia databases,
especially if you need access to multiple language versions of
Wikipedia.Withwp-downloadyou can automatically download the newest
database dumps for all language edition you want:$ wp-download --resume -v /path/to/wikipedia/dumps
Read configuration from: '/home/foobar/.wpdownloadrc'
Set timeout to 30s
Processing language: sw
Creating directory: /path/to/wikipedia/dumps/sw/20090821
Latest dump for (sw) is from Friday 21 August 2009
Skip: swwiki-20090821-redirect.sql.gz
Skip: swwiki-20090821-category.sql.gz
Resume: swwiki-20090821-pages-articles.xml.bz2
swwiki-20090821-pages-articles.xml.bz2 [****] 100% Time: 00:00:00   3.19 M/s
...
...InstallationThis distribution doesnotuse setuptools but plain distutils, so you will
have to install requirements by yourself or by using the pip requirements file
from thehomepage.Requirements:progressbarDocumentationDocumentation can be foundhere
Package: wpe-gpu
Nara-WPE in CuPyThis package is modified from the core parts ofnara_wpeand modifies it to useCuPyfor accelerated GPU-based inference.At the moment, it is meant to be used with theGSStoolkit,
but it can also be used in general for dereverberation. Note that this package only
contains the parts of Nara WPE that are relevant for GSS.Installation>pipinstallcupy-cuda102# modify according to your CUDA version (https://docs.cupy.dev/en/stable/install.html#installing-cupy)>pipinstallwpe-gpuUsagefromwpeimportwpeimportcupyascpX=cp.random.rand(513,4,1000)# F, D, TX_hat=wpe(X,taps=10,delay=2,iterations=3,psd_context=0)# F, D, T
Package: wp-enhanced
wp-enhancedWrapper ofwp.py. Easy to premake, build, deploy and distribute wwise plugins.InstallationInstall wpe from pippip install wp-enhancedSet wwise environment variablesWindows:Set from Wwise LauncherMacOS:SetWWISEROOTandWWISESDKmanuallyCheck installationwpe -hCreate new plugin projectRunwpe -nto create new project like original wp.py, but with some additional features.Parameters code generationYou can define parameters in$PROJECT_ROOT/.wpe/wpe_parameters.tomland generate code for them by runningwpe -gp.Be careful the followed files will beoverwrittenby template if[wp-enhanced template]is not found in file:ProjectNameFXParams.cppProjectNameFXParams.hProjectName.xmlProjectNamePlugin.cppProjectNamePlugin.hNew plugin project will be created with default parameters:wpe_parameters.tomlHooksAll hooks should be placed in$PROJECT_ROOT/.wpe/hooksfolder.pre/post_premake/generate_parameters/build/packare supported.A defaultpost_build.pyis created when creating new project, which will copy debug authoring plugin to Release folder for loading in Wwise Authoring.For more information about hooks, please refer to description of-H, --with-hooksinwpe -hAdd wpe to existing projectRunwpe -iunder project root.
Package: wpexport
wpexportThis small python package backup your Wordpress post to GitHub. It convert
the html to Markdown with pypandoc. For the api interaction, I uses the two
packages gitpython and python-wordpress-xmlrpc. So you have to install this
dependence, if you wand to install it from source.quick startInstall wpexport:pipinstallwpexportIt uses pandoc for the formatting. you may have to install it manually.sudoaptinstallpandocMore informationhttps://pandoc.org/installing.htmlSet up your settings:python-mwpexport--setupand when you have to input all the parameters. After that it will save the
parameters in the file ~.wpexport.conf. Notice that your passwords are in this
file.Now you are ready to have some fun.python-mwpexportcommand line argumentsThis command export all your post to the GitHub repo. If you didn't like the
config file, you can pass the parameter throw the terminal. Use the name of the
parameter as the command option. The command option will always override the
config file. For axample you cann uses the config file for all parametes exclude
the password. And then pass the password throw the command line.python-mwpexport--wp_pw1234the config fileYou can also uses another config file. For the setup as well as the backup
function.python-mwpexport--config"/path/to/your/config.json"The config file is a basic json file. You can look into it and change the
values, if you like.only local exportIf you didn't like GitHub, only export it to your local machine.python-mwpexport--output"/path/to/your/export"how does it work?Coming soon.developmentClone repo:gitclonehttps://github.com/axju/wpexport.gitCreate virtual environment and update dev-tools:python3-mvenvvenvsourcevenv/bin/activate
pipinstall--upgradewheelpipsetuptoolstwineInstall wpexport:pipinstall-e.Publish the packages:pythonsetup.pysdistbdist_wheel
twineuploaddist/*
Package: wpgtk
:flower_playing_cards:wpgtkwpgtkusespywalas its colorscheme generator, but builds upon it with a graphic user interface and other features such as the ability to edit the color-schemes generated and save them with their respective wallpapers, having light and dark themes for dynamic icons, hackable and fast GTK+ theme made specifically forwpgtk, custom keywords and values to replace in templates and auto color-scheme sorting to achieve more readable palettes.In short,wpgtkis a color-scheme manager with a template system which lets you create templates from any text file and will replace keywords on it when you change your theme, delivering high customizing power.And also, for those who are not into auto-generated color-schemes, you will be happy to know thatwpgtkincludes all the preset themes thatpywaldoes, so that's around 200+ themes to play around with, that you can alsomodifyto get really readable and cool results!WikiIf you prefer written documentation and want to know all the neat things you can do withwpgtkyou can always go to thewikiand checkout the documentation for any of the features, as a user you can always contribute to this wiki to make it better.[Home] [Installation] [Colorschemes] [Configuration] [Custom Keywords] [Templates]Warning: Users updating from versions older than6.0.0will have to update their templates to the new format, check the Templates section on the wiki for more information.Usage and Useful LinksVideo tutorials:InstallationAdvanced FeaturesCommand LineImport/export ColorschemesUpgrade to 6.0.0 - feature overviewOther Repos:wpgtk.vimwpgtk-templateswpgtk-colorschemesGalleryUser GalleryPersonal GalleryThese are just some of the desktops of users I've managed to catch in the wild.  They're all pretty cool, I really love seeing these, but if anyone wants their desktop removed (or added) just send me an email or open an issue.Buy me a Coffee (or a soda)If you found this project helpful and would like to give back in some way, you can donate hereLicenseThis project is licensed under the GPLv2 License - see theLICENSEfile for details
Package: wphp
This module allows you to run PHP processes inside of Python, using a
WSGI gateway.  This way PHP applications can appear like normal Python
WSGI applications, and WSGI middleware routing and filters can all be
applied in front of them.  For instance, WSGI middleware-based
authentication or authorization, routing, deployment, or styling
filters (likeWSGIOverlay).You can use it like:from wphp import PHPApp
my_php_app = PHPApp('/path/to/php-files',
                    php_options={'magic_quote_gpc': 'Off'})Andmy_php_appwill be a WSGI application you can embed in other
Python applications.Available in aSubversion repository,
or installation witheasy_installwphp==dev.  (No formal release
has been made yet)
Package: wpilib-controller
wpilib-controllerA backport of the upcoming (in 2020) WPILib PIDController.This is a backport ofwpilibsuite/allwpilib#1300, which is planned to be
merged for the 2020 season, forRobotPy.@calcmogul has somein-progress docson this.Note that if you are moving from the old WPILib PIDController, your PID
constants will need to change, as it did not consider the discretization period:divide your Ki gain by 0.05, andmultiply your Kd gain by 0.05,where 0.05 is the original default period (use the period you used otherwise).InstallationFor a computer with an internet connection:pip install wpilib-controllerTo install onto an offline roboRIO:pipdownloadwpilib-controller-dpip_cache# with an internet connectionrobotpy-installerinstall-pipwpilib-controller# connected to your robotExamplefromwpilib_controllerimportPIDControllercontroller=PIDController(1,0,0)# setInputRange and setContinuous are now a single methodcontroller.enableContinuousInput(0,360)controller.setSetpoint(180)# elsewhere...# assume gyro is a gyro object created prioroutput=controller.calculate(gyro.getAngle())# do something with the output, for example:motor.set(output)Major differencesThe PID gains are no longer time dependent.This PIDController expects a measurement as a parameter tocalculate().This PIDController runs synchronously in your robot code (as opposed to having it run in a thread). You must callcalculate()and use its return value.
Package: wpilib.kinematics
# wpilib.kinematicsThis is a pure-Python port of the WPILib 2020 kinematics classes for RobotPy 2019.Note: This is provided on a best-effort basis. Things may move or become unavailable in RobotPy WPILib 2020.## Warning
It is anticipated that RobotPy WPILib 2020 will eventually wrap the geometry and kinematics classes,
most likely in an update that will bump the wpilib package to 2020.2.2.
When this happens, youmustuninstall this package before updating your RobotPy installation.## Installationpip install wpilib.kinematics
Package: wpilib-ws-py
wpilib-ws-pyThis library is an implementation of the WPILib simulation WebSocket, used for controlling non-frc hardware or simulation software using WPILib. The specification of this protocol is foundhere.My own dive into the source code for the websocket, which has some undocumented information:https://github.com/AM2i9/wpilib-ws-py/payloads.mdExample Sever Usage:fromwpilib_wsimportWPILibWsServerserver=WPILibWsServer()# The on_message decorator will let you create handlers for message events.# Optionally a device type can be entered to only handle messages for that# specific device type. A list of device types and other hardware messages can# be found here:# https://github.com/wpilibsuite/allwpilib/blob/main/simulation/halsim_ws_core/doc/hardware_ws_api.md#hardware-messages@server.on_message("PWM")asyncdefpwm_handler(message):payload=message.dataprint(f"Recieved PWM event:{payload}")# ...@server.on_message("CANMotor")asyncdefcan_motor_handler(message):payload=message.dataprint(f"Recieved CANMotor event:{payload}")# ...# Optionally, a device name can be entered to `on_message()`:@server.on_message("SimDevice","SPARK MAX")asyncdefspark_max_handler(message):# SimDevices are arbitrary devices sent over the websocket, which can be# used by vendor libraries to be able to use their controllers in robot# simulation. For example, SPARK MAX and other REV controllers will not# show as CAN devices, but as SimDevices.payload=message.dataprint(f"Recieved update for SPARK MAX controller:{payload}")@server.on_message("CANMotor","Victor SPX")asyncdefvictor_handler(message):payload=message.dataprint(f"Recieved update for Victor SPX controller:{payload}")# The while_connected decorator is a loop that runs alongside the server, and# can be used for periodic tasks, such as sending battery voltage, like below.@server.while_connected()asyncdefwhile_connected():awaitserver.send_payload({"type":"RoboRIO","device":"","data":{">vin_voltage":12.0}})server.run()