semvec/pypi-packages huggingface dataset:
sql-library 0.4
A simple library for working with PostgreSQL
Requires Python: >=3.6

# SQL Library

Это простая библиотека для работы с PostgreSQL на Python.

## Установка

Установите библиотеку через pip:

```bash
pip install sql-library

Пример использования:
from sql_library import Database

db = Database(dbname="mydb", user="myuser", password="mypassword")
db.execute("CREATE TABLE IF NOT EXISTS users (id SERIAL PRIMARY KEY, name TEXT)")
db.close()
Topsis-Anchit-102203810 1.0.0
A Python package implementing TOPSIS method for MCDM problems
Requires Python: >=3.6

# Topsis-YourName-102203810

A Python package for implementing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method.

## Installation

```bash
pip install Topsis-Anchit-102203810
```

## 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 (CSV/Excel) should contain numeric values for all columns except the first one.
* First column is the object/variable name.
* Second to last columns contain numeric values only.

### Parameters
1. `<InputDataFile>`: Input file name including path (csv/xlsx)
2. `<Weights>`: Comma separated weight values for each column
3. `<Impacts>`: Comma separated impacts (+/-) for each column
4. `<ResultFileName>`: Output file name including path

### Output
The output file contains all the columns of input file along with two additional columns having TOPSIS Score and Rank.

## License
MIT License

## Author
Anchit Mehra
topsis-sachet-102203345 1.0.0
A Python package to perform TOPSIS analysis on datasets.
Requires Python: >=3.6

# TOPSIS Implementation in Python

---

## Overview
This Python script provides an implementation of the **TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution)** method, a widely used technique for multi-criteria decision-making. It calculates performance scores and ranks for a dataset based on specified weights and impacts.

---

## How to Use

Execute the script using the following command:

```bash
python topsis.py <inputFileName> <weights> <impacts> <resultFileName>
```

- `<inputFileName>`: Path to the CSV file containing the dataset.
- `<weights>`: Comma-separated list of weights for the criteria (e.g., `1,2,3`).
- `<impacts>`: Comma-separated list of impacts for the criteria (`+` for benefit, `-` for cost).
- `<resultFileName>`: Name of the output file where the results will be saved.

---

## Input File Guidelines
1. The input file must be a `.csv` format with a minimum of **3 columns**.
2. The first column can contain non-numeric values (e.g., identifiers).
3. All columns from the second onward must contain **numeric values**.

---

## Key Features
- **Validation**:
  - Ensures the correct number of command-line arguments.
  - Validates weights, impacts, and the consistency of column counts.
  - Handles missing or invalid input files.
- **Error Handling**:
  - Provides clear error messages for issues such as missing files, non-numeric data, or mismatched parameters.
- **Output Generation**:
  - Adds two columns to the dataset: `Topsis Score` and `Rank`.
  - Saves the processed results to the specified output file.

---

## Prerequisites
- Python 3.x
- Required libraries: `pandas`, `math`, `sys`

Install dependencies using the command:
```bash
pip install pandas
```

---

## License
This project is open-source and available under the MIT License.
zohal-sdk 0.1.1
zohal-sdk is a Python SDK for interfacing with zohal.io.
Requires Python: <4.0,>=3.8

# zohal-sdk
[![PyPi Package Version](https://img.shields.io/pypi/v/zohal-sdk.svg)](https://pypi.python.org/pypi/zohal-sdk)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/zohal-sdk.svg)](https://pypi.python.org/pypi/zohal-sdk)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![PyPi status](https://img.shields.io/pypi/status/zohal-sdk.svg?style=flat-square)](https://pypi.python.org/pypi/zohal-sdk)

## Overview

zohal-sdk is a Python SDK for interfacing with [zohal.io](https://zohal.io). It simplifies the process of interacting with the API by providing clean, Pythonic abstractions for all key functionalities.

## Installation

Install the SDK using pip:

```bash
pip install zohal-sdk
```
## Getting Started

Here's a quick example to get you started:
```python
from zohal_sdk import Client

# Initialize the client
client = Client(token="your_api_key")

# Example usage
response = client.shahkar(mobile="your mobile number", national_code="your national code")
print(response)
```
For detailed usage, check the documentation.
Documentation

## Documentation

Full documentation is available at [Documentation](https://zohal.io/documents).

## Contributing

We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
img2scan2pdf 0.1.0
A CLI tool to process images and convert them to a PDF.
Requires Python: >=3.7

# img2scan2pdf

`img2scan2pdf` is a Command-Line Interface (CLI) tool that processes images and converts them into a single PDF. The tool performs automatic document detection and enhancement to ensure high-quality output, making it ideal for scanning documents.

## Features

- **Automatic Document Detection**: Identifies and extracts document regions from images.
- **Perspective Correction**: Fixes skewed or angled documents.
- **PDF Conversion**: Converts processed images into a single PDF.
- **A4 Sizing**: Resizes documents to fit standard A4 dimensions with optional padding.

## Installation

Install `img2scan2pdf` using `pip`:

```bash
pip install img2scan2pdf
```

## Usage

The tool can be run directly from the command line. Specify the input directory containing images and the output PDF file path.

```bash
img2scan2pdf -i <input_directory> -o <output_pdf_path>
```

### Arguments

- `-i`, `--input_dir`: Path to the directory containing images to process. Supported formats are `.png`, `.jpg`, and `.jpeg`.
- `-o`, `--output_pdf`: Path to save the resulting PDF file.

### Example

```bash
img2scan2pdf -i ./scanned_images -o ./output/document.pdf
```

This command processes all images in the `./scanned_images` directory and saves the resulting PDF as `./output/document.pdf`.

## Development

### Cloning the Repository

Clone the repository:

```bash
git clone https://github.com/yourusername/img2scan2pdf.git
cd img2scan2pdf
```

### Installing Dependencies

Install the required Python dependencies:

```bash
pip install -r requirements.txt
```

### Running Locally

Run the tool locally:

```bash
python -m img2scan2pdf.cli -i <input_directory> -o <output_pdf_path>
```

## Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue to suggest improvements or report bugs.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Acknowledgments

This tool uses the following libraries:

- [NumPy](https://numpy.org/)
- [OpenCV](https://opencv.org/)
- [Pillow](https://python-pillow.org/)