Saravanan666/pypi-org huggingface dataset:
Package: wideq-gu
A library for interacting with the “LG SmartThinq” system, which can control heat pumps and such. I reverse-engineered the API from their mobile app.To try out the API, there is a simple command-line tool included here, calledexample.py.
To use it, provide it with a country and language code via the-cand-lflags, respectively:$ git clonehttps://github.com/gugu927/wideq.git$ cd wideq$ python3 example.py -c KR -l ko-KRLG accounts seem to be associated with specific countries, so be sure to use the one with which you originally created your account.
For Korean, for example, you’d use-c KR -l ko-KR.On first run, the script will ask you to log in with your LG account.
Logging in with Google does not seem to work, but other methods (plain email & password, Facebook, and Amazon) do.By default, the example just lists the devices associated with your account.
You can also specify one of several other commands:ls: List devices (the default).mon <ID>: Monitor a device continuously, printing out status information until you type control-C. Provide a device ID obtained from listing your devices.washer-mon <ID>: Likemon, but only for WASHER devices—prints out specific washer-related information in a more readable form.dryer-mon <ID>: Likemon, but only for DRYER devices—prints out specific dryer-related information in a more readable form.dehum-mon <ID>: Likemon, but only for DEHUMIDIFIER devices—prints out dehumidifier-related information in a more readable form.ac-mon <ID>: Likemon, but only for AC devices—prints out specific climate-related information in a more readable form.set-temp <ID> <TEMP>: Set the target temperature for an AC device.turn <ID> <ONOFF>: Turn an AC device on or off. Use “on” or “off” as the second argument.ac-config <ID>: Print out some configuration information about an AC device.CreditsThis is by [GuGu927][andy].
The license is [MIT][].
I also made a [Home Assistant component][hass-smartthinq] that uses wideq.This library originated from [Adrian Sampson][sampson][hass-smartthinq]:https://github.com/gugu927/hass-smartthinq[andy]:https://github.com/gugu927[mit]:https://opensource.org/licenses/MIT[sampson]:https://github.com/sampsyo/wideq
Package: wideryolo
WIDER-YOLO : Yüz Tespit Uygulaması YapWider-Yolo Kütüphanesinin Kullanımı1. Wider Face Veri Setini İndirTrain DatasetVal DatasetTest DatasetNot: İndirilen veri setini ismini değiştirmeden wider_data klasörün içine atın.2. Dosyaları Düzeni:datasets/ 
      wider_face_split/  
          - wider_face_train_bbx_gt.txt
          - wider_face_val_bbx_gt.txt
         
      WIDER_train/
         - images

      WIDER_train_annotations 

      WIDER_val
         - images

      WIDER_val_annotationsNot: WIDER_train_annotations ve WIDER_val_annotations klasörleri oluşturmanıza gerek yoktur.3. Wider Veri Setini Voc Xml Formatına Çevirpython ./wider_to_xml.py -ap ./wider_data/wider_face_split/wider_face_train_bbx_gt.txt -tp ./wider_data/WIDER_train_annotations/ -ip ./wider_data/WIDER_train/images/
python ./wider_to_xml.py -ap ./wider_data/wider_face_split/wider_face_val_bbx_gt.txt -tp ./wider_data/WIDER_val_annotations/ -ip ./wider_data/WIDER_val/images/4. Voc Xml Veri Setini Yolo Formatına Çevirpython ./xml_to_yolo --path ./wider_data/WIDER_train_annotations/
python ./xml_to_yolo --path ./wider_data/WIDER_val_annotations/5. Yolo Modelini Eğit!yolov5 train --data data.yaml --weights 'yolov5n.pt' --batch-size 16 --epochs 100 --imgs 5126. Yolo Modelini Test EtTek resim test etmek için:!yolov5 detect --weights wider-yolo.pth --source  file.jpgTüm resim dosyasını test etmek için!yolov5 detect --weights wider-yolo.pth --source  path/*.jpgNot: Yeterli Gpu kaynağına sahip olamadığım için wider seti için düşük parametre değerleri verdim. Parametre Değerleri:batch-size: 256, epochs: 5, imgs 3206. Yolov5 + Sahi Algoritmasını Test Etfrom sahi.model import Yolov5DetectionModel
from sahi.utils.cv import read_image
from sahi.predict import get_prediction, get_sliced_prediction, predict
from IPython.display import Image

detection_model = Yolov5DetectionModel(
   model_path="last.pt",
   confidence_threshold=0.3,
   device="cpu",
)

result = get_sliced_prediction(
    "test_data/2.jpg",
    detection_model,
    slice_height = 256,
    slice_width = 256,
    overlap_height_ratio = 0.8,
    overlap_width_ratio = 0.8
)
result.export_visuals(export_dir="demo_data/")
Image("demo_data/prediction_visual.png")Sahi Algoritması ile ilgili Örnek Proje:yolov5-pytorch-sahiReferanslar:Fatih Cagatay AkyonAlexis Kofmanyolov5-pipSahi
Package: widgeon
--DISCLAIMER-- the README below is deprecated. i am rebuilding the project from the ground up as the old project had bad architecture and was very slow.\dot-uiAn easy to use yet good-looking UI creation framework for PythonContentsBasicsCreating a windowAdding widgetsChanging renderer settingsAdding BehavioursTaking inputsBasicsCreating a windowOpening a Window is as easy as creating a window object and calling open():fromdot_uiimport*win=Window()win.open()In the constructor you can specify the width, height, title, icon and whether the window should be opened in full screen mode.Adding widgetsAdding a widget is no more compicated. You create the widget and add it to the window. It takes an x and y position as well as a width and height as optional constructor parameters:fromdot_uiimport*win=Window("Demo")widget=Widget(10,10)win.add_widget(widget)win.open()Changing renderer settingsSome window and widget properties are universal and are controlled by the renderer. You can customize these settings by calling the corresponding setter on the renderer (DotRenderer by default):fromdot_uiimport*DotRenderer.set_corner_radius(0)DotRenderer.set_shadow_offset(Vector2(-2,-2))DotRenderer.set_shadow_radius(10)DotRenderer.set_default_color(Color.GREEN)DotRenderer.set_shadow_opacity(1)win=Window(title="Demo")widget=Widget(10,10)win.add_widget(widget)win.open()Adding behavioursYou can add behaviours to widgets that consist of a function that is run on initialization and one that is run every tick. This is some example code that prints "Widget initialized" on initialization and prints the delta time every tick.fromdot_uiimport*win=Window(title="Demo")defprint_init(self:Widget):print("Widget initialized")defprint_on_tick(self:Widget,delta):print(delta)widget=Widget(10,10)widget.add_behaviour("Print",print_on_tick,print_init)win.add_widget(widget)win.open()Taking inputsThe Input class allows you to create actions that are triggered when one of multiple keys or key combinations is pressed. You can then check if these actions have been triggered. This code will print the delta time when "D" or "0" are pressed and close the widget when Crtl+Q is pressed.fromdot_uiimport*Input.add_action("Print Delta",Key.D,0)Input.add_action("Close",KeyCombination(Key.L_CTRL,Key.Q))win=Window(title="Demo")definput_demo(self:Widget,delta):ifInput.action_pressed("Print Delta"):print(delta)ifInput.action_just_pressed("Close"):self.close()widget=Widget(10,10)widget.add_behaviour("Input Demo",input_demo)win.add_widget(widget)win.open()
Package: widgetastic.core
Widgetastic - Making testing of UIsfantastic.Written originally by Milan Falesnik (mfalesni@redhat.com,http://www.falesnik.net/) and
other contributors since 2016.Licensed under Apache license, Version 2.0WARNING:Until this library reaches v1.0, the interfaces may change!Projects using widgetasticManageIQintegration_testsSatelliteairgunCloud Services (insights-qe)Windupintegration_testInstallationpipinstall-Uwidgetastic.coreContributingForkCloneCreate a branch in your repository for your feature or fixWrite the code, make sure you add unit tests.Usepre-commitwhen committing to enforce code styleRunpytestto run unit testsPush to your fork and create a pull requestObserve checks in GitHub for further docs and build testing
Package: widgetastic.patternfly
Patternflywidget library forWidgetastic.Written originally by Milan Falesnik (mfalesni@redhat.com,http://www.falesnik.net/) and
other contributors since 2016.Contributors whose contributions were squashed during the library move in order of their first commit:Ievgen ZapolskyiPete SavageDmitry MisharovOleksii TsumanMike ShriverUsagefromwidgetastic.widgetimportViewfromwidgetastic_patternflyimportButtonclassSomeView(View):add=Button('Add',classes=[Button.PRIMARY])Check thesrc/widgetastic_patternfly/__init__.pyfor more documentation.Currently all the PatternFly widgets are located in thewidgetastic_patternflypackage.
Package: widgetastic.patternfly4
widgetastic.patternfly4Library of Patternfly v4 (aka Next) components forWidgetastic.Components listAlert -https://www.patternfly.org/v4/components/alertBreadcrumb -https://www.patternfly.org/v4/components/breadcrumbButton -https://www.patternfly.org/v4/components/buttonBullet Chart -https://www.patternfly.org/v4/charts/bullet-chartCalendar month -https://www.patternfly.org/v4/components/calendar-monthCard -https://www.patternfly.org/v4/components/cardChip Group -https://www.patternfly.org/v4/components/chip-groupClipboard copy -https://www.patternfly.org/v4/components/clipboard-copyContext Selector -https://www.patternfly.org/v4/components/context-selectorDescription list -https://www.patternfly.org/v4/components/description-listDonut Chart -https://www.patternfly.org/v4/charts/donut-chartDual list selector -https://www.patternfly.org/v4/components/dual-list-selectorDrawer -https://www.patternfly.org/v4/components/drawerDropdown -https://www.patternfly.org/v4/components/dropdownFormSelect -https://www.patternfly.org/v4/components/form-selectLineChart -https://www.patternfly.org/v4/charts/line-chartMenu -https://www.patternfly.org/v4/components/menuModal -https://www.patternfly.org/v4/components/modalNav -https://www.patternfly.org/v4/components/navigationOptions Menu -https://www.patternfly.org/v4/components/options-menuPagination -https://www.patternfly.org/v4/components/paginationPie Chart -https://www.patternfly.org/v4/charts/pie-chartPopover -https://www.patternfly.org/v4/components/popoverProgress -https://www.patternfly.org/v4/components/progressRadio -https://www.patternfly.org/v4/components/radioSelect -https://www.patternfly.org/v4/components/selectSlider -https://www.patternfly.org/v4/components/sliderSwitch -https://www.patternfly.org/v4/components/switchTable -https://www.patternfly.org/v4/components/tableTabs -https://www.patternfly.org/v4/components/tabsTitle -https://www.patternfly.org/v4/components/titleContribution guide# create a virtual environmentpython3-mvenv/path/to/your/virtualenv/wt.pf4source/path/to/your/virtualenv/wt.pf4/bin/activate# update pip and its friendspipinstall-Upipsetuptoolswheel# clone the repogitclonehttps://github.com/RedHatQE/widgetastic.patternfly4.git# install pre-commitcdwidgetastic.patternfly4# install the package in editable modepipinstall-e.[dev]pre-commitinstallTestingThe library has selenium tests that are performed againstPatternfly React docs.
It's also configured to run the tests every time when a new version of that page is released.Tests spawn a container from official selenium image -selenium/standalone-{chrome/firefox}.
We can check local runs via vnchttp://localhost:7900Note:Tests usepodmanto manage containers. Please install it before running.It's possible to run tests in parallel to speed up the execution. Make sure that you havexdistpython plugin installed.Use-nkey to specify a number
of workers:BROWSER=firefoxpytest-vtesting-n4
Package: widgetastic.patternfly5
widgetastic.patternfly5This library offers Widgetastic Widgets forPatternFly v5, serving as an extended
itteration ofwidgetastic.patternfly4.Components:alertbreadcrumbbuttoncardchipclipboard-copydate and timecalendar-monthdescription-listdrawerdual-list-selectorformsform-selectradiomenusdropdownmenumenu-toggleoptions-menuselecttypeahedselectmodalnavigationpaginationpopoverprogresssliderswitchtabletabstitleCharts:bullet-chartdonut-chartlegendsline-chartpie-chartPatterns:card-viewContribution guide# clone the repogitclonehttps://github.com/RedHatQE/widgetastic.patternfly5.gitcdwidgetastic.patternfly5# create a virtual environmentpython3-mvenv.venv_pfy5source.venv_pfy5/bin/activate# update pip and its friendspipinstall-Upipsetuptoolswheel# install the package in editable modepipinstall-e.[dev]pre-commitinstallTestingThe library has selenium tests that are performed againstPatternfly React docs.
It's also configured to run the tests every time when a new version of that page is released.Tests spawn a container from official selenium image -selenium/standalone-{chrome/firefox}.
We can check local runs via vnchttp://localhost:7900Note:Tests usepodmanto manage containers. Please install it before running.It's possible to run tests in parallel to speed up the execution. Make sure that you havexdistpython plugin installed.Use-nkey to specify a number
of workers:BROWSER=firefoxpytest-vtesting-n4
Package: widget-code-input
widget-code-inputA widget to allow input of a python function, with syntax highlighting.Try it with Binder !Simple usage of the widget code inputImpact distance of a projectile ( a exmaple for using the widget-code-input for a educational notebook )Text for the exercise:The interactive exercise:InstallationYou can install usingpip:pipinstallwidget_code_inputOr if you use jupyterlab:pipinstallwidget_code_input
jupyterlabbuildIf you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
the nbextension:jupyternbextensionenable--py[--sys-prefix|--user|--system]widget_code_inputThere are seven different code themes can be chosen. They are "eclipse",
"idea", "material", "midnight", "monokai", "nord" and "solarized".
You can check the appearance of the code themes at:https://codemirror.net/demo/theme.htmlAcknowledgementsWe acknowledge support from the EPFL Open Science Fund via theOSSCARproject.
Package: widgetmark
WidgetMarkThe goal of this project is to create a Benchmarking Framework,
which allows you to test the performance of a specific GUI Widget.
The Framework is written as part of my bachelor's thesis.For usersHow do I install it?Installation is very simple, since all dependencies are documented insetup.py. The following command will provide you with the
minimal dependencies to start writing your own benchmark use cases.python -m pip install -e .How can I try it out?There are a few example implementations, that you can run. They can be located
theexamples folder. These contain different use cases, which
are ready to run.cd path/to/widgetmark
pip install -e .
widgetmark examplesTo create profiles of the Use Cases you are running and view them using the profile viewersnakevizin your browser, run:widgetmark --profile --visualize examplesTo visualize already created Profiles, you can usesnakevizdirectly:snakeviz folder/with/profile_filesIt is also possible to run only specific Use Cases, e.g. for running the Label Example Use Case which tests the setText operation, run:widgetmark examples/bench_label.py::SetTextUseCaseTo see more options for the command line interface, run:widgetmark --helpHow can I create my own Use Cases?Widgetmark can be used with different GUI Backends, but currently only Qt is
supported. Benchmarks are python files named "bench_*.py" which contain a set
of use cases. Each use Case is a class derived from the abstract classwidgetmark.UseCase. Each Use Case defines
which widget it wants to use, the operation it want's to be investigated, and
a set of other properties which define f.e. what Frame Rate should be achieved.To define your own Benchmarks, you simply have to:Create a file"bench_.py".Add a class derived fromwidgetmark.UseCaseand implement all functions.
(Tip: Properties can be simply implemented as class attributes, this will
save you a few lines of code, for inspiration have a look at theexamples folder)Run widgetmark.What are the results?Widgetmark does measure / gather the following things for each use case:Frame Rate / Redraw costs:How often per second can the widget handle specific operations?Profile:Detailed listing of the costs of called functions, which allows to discover bottle necks in code.
Package: widget-party
Adjango-dashingwidget packQuick startInstall the latest stable version from PyPi:$ pip install widget_partyAdd “widget_party” to your INSTALLED_APPS setting like this:INSTALLED_APPS = (
    ...
    'widget_party',
)Include the widgets you’d like to use to your django-dashingsettings.pyentry:# Django Dashing Configuration
DASHING = {
    'REPOSITORY': 'https://cdn.rawgit.com/talpor/django-dashing-channel/master/repositories.json',
    'INSTALLED_WIDGETS': (
        'list',
        'graph',
        'number',
        ...
        'assignment',
        'buildstatus',
        'commitlist',
        'fatlist',
        'fatnumber',
        'informednumber',
        'linklist',
        'sizednumber',
        'skinnylist',
    ),
    'PERMISSION_CLASSES':  (
...DONE.DemoA turn-key demo is available athttps://github.com/mverteuil/widget-party-demoYou can use the demo to help choose which widgets you’d like to use, play with them, and quickly determine their suitability and limits.
Package: widget-periodictable
widget-periodictable: Jupyter Widget for A Interactive Periodic TableA jupyter widget for a interactive periodic table.Try it with BinderYou can try the interactive periodic table
and check the usage through the Binder link:InstallationYou can install usingpip:pipinstallwidget_periodictableIf you are using Jupyter Notebook 5.2 or earlier, you may also need to enable
the nbextension:jupyternbextensionenable--py[--sys-prefix|--user|--system]widget_periodictableDevelopment InstallationCreate a dev environment:condacreate-nwidget_periodictable-dev-cconda-forgenodejsyarnpythonjupyterlab
condaactivatewidget_periodictable-devInstall the python. This will also build the TS package.pipinstall-e".[test, examples]"When developing your extensions, you need to manually enable your extensions with the
notebook / lab frontend. For lab, this is done by the command:jupyter labextension develop --overwrite .
yarn run buildFor classic notebook, you need to run:jupyter nbextension install --sys-prefix --symlink --overwrite --py widget_periodictable
jupyter nbextension enable --sys-prefix --py widget_periodictableNote that the--symlinkflag doesn't work on Windows, so you will here have to run
theinstallcommand every time that you rebuild your extension. For certain installations
you might also need another flag instead of--sys-prefix, but we won't cover the meaning
of those flags here.How to see your changesTypescript:If you use JupyterLab to develop then you can watch the source directory and run JupyterLab at the same time in different
terminals to watch for changes in the extension's source and automatically rebuild the widget.# Watch the source directory in one terminal, automatically rebuilding when neededyarnrunwatch# Run JupyterLab in another terminaljupyterlabAfter a change wait for the build to finish and then refresh your browser and the changes should take effect.Python:If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.AcknowledgementsWe acknowledge support from the EPFL Open Science Fund via theOSSCARproject.
Package: widget-picture-generator
Widget Picture GeneratorDeveloped by Sense SquareIntroductionThe Python library WidgetPictureGenerator has been designed to generate widget images quickly and easily. This library can be used to generate high-quality images of any type of widget, such as charts, maps, and leaderboards.The WidgetPictureGenerator Python library supports a wide range of widgets, giving users the ability to select the desired type of widget and customize it to create an image that meets their needs. WidgetPictureGenerator is easy to use and comes with detailed documentation and numerous code examples to help users get started creating high-quality widget images.Based on SeleniumThe WidgetPictureGenerator library uses the web automation framework Selenium to create widget images. Selenium is a widely used framework for web script automation and allows users to simulate user interaction with a web page.Selenium installationSelenium requires a driver to interface with the chosen browser. Chrome, for example, requires chromedriver, which needs to be installed before the below examples can be run. Make sure it’s in your PATH, e. g., place it in /usr/bin or /usr/local/bin.Failure to observe this step will give you an error selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH.Chrome Drive Interface:https://sites.google.com/chromium.org/driver/
Package: widgetsnbextension
Jupyter Widgets for Jupyter Notebook](https://pypi.python.org/pypi/ipywidgets)This package makes Jupyter widgets available in the classic Jupyter Notebook. This package provides the necessary JavaScript controls in the Jupyter Notebook that communicate with the widget objects in the kernel.Install the corresponding Jupyter widgets package into your kernel, i.e., IPython users would installipywidgetsinto their kernel.
Package: widgitutils
Widgit is a next-generation hosting platform tailored for mods, modding guides,
and guilds which is currently under active development. At present, our hosting
platform is in private beta, but we have several active Discord servers running
under our brand today!Each of our Discord servers is managed by a networked instance of the awesome
[Red DiscordBot](https://github.com/Cog-Creators/Red-DiscordBot) which has been
extended through a series of custom cogs we built in-house. WidgitUtils is a
standardized library of common-use utilities thoughout our cogs.
Package: widgyts
widgytsA fully client-side pan-and-zoom widget, using WebAssembly, for variable mesh
datasets from yt.  It runs in the browser, so once the data hits your notebook,
it's super fast and responsive!If you'd like to dig into the Rust and WebAssembly portion of the code, you can
find it athttps://github.com/data-exp-lab/rust-yt-tools/and in the npm
package@data-exp-lab/yt-tools.Check out ourSciPy 2018 talkand theassociated slidesfor more info!DocumentationOur documentation is hosted at readthedocs. Take a lookhere.InstallationTo install using pip from the most recent released version:$ pip install widgytsTo install using pip from this directory:$ git clone https://github.com/yt-project/widgyts.git
$ cd widgyts
$ pip install .For a development installation (requires npm),$ git clone https://github.com/yt-project/widgyts.git
$ cd widgyts
$ pip install -e .
$ jupyter serverextension enable --py --sys-prefix widgyts
$ jupyter nbextension install --py --symlink --sys-prefix widgyts
$ jupyter nbextension enable --py --sys-prefix widgytsNote that in previous versions, serverextension was not provided and you were
required to set up your own mimetype in your local configuration.  This is no
longer the case and you are now able to use this server extension to set up the
correct wasm mimetype.To install the jupyterlab extension, you will need to make sure you are on a
recent enough version of Jupyterlab, preferably 0.35 or above.  For a
development installation, do:$ jupyter labextension install jsTo install the latest released version,$ jupyter labextension install @yt-project/yt-widgetsUsingTo use this, you will need to have yt installed.  Importing it monkeypatches
the Slice and Projection objects, so you are now able to do:#!python
import yt
import widgyts

ds = yt.load("data/IsolatedGalaxy/galaxy0030/galaxy0030")
s = ds.r[:,:,0.5]
s.display("density")and for a projection:#!python
ds = yt.load("data/IsolatedGalaxy/galaxy0030/galaxy0030")
p = ds.r[:].integrate("density", axis="x")
p.display()There are a number of traits you can set on the resultant objects, as well.
Package: widowx-env
widowx_envwidowx_env is a series of OpenAI Gym reinforcement learning environments.
It simulates a robotic arm (WidowX MK-II) with the Pybullet engine. The goal is to bring the end-effector as close as possible to the target position (represented as a green sphere).InstallationPip installationpipinstallwidowx-envDevelopment installationgitclonehttps://github.com/PierreExeter/widowx_envcdwidowx_env
pipinstall--e.