semvec/pypi-packages huggingface dataset:
pycoyote 0.0.8
A Python library for building Web user interfaces
License: MIT

# pycoyote - A Python library for building Web user interfaces

# Define your component
```python
# You define a class derived from Component
# You need to implement method render
# You can access self.children which represent all the children of your component
# You can access self.props which contains all the attributes passed to your component
# You can import HTML tags from Component, for example "from pycoyote import DIV"

from pycoyote import Component, DIV, SPAN
class MainPage(Component):
    def render(self):
        return DIV(
            SPAN({"class": "bold", "style": f"background-color: {self.props['color']};"},
                "Hello world!"
            ),
            *self.children
        )
```

# Using your component
```python
# You can pass attributes to your component
# You can pass children to your component
MainPage({"color": "green"}, 
    SPAN("Example ends here.")    # you can pass as much child as you need
)
```

# Examples
Please check [Examples](examples/) for details.
qtwidgets 1.1
Custom widget library for PyQt6, PyQt5, PySide6 and PySide2 (Qt for Python). Free to use in your own applications.
License: MIT

# Custom Qt5 Python Widgets

Qt5 comes with a huge number of widgets built-in, from simple text boxes to digital displays, vector graphics canvas and a full-blown web browser. While you can build perfectly functional applications with the built-in widgets, sometimes your applications will need a *more*.

This repo contains a library of [custom Python Qt5 widgets](https://www.learnpyqt.com/widgets/) which are free to use in your own applications. Widgets are compatible with both PyQt5 and PySide2 (Qt for Python). Currently the repository includes -

| Widgets | Library |
| :---: | :---: |
| ![Graphical Equalizer](https://i.imgur.com/0F2ZgqE.gif)<br>**Graphical Equalizer**<br>Visualize audio frequency changes with configurable styles and decay<br>`from qtwidgets import EqualizerBar`<br>[Documentation](https://www.learnpyqt.com/widgets/equalizerbar/) | ![Power Meter](https://i.imgur.com/0dpZIMV.gif)<br>**Power Bar**<br>Rotary control with amplitude display<br>`from qtwidgets import PowerBar`<br>[Documentation](https://www.learnpyqt.com/courses/custom-widgets/creating-your-own-custom-widgets/)  |
| ![Palette](https://cdn.learnpyqt.com/media/images/Screenshot_2019-06-15_at_15.18.14.max-500x500.png)<br>**Palette**<br>Select colours from a configurable linear or grid palette.<br>`from qtwidgets import PaletteHorizontal`<br>`from qtwidgets import PaletteGrid`<br>[Documentation](https://www.learnpyqt.com/widgets/palette/) | ![Gradient Editor](https://cdn.learnpyqt.com/media/images/Screenshot_2019-06-15_at_18.32.52.max-500x500.png)<br>**Linear Gradient Editor**<br>Design custom linear gradients with multiple stops and colours.<br>`from qtwidgets import Gradient`<br>[Documentation](https://www.learnpyqt.com/widgets/gradient/)|
| **Color Button**<br>Simple button that displays and selects colours.<br>`from qtwidgets import ColorButton` | **Paint**<br>Draw pictures with a custom bitmap canvas, with colour and pen control.<br>`from qtwidgets import Paint` |
| **Password Edit**<br>A password line editor with toggleable visibility action.<br>`from qtwidgets import PasswordEdit` |![Toggle Widget](https://i.imgur.com/rHrkkG3.gif)<br>Replace checkboxes with this handy toggle widget, with custom colors and optional animations<br>`from qtwidgets import Toggle`<br>`from qtwidgets import AnimatedToggle`<br>[Documentation](https://www.learnpyqt.com/widgets/toggle/)|

For a more detailed introduction to each widget and a walkthrough of their APIs  
see [the custom widget library on LearnPyQt](https://www.learnpyqt.com/widgets/). 

More custom widgets will follow, *if you have ideas just let me know!*

**Licensed MIT/BSDv2** feel free to use in your own projects.
Topsis-Ikshit-102003403 1.1.3
Implements topsis on the given input data file and generates topsis score and ranks accordingly.
License: MIT

# Topsis-Ikshit-102003403

Used as a command line tool to generate topsis score and ranks of the given input data file along with weights and impacts.



## Installation

pip install Topsis-Ikshit-102003403


## How to use it?
1.Open the terminal / cmd
2.Type topsis <input_filename.csv> <"Weights"> <"Impacts"> <output_filename.csv>

For eg
python 102003403.py 102003403-data.csv "2,2,3,3,4" "-,+,-,+,-" 102003403-result2.csv
|Fund Name    |  	P1	    |   P2	  |  P3	 |   P4	     |   P5     | 
| ----------- | :---------: | :-----: |:----:| :-------: |  -----:  |
|    M1	      |     0.78	|   0.61  |	6.6	 |   59.7    |	16.92   |
|    M2	      |     0.76	|   0.58  |	3.2	 |   53.5    |	14.51   |
|    M3	      |     0.92	|   0.85  |	6.2	 |   30.9    |	9.72    |
|    M4	      |     0.84	|   0.71  | 4.4	 |   66.6    |	18.14   |
|    M5	      |     0.62	|   0.38  |	6.8	 |   66.6    |	18.6    |
|    M6	      |     0.63	|   0.4	  |  5.3 |   40.6    |	11.73   |
|    M7	      |     0.91	|   0.83  |	 5	 |   68.4    |	18.79   |
|    M8	      |     0.84	|   0.71  |	 6	 |    62	 |   17.39  |

gives output as

|Fund Name |	   P1	    |        P2	       |         P3	      |      P4	       |        P5	      |    Topsis Score	  |     Rank    |
| -------  |	:-------:   |    :---------:   |    :---------:   |  :---------:   |    :---------:   |    :---------:	  |    ------:  |    
|    M1	   |  0.693984785	|    0.658498148   |    1.260022389	  |  1.101800492   | 	1.49138809	  |     0.391600818	  |      7      |
|    M2	   |  0.676190304	|    0.626112993   |    0.610919946	  |  0.98737565	   |    1.278962245	  |     0.608431381	  |      1      |
|    M3	   |  0.818546157	|    0.917579386   |	1.183657396	  |  0.570278647   | 	0.85675486	  |     0.504394509	  |      3      |
|    M4	   |  0.74736823	|    0.766448664   |    0.840014926	  |  1.229144268   |	1.598923165	  |     0.51971065	  |      2      |
|    M5	   |  0.551628932	|    0.410211961   |    1.298204886	  |  1.229144268   |	1.639469177	  |     0.38021749	  |      8      |
|    M6	   |  0.560526173	|    0.431802064   |    1.011836161	  |  0.749298157   |	1.033923304	  |     0.475517399   | 	 5      |
|    M7	   |  0.809648916	|    0.895989283   |    0.954562416	  |  1.262364383   |	1.656216443	  |     0.501336766   | 	 4      |
|    M8	   |  0.74736823	|    0.766448664   |    1.145474899	  |  1.144248417   |	1.532815537	  |     0.438781833   | 	 6      |



## License

Â© 2023 Ikshit

This repository is licensed under the MIT license. See LICENSE for details.