semvec/pypi-packages huggingface dataset:
Topsiss-Bhagesh-101903540 1.0.0
It performs topsis for any model
License: MIT

# Topsis-Bhaegesh-10193540

This package is implementation of topsis technique of multi-criteria decision analysis. This package will accept three parameters as input:


1. .csv file which contains the models and parameters
2. string of weights separated by commas(,)
3. string of requirements (+/-) separated by commas(,) 

It performs the topsis, calculate the Performance
Score and Rank according to the inputs and store them in the output file.
This program must be run through command line only.
### What is TOPSIS
The Technique for Order of Preference by Similarity to Ideal Solution
(TOPSIS) is a multi-criteria decision analysis method.
TOPSIS is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution (PIS)
and the longest geometric distance from the negative ideal solution (NIS).
### Installation 
To install this module write the following line in the command prompt.

```pip install Topsis-Bhagesh-101903540```
### How to use this 

Topsis-Bhagesh-101903540 can be run as in the following example:

####In Command Prompt

``` >> topsis data.csv "1,1,1,1" "+,+,-,+"```

###Example on the Dataset

####Input File

| Moblie | Price($) | Storage(GB) | Camera(MP) | Rating |   
|--------|----------|-------------|------------|--------|
| `M1`   | 250      | 16          | 12         | 5      |
| `M2`   | 200      | 16          | 8          | 3      |
| `M3`   | 300      | 32          | 16         | 4      |
| `M4`   | 275      | 32          | 8          | 4      |
| `M5`   | 225      | 16          | 16         | 2      |

In addition to input file we provide impact and weight for each columns from 2nd to last column. Impact must be +ve or -ve.
Weight and Impact must be seperated with commans.

####Output File
The output file is steuctured as follows

| Moblie | Price($) | Storage(GB) | Camera(MP) | Rating | Topsis Score | Rank| 
|--------|----------|-------------|------------|--------|------------|--------|
| `M1`   | 0.11     | 0.08        | 0.11       | 0.15   |0.53|3|
| `M2`   | 0.09     | 0.08        | 0.07       | 0.09   |0.31|5|
| `M3`   | 0.13     | 0.15        | 0.14       | 0.12   |0.69|1|
| `M4`   | 0.12     | 0.15        | 0.07       | 0.12   |0.53|2|
| `M5`   | 0.1      | 0.08        | 0.14       | 0.06   |0.40|4|

For calulating Rank it compare upto six decimal digits but display only upto two decimal points.
The rankings are displayed in the form of a table using a package 'tabulate', with the 1st rank offering us the best decision, and last rank offering the worst decision making, according to TOPSIS method.


###License
Â© 2021 Bhagesh Gupta

This repository is licensed under the MIT license. See LICENSE for details.
topsis-Bhagesh-101903540 1.0.0
It performs topsis for any model
License: MIT

# Topsis-Bhaegesh-10193540

This package is implementation of topsis technique of multi-criteria decision analysis. This package will accept three parameters as input:


1. .csv file which contains the models and parameters
2. string of weights separated by commas(,)
3. string of requirements (+/-) separated by commas(,) 

It performs the topsis, calculate the Performance
Score and Rank according to the inputs and store them in the output file.
This program must be run through command line only.
### What is TOPSIS
The Technique for Order of Preference by Similarity to Ideal Solution
(TOPSIS) is a multi-criteria decision analysis method.
TOPSIS is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution (PIS)
and the longest geometric distance from the negative ideal solution (NIS).
### Installation 
To install this module write the following line in the command prompt.

```pip install Topsis-Bhagesh-101903540```
### How to use this 

Topsis-Bhagesh-101903540 can be run as in the following example:

####In Command Prompt

``` >> topsis data.csv "1,1,1,1" "+,+,-,+"```

###Example on the Dataset

####Input File

| Moblie | Price($) | Storage(GB) | Camera(MP) | Rating |   
|--------|----------|-------------|------------|--------|
| `M1`   | 250      | 16          | 12         | 5      |
| `M2`   | 200      | 16          | 8          | 3      |
| `M3`   | 300      | 32          | 16         | 4      |
| `M4`   | 275      | 32          | 8          | 4      |
| `M5`   | 225      | 16          | 16         | 2      |

In addition to input file we provide impact and weight for each columns from 2nd to last column. Impact must be +ve or -ve.
Weight and Impact must be seperated with commans.

####Output File
The output file is steuctured as follows

| Moblie | Price($) | Storage(GB) | Camera(MP) | Rating | Topsis Score | Rank| 
|--------|----------|-------------|------------|--------|------------|--------|
| `M1`   | 0.11     | 0.08        | 0.11       | 0.15   |0.53|3|
| `M2`   | 0.09     | 0.08        | 0.07       | 0.09   |0.31|5|
| `M3`   | 0.13     | 0.15        | 0.14       | 0.12   |0.69|1|
| `M4`   | 0.12     | 0.15        | 0.07       | 0.12   |0.53|2|
| `M5`   | 0.1      | 0.08        | 0.14       | 0.06   |0.40|4|

For calulating Rank it compare upto six decimal digits but display only upto two decimal points.
The rankings are displayed in the form of a table using a package 'tabulate', with the 1st rank offering us the best decision, and last rank offering the worst decision making, according to TOPSIS method.


###License
Â© 2021 Bhagesh Gupta

This repository is licensed under the MIT license. See LICENSE for details.
Topsis-Jayant-102097013 1.1.3
API and CLI tool to calculate Topsis, CLI tool inputs CSV/Excel files
License: MIT
Keywords: topsis,python,pypi,csv,xlsx,xls,cli

# Topsis Package (API & CLI)

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/jayantkatia/topsis/Upload%20Python%20Package?style=for-the-badge)
![PyPI](https://img.shields.io/pypi/v/Topsis-Jayant-102097013?color=orange&style=for-the-badge)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/jayantkatia/topsis?style=for-the-badge)
![GitHub](https://img.shields.io/github/license/jayantkatia/topsis?color=informational&style=for-the-badge)
![GitHub repo size](https://img.shields.io/github/repo-size/jayantkatia/topsis?style=for-the-badge)

Python package that can be used as an API or as a CLI tool to calculate TOPSIS performance score and ranks.

> CLI scripts takes `csv/excel` files as input!

## Installation
```
pip install Topsis-Jayant-102097013
```

## Command Line Usage
```
topsis input_file weights impacts output_file
```
### Arguments
| Arguments | Description |
|------------| -----------------|
| input_file |  "CSV/Excel" file path |
| weights | Comma separated numbers |
| impacts | Comma separated '+' or '-' |
| output_file | Output CSV file path |

### Output
Creates a *output_file*, that contains the original data with performance score and rank.

Example:
```bash
topsis data.xlsx "2,2,3,3,4" "+,-,+,-,+" output.csv 
```

## API Usage
### Steps
1. Import topsis function from module topsis
2. Invoke topsis function by passing in data, weights, impacts

> Note: Impacts should be a list of -1 and 1. -1 depicting -ve and 1 depicting +ve impact

Example:
```python
from topsis import topsis
import pandas as pd

df = pd.read_csv('data.csv')
weights = [2,2,3,3,4]
impacts=[1,-1,1,-1,1]
print(topsis(df, weights, impacts))
```

## License
Licensed under the [MIT License](https://github.com/jayantkatia/topsis/blob/main/LICENSE). 

## Development and Contributing
Yes, please! Feel free to [contribute, raise issues and recommend best practices.](https://github.com/jayantkatia/topsis/issues)
data-rdb 1.1.30
DataDBS for RethinkDB
License: MIT

Data RDB
========


Este módulo provee conexión a bases de datos RethinkDB con características asíncronas.


Se debe entregar (host, port, code) para conectarse.

Permite:

- crear database
- crear tablas
- añadir datos

También contiente un script de pruebas 'crea_perfiles.py' para probar
la operación en una RDB.
jsonclasses-pymongo 3.3.0
jsonclasses integration with pymongo
License: MIT
Requires Python: >=3.10

# JSONClasses Pymongo
JSONClasses integration with Pymongo.

## Prerequisites

To use this package, you should have `jsonclasses` and `pymongo` installed.

## Installation

Install `jsonclasses-pymongo` with `pip`.

```sh
pip install jsonclasses-pymongo
```

## Documentation

[Read the Documentation](https://docs.jsonclasses.com)

## License

[MIT License](https://github.com/fillmula/jsonclasses-pymongo/blob/master/LICENSE)