semvec/pypi-packages huggingface dataset:
apt-search 0.1.3
Search Ubuntu packages.
License: MIT
Requires Python: >=3.10,<4.0

# apt-search

*Search Ubuntu packages.*

## Motivation

I needed a way to find the right package for missing header files.
I tried `apt-file`, but for some reason it was constantly complaining with

```
E: The cache is empty. You need to run "apt-file update" first.
```

The alternative was to search the Ubuntu packages in the browser, but I wanted a tool for the CLI.
So I had the idea to parse the HTML search result and give a nice terminal output.

## Installation

Use `pip` or `pipx` for installation:

```bash
pip install --user apt-search
# or
pipx install apt-search
```

## Usage

Just execute the `apt-search` command with the filename you are looking for:

```bash
apt-search --help
# Usage: main.py [OPTIONS] FILENAME
#
# Arguments:
#   FILENAME  [required]
#
# Options:
#   --suite TEXT                    [default: jammy]
#   --arch TEXT                     [default: any]
#   --help                          Show this message and exit.
```
Topsis-Aniket-102003643 0.1
It is a topsis package.
License: MIT
Keywords: MCDM,102003643,TOPSIS

# Topsis_Aniket_102003643

_for: **Topsis Project**_
_submitted by: **Aniket Sharma**_
_Roll no: **102003643**_
_Group: **3COE25**_


Topsis_Aniket_102003643 is a Python library for dealing with Multiple Criteria Decision Making(MCDM) problems by using Technique for Order of Preference by Similarity to Ideal Solution(TOPSIS).

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install Topsis_Aniket_102003643.

```bash
pip install Topsis_Aniket_102003643
```

## Usage

Enter csv filename followed by _.csv_ extentsion, then enter the _weights_ vector with vector values separated by commas, followed by the _impacts_ vector with comma separated signs _(+,-)_
```bash
topsis sample.csv "1,1,1,1" "+,-,+,+"
```
or vectors can be entered without " "
```bash
topsis sample.csv 1,1,1,1 +,-,+,+
```
But the second representation does not provide for inadvertent spaces between vector values. So, if the input string contains spaces, make sure to enclose it between double quotes _(" ")_.

To view usage __help__, use
```
topsis /h
```
## Example

#### sample.csv

A csv file showing data for different mobile handsets having varying features.

| Model  | Storage space(in gb) | Camera(in MP)| Price(in $)  | Looks(out of 5) |
| :----: |:--------------------:|:------------:|:------------:|:---------------:|
| M1 | 16 | 12 | 250 | 5 |
| M2 | 16 | 8  | 200 | 3 |
| M3 | 32 | 16 | 300 | 4 |
| M4 | 32 | 8  | 275 | 4 |
| M5 | 16 | 16 | 225 | 2 |

weights vector = [ 0.25 , 0.25 , 0.25 , 0.25 ]

impacts vector = [ + , + , - , + ]

### input:

```python
topsis sample.csv "0.25,0.25,0.25,0.25" "+,+,-,+"
```

### output:
```
      TOPSIS RESULTS
-----------------------------

    P-Score  Rank
1  0.534277     3
2  0.308368     5
3  0.691632     1
4  0.534737     2
5  0.401046     4

``` 

## Other notes

* The first column and first row are removed by the library before processing, in attempt to remove indices and headers. So make sure the csv follows the format as shown in sample.csv.
* Make sure the csv does not contain categorical values