semvec/pypi-packages huggingface dataset:
polis-client 0.1.2
Client library for interacting with API of any Pol.is server
License: MIT
Requires Python: >=3.10
Keywords: api, client, democracy, polis

# polis-client-py

An unofficial Python API client for communicating with any Polis servers.

It will start off as read-only, but I intend to add helpers for handling
POST requests via xid, and maybe jwt.

This will eventually be used in the `red-dwarf` algorithm library,
doing much of the work of that library's current "data loader".

## Installation

```
pip install polis-client
```



## Usage

See: [`examples.ipynb`](examples.ipynb)

## File Structure

```
./polis-client/
├── Makefile                    # Shared: Build scripts
├── README.md                   # Shared: Main project README
├── openapi
│   └── polis.yml               # Shared: OpenAPI spec
├── pyproject.toml              # Python dependencies
└── python
    ├── README.md               # Python client README
    ├── debug.py                # Messy testing file
    ├── examples.ipynb          # Primary documentation
    └── src
        └── polis_client
            ├── client.py       # Custom Python thin client
            └── generated/      # Auto-generated client code
```

## Development

(We use `uv`, but you can use any Python environment.)

This project is structured around an OpenAPI definition at `../openapi/polis.yml`,
from which most of the code in this repository is auto-generated.

We have written a thin custom client around the auto-generated client code
that is built (from the repository root) with:

    $ uv run make regenerate-py

This command must be run whenever you update the YAML spec file. For legibility
of commit history, any updates to auto-generated should be committed in a batch
separate from your own changes. (e.g. "Adding auto-generated code.")
Topsis-Jivitesh-102303229 0.1.0
TOPSIS implementation
License: MIT

# Topsis-Jivitesh-102303229

This project is a Python implementation of the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method.  


The package is designed to be easy to use and understand, while following standard Python packaging practices.

## Installation

Install the package using pip:
pip install Topsis-Jivitesh-102303229

## Usage

After installation, the TOPSIS method can be executed directly from the terminal:
topsis data.xlsx "1,1,1,2,1" "+,+,-,+,+" output.csv

## Input File

The input file can be in CSV or Excel format.
The first column should contain the names of the alternatives.
All remaining columns must contain numeric values representing criteria.
Weights and impacts must be provided as comma-separated values.

## Output

The program generates an output CSV file containing:
Topsis Score for each alternative
Rank, where Rank 1 represents the best alternative

## Author

Jivitesh Singh 
102303229