semvec/pypi-packages huggingface dataset:
grepow 0.1.1
CLI for sparse checkouts of results from grep.app repo search
License: MIT
Requires Python: <3.14,>=3.10
Keywords: cli, git, grep, search, sparse-checkout

# grepow

[![PyPI version](https://img.shields.io/pypi/v/grepow.svg)](https://pypi.org/project/grepow/)
[![Python versions](https://img.shields.io/pypi/pyversions/grepow.svg)](https://pypi.org/project/grepow/)
[![License](https://img.shields.io/pypi/l/grepow.svg)](https://github.com/lmmx/grepow/blob/master/LICENSE)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/lmmx/grepow/master.svg)](https://results.pre-commit.ci/latest/github/lmmx/grepow/master)

CLI for sparse checkouts of results from [grep.app](https://grep.app) repo search.

## Installation

```sh
uv pip install grepow
````

## Requirements

- Python 3.10+
- Git (with sparse-checkout support)

## About

- **grep.app search**: Uses the grep.app API to fetch search results
- **Sparse checkouts**: Clones only the files matching your search hits from the matching repos
- **Group hits by repo**: Aggregates multiple hits per repository from search results

## Usage

To search and sparse checkout matching files:

```sh
grepow "your search query" repo_dirs
```

The results will be saved to `repo_dirs` (created if it doesn't exist), cloned into subdirs.

Alternatively, for full repos, pass the `--full` flag.

## Contributing

Contributions are welcome! Please:

1.  Open an issue to discuss bugs or feature requests
2.  Fork the repo and submit a PR for changes
3.  Install dev dependencies with `uv sync` and run `pre-commit install`

## License

MIT License - see [LICENSE](LICENSE) for details.
yls 1.5.0
YARA Language Server
License: MIT
Requires Python: <4.0,>=3.8

# YLS

![PyPI](https://img.shields.io/pypi/v/yls?label=yls)
![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/avast-threatlabs-yara.vscode-yls?label=vscode)

[Language server](https://microsoft.github.io/language-server-protocol/) for
[YARA](https://yara.readthedocs.io/en/stable/) language.

:rocket: Features:
- Code completion of all available modules (including function parameters)
- Function documentation for hovers and code completion
- Opinionated code formatting
- Signature help
- Linting
- Go-to definition and references
- Symbol highlighting under the cursor
- Debugging using [yari](https://github.com/avast/yari)
- ...

![Showcase](https://github.com/avast/yls/raw/master/docs/assets/yls.png)

For more information, check out:
- [Blog post](https://engineering.avast.io/yls-first-step-towards-yara-development-environment/)
- [Wiki](https://www.github.com/avast/yls/wiki)

:snake: Minimal supported version of Python is `3.8`.

## Installation

To setup your environment please follow instructions on
[wiki](https://github.com/avast/yls/wiki/How-to-setup).

## How to develop

Install YLS in development mode with all necessary dependencies.

```bash
poetry install
```

### Tests

You can run tests with the following command:

```bash
poetry run pytest
```

## License

Copyright (c) 2022 Avast Software, licensed under the MIT license. See the
[`LICENSE`](https://github.com/avast/yls/blob/master/LICENSE) file for more
details.

YLS and its related projects uses third-party libraries or other resources
listed, along with their licenses, in the
[`LICENSE-THIRD-PARTY`](https://github.com/avast/yls/blob/master/LICENSE-THIRD-PARTY)
file.

## FAQ

### Why are you using `pluggy`?

Some parts depend on our internal services, however we are working on making
most of the code available. This is just the first piece.
Topsis-Dhruv-102303785 0.2
TOPSIS implementation using Python
License: MIT

# Package Description

_This package is built as a submission to_ [Assignment 1](https://github.com/psrana/Assignment-Topsis)

_Submitted by:_ **Dhruv Sethi (102303785)**

*Definition:*  
TOPSIS, acronym for Technique for Order Preference by Similarity to Ideal Solution, is a
multi-criteria decision-making (MCDM) method used to rank alternatives by selecting the
option that is closest to the ideal solution and farthest from the worst (negative ideal)
solution.

### Use this package as a [WebApp](https://github.com/Githubdhruv590/UCS654-Assignment-1-Topsis) here.

<br>

## Installation

Use the package manager pip to install Topsis-Dhruv-102303785

```bash
pip install Topsis-Dhruv-102303785
```

## ⚙️ **Usage**

```bash
topsis data.csv 1,1,1,1,1 +,+,-,+,+ result.csv
```                                                        
where,

data.csv is your input file

Weights to be assigned to each feature

Impacts to optimize each feature (+: Maximize, -: Minimize)

Output file path to save the results

<br>

## 🪴 Example

### Input Dataset (`data.csv`)

| Fund Name | P1 | P2 | P3 | P4 | P5 |
|----------|----|----|----|----|----|
| M1 | 0.72 | 0.54 | 4.1 | 43.2 | 12.05 |
| M2 | 0.69 | 0.51 | 3.6 | 59.8 | 15.92 |
| M3 | 0.67 | 0.44 | 5.0 | 62.1 | 17.10 |
| M4 | 0.78 | 0.61 | 3.9 | 41.4 | 11.80 |
| M5 | 0.83 | 0.68 | 5.4 | 39.6 | 11.35 |
| M6 | 0.80 | 0.65 | 5.6 | 55.9 | 15.88 |
| M7 | 0.86 | 0.74 | 6.5 | 52.3 | 14.70 |
| M8 | 0.92 | 0.85 | 5.7 | 66.2 | 18.30 |

**Weights:** `1,1,1,1,1`  
**Impacts:** `+,+,-,+,+`

---

### Output after applying TOPSIS (`result.csv`)

| Fund Name | P1 | P2 | P3 | P4 | P5 | Topsis Score | Rank |
|----------|----|----|----|----|----|--------------|------|
| M1 | 0.72 | 0.54 | 4.1 | 43.2 | 12.05 | 0.3834 | 7 |
| M2 | 0.69 | 0.51 | 3.6 | 59.8 | 15.92 | 0.5435 | 2 |
| M3 | 0.67 | 0.44 | 5.0 | 62.1 | 17.10 | 0.4540 | 5 |
| M4 | 0.78 | 0.61 | 3.9 | 41.4 | 11.80 | 0.4385 | 6 |
| M5 | 0.83 | 0.68 | 5.4 | 39.6 | 11.35 | 0.3678 | 8 |
| M6 | 0.80 | 0.65 | 5.6 | 55.9 | 15.88 | 0.5044 | 3 |
| M7 | 0.86 | 0.74 | 6.5 | 52.3 | 14.70 | 0.4702 | 4 |
| M8 | 0.92 | 0.85 | 5.7 | 66.2 | 18.30 | 0.7073 | 1 |


## Notes

The package handles the following:
- Correct number of parameters (input file, weights, impacts, output file)
- Appropriate error messages for invalid inputs
- Handling of File Not Found exception
- Input file must contain three or more columns
- From second to last columns must contain numeric values only
- Number of weights, impacts and criteria columns must be the same
- Impacts must be either `+` or `-`
- Weights and impacts must be separated by commas

## License

[MIT License](https://github.com/Githubdhruv590/UCS654-Assignment-1-Topsis/blob/main/LICENSE)