semvec/pypi-packages huggingface dataset:
topsis-SamdeepSharma-17183 0.0.1
A Python package implementing the TOPSIS method
License: MIT
Requires Python: >=3.6

# Topsis-Samdeep-102217183

A Python package for implementing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method, used for multi-criteria decision analysis.

## Installation

```bash
pip install Topsis-Samdeep-102217183 
```

## Usage

The package can be used through command line:

```bash
topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
```

### Example

```bash
topsis data.xlsx "1,1,1,1,1" "+,+,+,+,+" output.csv
```

### Input Format
* Input File:
    * The file can be in CSV or Excel format (.csv or .xlsx).
    * The first column should contain the names of the objects/variables.
    * The remaining columns must contain numeric values only (criteria values).
### Parameters
1. <InputDataFile>: The input file name along with its path (e.g., data.csv or data.xlsx).
2. <Weights>: A comma-separated string of numeric weight values for each criterion (e.g., "1,1,1,1").
3. <Impacts>: A comma-separated string of + or - symbols, indicating whether the criterion is beneficial (+) or non-beneficial   (-) (e.g., "+,+,-,+").
4. <ResultFileName>: The desired output file name including its path (e.g., output.csv).

### Output
The output file (CSV format) will include:

All input data columns
Additional columns:
TOPSIS Score: The calculated score for each alternative.
Rank: The rank of each alternative based on the TOPSIS score (higher score = better rank).

## License
MIT License

## Author
Samdeep Sharma
Roll Number: 102217183

If you have any questions or suggestions, feel free to reach out!
constattr 0.0.8
Enforce that your constant class attributes are not re-assigned
License: MIT
Requires Python: >=3.8

# constattr

![test](https://github.com/diegojromerolopez/constattr/actions/workflows/test.yml/badge.svg)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/diegojromerolopez/constattr/graphs/commit-activity)
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/constattr.svg)](https://pypi.python.org/pypi/constattr/)
[![PyPI version constattr](https://badge.fury.io/py/constattr.svg)](https://pypi.python.org/pypi/constattr/)
[![PyPI status](https://img.shields.io/pypi/status/constattr.svg)](https://pypi.python.org/pypi/constattr/)
[![PyPI download month](https://img.shields.io/pypi/dm/constattr.svg)](https://pypi.python.org/pypi/constattr/)
[![Maintainability](https://api.codeclimate.com/v1/badges/5317e9072a41570ae66e/maintainability)](https://codeclimate.com/github/diegojromerolopez/constattr/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/5317e9072a41570ae66e/test_coverage)](https://codeclimate.com/github/diegojromerolopez/constattr/test_coverage)

Enforce your class constants in python.

> The only constant in life is change

*Heraclitus*

> Not anymore!

*Didacus I. Granatensis*

## Usage
Decorate your class with `constclassattrs` and when a class attribute that is uppercase
is re-assigned the exception `ConstantAssignmentError` will be raised.

## Example

```python
from constattr import constclassattrs


@constclassattrs
class Example1:
    MY_CONST1 = '1'
    MY_CONST2 = '2'


# This will raise the ConstAssignmentError exception
Example1.MY_CONST1 = 'new value for the constant'
```

## Limitations
If your class has a metaclass defined, it will work, but in case of conflict
the MRO in the metaclass will choose the [ConstantEnforcerMeta](/constattr/const_enforcer_meta.py)
class first.

## Dependencies
This package has no dependencies.

## License
[MIT](LICENSE) license, but if you need any other contact me.