Saravanan666/pypi-org huggingface dataset:
Package: pluginbuilder
pluginbuilder is a Python package which will allow you to make standalone plugins from Python
scripts. This plugin can then be used by an Objective-C application (throughNSBundle).
pluginbuilder is a fork ofpy2app, but without the distutils based command or the ability to
create application bundles.For installation information, refer to the documentation in the “doc” folder (you need Sphinx to
build it). The documentation is also available online athttp://www.hardcoded.net/docs/pluginbuilder.
Package: plugincode
license: Apache-2.0copyright: copyright (c) nexB. Inc. and othershomepage_url:https://github.com/nexB/plugincodekeywords: plugins, utilities, scancode-toolkit, plugincodePluginCode is a library that provides plugable functionality with plugins,
including Click plugins.
It is used by ScanCode toolkit and related projectsVisithttps://aboutcode.organdhttps://github.com/nexB/for support and download.To set up the development environment:source configureTo run unit tests:pytest -vvs -n 2To clean up development environment:./configure --clean
Package: plugin-engine
PyPluginEngineA simple Python plugin engine to dynamically load modules.Basic FeaturesDiscoverability for specific modules can be disabled.Filterable module discoverability.Optional recursive module discoverability.Loaded modules are debuggable in the application context.ExamplesExamples of integration can found in the source repository at:https://github.com/FluxIX/PyPluginEngine/Examples; they were written using PyDev (https://www.pydev.org/).
Package: plugin-gifsicle
plugin_gifsicle pypi packageA package that provides pre-compiled Gifsicle binaries for OSX systems.
Yah to:https://github.com/kohler/gifsicleUsage:  Should be used behind the scenes to enable plugins to download gifsicle binaries without apple quarantine becoming a major PITAWhat is Gifsicle:https://github.com/kohler/gifsicleBasically it is a binary to create animated gifs with many options and typically producing a excellent, small file as a resultThe package consists of two 1.94 gifscile binaries including newer --lossy options.
get_gifsicle_binary will return the path to the correct binary for either x86 OSX Mac or ARM MACInstallationTo install the package, run:pip3installplugin_gifsicleUsageHere's how you can use the package:fromplugin_gifsicleimportget_gifsicle_binaryimportsubprocessbinary_path=get_gifsicle_binary()print(binary_path)# and for good measure below will check can run the binary correctly# will need options etc. for proper usagesubprocess.run([binary_path,"--help"])# You can now use the path to the binary in your applicationLicenseThis project is licensed under the MIT License - see the LICENSE file for detailsMIT LicenseCopyright (c) [2023]Permission 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:
Package: plugin-jm-server
plugin-jm-server想法起源：https://github.com/hect0x7/JMComic-Crawler-Python/issues/192基于原项目：https://github.com/AiCorein/Flask-Files-Server为了方便修改，将原项目中的文件复制到本项目中，然后进行修改使用方式1. pip安装pipinstallplugin_jm_server2. 运行代码HTTP版fromplugin_jm_serverimport*# httpserver=JmServer('D:/','password',)server.run(host='0.0.0.0',port=80,)HTTPS版fromplugin_jm_serverimport*# httpsserver=JmServer('D:/','password',)server.run(host='0.0.0.0',port=443,ssl_context='adhoc',)作为jmcomic的插件# 配置文件
plugins:
  after_init: 
#  after_album:
    - plugin: jm_server
      kwargs:
        password: ''# 代码fromjmcomicimport*op=create_option('op.yml')op.download_album(123)# 运行到这里，虽然主线程代码执行完毕，但程序不会退出，因为服务器线程还没有结束。# 控制台会输出提示信息如下（atexit时输出的）：# “主线程执行完毕，但插件jm_server的服务器线程仍运行中，可按下ctrl+c结束程序”# 此时需要你主动按下ctrl+c终止程序。# python 3.12 特别注意：需要插入下面这行代码，服务器才能继续处理请求op.wait_all_plugins_finish()效果图（文件浏览、整章看图）1. 电脑浏览器访问2. 手机浏览器访问
Package: plugin-loader
import helper for your app’s plugin.Install$ pip installplugin-loaderUsageWildcard is *fromplugin_loaderimportload_pluginplugins=load_plugin("flask_*")your app’s plugin name must be ruled.ex.flask_hoge, flask_fuga, …fluent_plugin_hoge, fluent_plugin_fuga, …gulp_hoge, gulp_fuga, …Developupdate readme$ pandoc-fmarkdown-trst README.md > README
Package: pluginmgr
pluginmgrlightweight python plugin system supporting config inheritanceTo useThere is a full example athttps://github.com/20c/pluginmgr/tree/master/tests/pluginmgr_testCreate the manager, for example in a module__init__.pyfileimportpluginmgr# this is the namespace string that import usesnamespace='pluginmgr_test.plugins'# directories to look in, string or list of stringssearchpath='path/to/search/in'# determines if this should create a blank loader to import through. This# should be enabled if there isn't a real module path for the namespace and# disabled for sharing the namespace with static modules# default is Falsecreate_loader=Falseplugin=pluginmgr.PluginManager(namespace,searchpath,create_loader)Create and register a plugin, note the filename needs to be the same as registered namefrompluginmgr_testimportplugin# register a plugin named mod0@plugin.register('mod0')classMod0(pluginmgr.PluginBase):passSee the dict containing all registered pluginsfrompluginmgr_testimportplugin# dict of all registered pluginsprint(plugin.registry)
Package: plugin-package-template
The name of the pluginInstructions:(delete this section after reading and completing the instructions)This directory outlines a template which specifies the implementation of all vdk
plugins. It includes a setup.py file, a /src/ directory containing all the plugin hooks
and additional implementation files, a /tests/ directory containing all plugin-specific
tests, and a .plugin-ci.yml file which specifies the CI/CD relevant to the plugins.The CI/CD is separated in two stages, a build stage and a release stage.
The build stage is made up of a few jobs, all which inherit from the same
job configuration and only differ in the Python version they use (3.7, 3.8, 3.9 and 3.10).
They run according to rules, which are ordered in a way such that changes to a
plugin's directory trigger the plugin CI, but changes to a different plugin does not.In order to add a new plugin, copy the plugin-template directory and follow the instructions in the files. Generally those areUpdate the setup.py file with correct name of the plugin;Update.plugin-ci.ymlfile with name of the plugin - make sure to follow comments;Include your implementation files inside thesrcfolder;Include any tests inside thetestsso they can be ran by CI framework automatically.UsageBuild and testingIn order to build and test a plugin go to the plugin directory and use../build-plugin.shscript to build it
Package: plugins4all
Plugins4AllBringing chatgpt plugins to all local LLMsGPT4All-snoozy 13b - Weather Plugin DemoInstallationYou can easily install and use Plugins4All by pip installing the package:pip install plugins4allUsagefromplugins4allimportgenerate_instructions,get_plugin_response# get instructions for a plugin - this can be easily inserted into a promptinstructions=generate_instructions("https://example-plugin.com/.well-known/ai-plugin.json")# example output of the llmllm_output='some llm output ... example_function_call({"query":"some query"})'# extract and run plugin operationsplugin_response=get_plugin_response(llm_output)# you can then feed the output back into the llm along with the original prompt to get the final outputMIT LicenseCopyright (c) 2023 Eric LiPermission 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: plugnplay
Plug n’ PlayPlug n’ PLay (PnP) is a Generic plug-in system inspired by Trac’s (http://trac.edgewall.org)
internal component management. With PnP you can turn any program into a pluggable software very easily.You just have to define the Interfaces and let others implement them. When your code is running
you can dynamically retrieve who are the classes that implement a certain Interface, and call
the specific methods.A simple exampleThink this way: You have e very simple program that just copy files around.Say you want to check if the copy was OK by calculating the MD5 hash of the
two files (the original and the copy). You can do this implementing the MD5 check
inside your main code, that’s OK too, but when you need to add another check
(e.g. calculate the SHA-1 of the files) you will have to modify your code so
it can call two methods, the MD5 checker and the SHA-1 checker.With PnP you write only the main piece of the program, the part that does only the copying,
and the hash checkers you can implement whenever you want,withoutany modification
to the main code.PnP is roughly a implementation of the Observer pattern (http://en.wikipedia.org/wiki/Observer_pattern).The code for this exampleOk, too much talk, now some code. A pseudo-code to the example above would be:class CopyListener(Interface):
   def copy_finished(self, original_file, new_file):
     passThe main code would be:PnP.load_plugins("/some/path/with/python/files") # egg files in the future?.
copy_file(file1, file2)

# Would return all python classes that
# implement CopyListerner interface
copy_listeners = CopyListener.implementors()

# Call each of the listeners telling the copy finished
for listener in copy_listeners:
  listener.copy_finished(file1, file2)And an example of one such observer would be:from myproject.interfaces import CopyListener

class MD5Check(Plugin):
  implements = [CopyListener,]

  def copy_finished(self, file1, file2):
     md5_1 = hash.md5(file1.read()).hexdigest()
     md5_2 = hash.md5(file2.read()).hexdigest()
     if md5_1 is not md5_2:
       # Do something very useful! =)ConclusionDid you like this project? Very nice, so help me write it! Fork the repo and
send me some pull requests! Or talk to me directly if you have some great ideas to implement!Thanks,Dalton Barreto
Package: plugp100
Plug P100This is a fork of original work of@K4CZP3RThe purpose of this fork is to provide the library as PyPi package.How to installpip install plugp100Code exampleimportasyncioimportosfromplugp100.api.light_effect_presetimportLightEffectPresetfromplugp100.api.tapo_clientimportTapoClientfromplugp100.common.credentialsimportAuthCredentialfromplugp100.discovery.arp_lookupimportArpLookupfromplugp100.discovery.tapo_discoveryimportTapoDiscoveryasyncdefmain():# print("Scanning network...")# discovered_devices = list(TapoDiscovery.scan(5))# for x in discovered_devices:#     print(x)# if len(discovered_devices) > 0:#     print("Trying to lookup with mac address")#     lookup = await ArpLookup.lookup(#         discovered_devices[0].mac.replace("-", ":"),#         "192.168.1.0/24",#         allow_promiscuous=False,#     )#     print(lookup)# create generic tapo apiusername=os.getenv("USERNAME","<tapo_email>")password=os.getenv("PASSWORD","<tapo_password>")credentials=AuthCredential(username,password)client=TapoClient.create(credentials,"<tapo_device_ip>")print(awaitclient.get_device_info())print(awaitclient.get_energy_usage())print(awaitclient.get_current_power())print(awaitclient.get_child_device_list())print(awaitclient.get_child_device_component_list())print(awaitclient.set_lighting_effect(LightEffectPreset.Aurora.to_effect()))# plug = PlugDevice(TapoClient(username, password), "<tapo_device_ip>")# light = LightDevice(TapoClient(username, password), "<tapo_device_ip>")# ledstrip = LedStripDevice(TapoClient(username, password), "<tapo_device_ip>")# - hub example# hub = HubDevice(client)# print(await hub.get_children())# print(await hub.get_state_as_json())if__name__=="__main__":loop=asyncio.new_event_loop()loop.run_until_complete(main())loop.run_until_complete(asyncio.sleep(0.1))loop.close()
Package: plugs-ariadne-jwt
Your project description goes hereDocumentationThe full documentation is athttps://plugs-ariadne-jwt.readthedocs.io.QuickstartInstall Django Ariadne JWT:pip install plugs-ariadne-jwtAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_ariadne_jwt.apps.DjangoAriadneJwtConfig',...)Add Django Ariadne JWT’s URL patterns:fromplugs_ariadne_jwtimporturlsasplugs_ariadne_jwt_urlsurlpatterns=[...url(r'^',include(plugs_ariadne_jwt_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2019-09-11)First release on PyPI.
Package: plugs-auth
Your project description goes hereDocumentationThe full documentation is athttps://plugs-auth.readthedocs.io.QuickstartInstall Plugs Auth:pip install plugs-authAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_auth.apps.PlugsAuthConfig',...)Add Plugs Auth’s URL patterns:fromplugs_authimporturlsasplugs_auth_urlsurlpatterns=[...url(r'^',include(plugs_auth_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2017-01-26)First release on PyPI.
Package: plugs-configuration
Your project description goes hereDocumentationThe full documentation is athttps://plugs-configuration.readthedocs.io.QuickstartInstall Plugs Configuration:pip install plugs-configurationAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_configuration.apps.PlugsConfigurationConfig',...)Add Plugs Configuration’s URL patterns:fromplugs_configurationimporturlsasplugs_configuration_urlsurlpatterns=[...url(r'^',include(plugs_configuration_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2017-01-07)First release on PyPI.
Package: plugs-core
Your project description goes hereDocumentationThe full documentation is athttps://plugs-core.readthedocs.io.QuickstartInstall Plugs Core:pip install plugs-coreAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_core.apps.PlugsCoreConfig',...)Add Plugs Core’s URL patterns:fromplugs_coreimporturlsasplugs_core_urlsurlpatterns=[...url(r'^',include(plugs_core_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.1 (2016-12-19)0.1.2 (2016-12-20)0.1.3 (2016-12-20)0.1.4 (2016-12-21)0.1.5 (2016-12-22)0.1.6 (2016-12-28)
Package: plugs-filter
Your project description goes hereDocumentationThe full documentation is athttps://plugs-filter.readthedocs.io.QuickstartInstall Plugs Filter:pip install plugs-filterAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_filter.apps.PlugsFilterConfig',...)Add Plugs Filter’s URL patterns:fromplugs_filterimporturlsasplugs_filter_urlsurlpatterns=[...url(r'^',include(plugs_filter_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.1 (2017-01-18)First release on PyPI.
Package: plugs-media
Your project description goes hereDocumentationThe full documentation is athttps://plugs-media.readthedocs.io.QuickstartInstall Plugs Media:pip install plugs-mediaAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_media.apps.PlugsMediaConfig',...)Add Plugs Media’s URL patterns:fromplugs_mediaimporturlsasplugs_media_urlsurlpatterns=[...url(r'^',include(plugs_media_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2017-01-07)First release on PyPI.
Package: plugs-newsletter
nDocumentationThe full documentation is athttps://plugs-newsletter.readthedocs.io.QuickstartInstall Plugs Newsletter:pip install plugs-newsletterAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_newsletter.apps.PlugsNewsletterConfig',...)Add Plugs Newsletter’s URL patterns:fromplugs_newsletterimporturlsasplugs_newsletter_urlsurlpatterns=[...url(r'^',include(plugs_newsletter_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2017-01-11)First release on PyPI.
Package: plugs-payments
Your project description goes hereDocumentationThe full documentation is athttps://plugs-payments.readthedocs.io.QuickstartInstall Plugs Payments:pip install plugs-paymentsAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_payments.apps.PlugsPaymentsConfig',...)Add Plugs Payments’s URL patterns:fromplugs_paymentsimporturlsasplugs_payments_urlsurlpatterns=[...url(r'^',include(plugs_payments_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2016-12-29)First release on PyPI.
Package: plugs-post
Quick startInstall using Pip$pipinstallplugs_postAdd it to INSTALLED_APPSINSTALLED_APPS=(# other apps'plugs_post')Run migrate$pythonmanage.pymigrateplugs_postRegister the Viewsetsfromplugs_post.viewsimportPostViewSet,PostSectionViewSetROUTER=routers.DefaultRouter()ROUTER.register(r'posts',PostViewSet)ROUTER.register(r'post_sections',PostSectionViewSet)urlpatterns=[url(r'^',include(ROUTER.urls))]History0.1.0 (2016-12-29)First release on PyPI.
Package: plugs-status
API Status endpointDocumentationThe full documentation is athttps://plugs-status.readthedocs.io.QuickstartInstall Plugs Status:pip install plugs-statusAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_status.apps.PlugsStatusConfig',...)Add Plugs Status’s URL patterns:fromplugs_statusimporturlsasplugs_status_urlsurlpatterns=[...url(r'^',include(plugs_status_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2017-07-09)First release on PyPI.
Package: plugs-store
Reusable REST StoreDocumentationThe full documentation is athttps://plugs-store.readthedocs.io.QuickstartInstall plugs store:pip install plugs-storeAdd it to yourINSTALLED_APPS:INSTALLED_APPS=(...'plugs_store.apps.PlugsStoreConfig',...)Add plugs store’s URL patterns:fromplugs_storeimporturlsasplugs_store_urlsurlpatterns=[...url(r'^',include(plugs_store_urls)),...]FeaturesTODORunning TestsDoes the code actually work?source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ toxCreditsTools used in rendering this package:Cookiecuttercookiecutter-djangopackageHistory0.1.0 (2018-03-23)First release on PyPI.
Package: plugy
Plugy: Python module for plug microfluidics data analysisIssuesFeedback, questions, bug reports are welcome:https://github.com/saezlab/plugy/issuesInstallationImports & SetupYou can now installplugyas a package usingpipin yourcondaenvironment. To installpipin yourcondaenvironment run the following
lines on yourbashorcondaprompt.# Activate your conda environment replacing 'YOUR_ENVIRONMENT' with the name of your environmentcondaactivateYOUR_ENVIRONMENT# Install pip git support, such that plugy can be directly installed from gitlabcondainstallpipgit# Install plugy into your environmentpipinstallgit+https://github.com/saezlab/plugy@master# If you want to use the latest development version use this insteadpipinstall--force-reinstallgit+https://github.com/saezlab/plugy@devQuick startThis notebook will show you how to run a plugy based analysis of a drug
combination Braille display microfluidics experiment.First, make sure your Python shell is running in the working directory where
(or in its subdirectories) you have the data and where you want to save the
results.The simplest workflow, which is sufficient most of the times, looks like this:importplugyexp=plugy.PlugExperiment()exp.main()Further settings, parameters can be passed toPlugExperiment:importplugyexp=plugy.PlugExperiment(peak_min_threshold=0.02,barcoding_param={'times':(.2,4.0),},heatmap_second_scale='pos-ctrl',)exp.main()If you want to interact with the data use the contents of theexpobject.
It contains all the plug, pmt, channel and sequence data that was used in the
analysis. For example, apandas.DataFramecontaining the statistics for each
sample:exp.sample_statisticsTutorialYou can find more examples in the plugy guide:https://github.com/saezlab/plugy/blob/master/notebooks/plugy_guide.ipynbDevelopment historyhttps://github.com/saezlab/plugy/blob/master/NEWS.md
Package: plugz
Plugin framework that simplifies plugin support in your toolsFree software: BSD licenseDocumentation:http://plugz.readthedocs.orgFeaturesLets you register custom plugin types and pluginsLoading mechanism for plugins of a specific type in given locationsHistory0.1.5 (2014-06-09)Remove incorrect information about support of Python 3.3 and 3.40.1.4 (2014-06-08)Some fixes, nothing major.0.1.0 (2014-06-08)First release on PyPI.
Package: pluma-analysis
pluma-analysisA low-level interface to data collected with theplumaurban data acquisition system. Data used in the notebooks has been made publicly available in Amazon Simple Storage Service (S3) buckets.More information about sample data sharing can be found in theeMOTIONAL Cities data-share repository.Compatible EnvironmentsVisual Studio Code: All notebooks have been tested in Visual Studio Code on a Windows platform. Tests in other platforms and environments are forthcoming and will be added here.How to buildOpen project folder in VS CodeInstallminiconda(Python 3.9)InstallPython Extension for VS CodeCreate environment from VS Code:Ctrl+Shift+P>Create EnvironmentSelect.condaenvironmentMake sure correct environment is selected in the notebookThe current notebook requires Python 3.9+ to run successfully. The fileenvironment.ymlcontains the list of minimal package dependencies required.