semvec/pypi-packages huggingface dataset:
dicomtrolley 4.1.0
Retrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR
Requires Python: >=3.10
Keywords: DICOM, DICOM-web, QIDO, WADO, MINT, RAD69, Download

# dicomtrolley

[![CI](https://github.com/sjoerdk/dicomtrolley/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/sjoerdk/dicomtrolley/actions/workflows/build.yml?query=branch%3Amain)
[![PyPI](https://img.shields.io/pypi/v/dicomtrolley)](https://pypi.org/project/dicomtrolley/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dicomtrolley)](https://pypi.org/project/dicomtrolley/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)

Retrieve medical images via WADO-URI, WADO-RS, QIDO-RS, MINT, RAD69 and DICOM-QR

* Uses `pydicom` and `pynetdicom`. Images and query results are `pydicom.Dataset` instances
* Query and download DICOM Studies, Series and Instances
* Integrated search and download - automatic queries for missing series and instance info

![A trolley](docs/resources/trolley.png)

[dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)

## Installation
```
pip install dicomtrolley
```

## Basic usage
```python
# Create a http session
session = requests.Session()

# Use this session to create a trolley using MINT and WADO
trolley = Trolley(searcher=Mint(session, "https://server/mint"),
                  downloader=WadoURI(session, "https://server/wado_uri"))

# find some studies (using MINT)
studies = trolley.find_studies(Query(PatientName='B*'))

# download the fist one (using WADO)
trolley.download(studies[0], output_dir='/tmp/trolley')
```

## Documentation
See [dicomtrolley docs on readthedocs.io](https://dicomtrolley.readthedocs.io)
Topsis-Anshika-102303042 0.0.2
A Python package for TOPSIS implementation

# Topsis-Anshika-10123456

## Overview
This package implements the **TOPSIS (Technique for Order Preference by Similarity to Ideal Solution)**
method using Python.

TOPSIS is a multi-criteria decision-making technique used to rank alternatives based on their
distance from an ideal best and an ideal worst solution.

This package can be used directly from the **command line** after installation.

---

## Package Name
TOPSIS-ANSHIKA-102303042

---

## Installation
Install the package from PyPI using pip:
pip install TOPSIS-ANSHIKA-102303042

---

## Usage (Command Line)
topsis <InputDataFile> <Weights> <Impacts> <OutputResultFile>

---

### Example
topsis data.csv "1,1,1,2" "+,+,-,+" result.csv

---

## ðŸ“¥ Input File Format
- The input file must be in **CSV format**
- The **first column** should contain names of alternatives
- Remaining columns should contain **numeric values only**
- Minimum **3 columns** are required

### Sample Input
Fund Name,P1,P2,P3,P4
M1,0.67,0.45,6.5,42.6
M2,0.60,0.36,3.6,53.3
M3,0.82,0.67,3.8,63.1

---

## ðŸ“¤ Output File Format
The output file is a CSV file containing:
- **Topsis Score** â€“ relative closeness to the ideal solution
- **Rank** â€“ ranking based on TOPSIS score

Higher score indicates a better alternative.

---

##  Methodology (Brief)
1. Read input data from CSV file
2. Normalize the decision matrix
3. Apply weights to the normalized matrix
4. Determine ideal best and ideal worst values
5. Calculate distance from ideal best and worst
6. Compute TOPSIS score
7. Rank alternatives based on the score

---

##  Error Handling
The package checks for:
- Incorrect number of arguments
- File not found errors
- Non-numeric values in criteria columns
- Mismatch in number of weights and impacts
- Invalid impact values (only `+` or `-` allowed)

---

##  Dependencies
- Python 3.x
- Pandas
- NumPy

---

##  Conclusion
This package provides a simple and effective way to perform TOPSIS analysis using Python.
It is useful for decision-making problems involving multiple criteria.