semvec/pypi-packages huggingface dataset:
binspect 0.1.1
Add a layer of protection to piped bash installs
Requires Python: >=3.8

# 🔍 Binspect - Secure Your Pipe-to-Shell Installations

[![PyPI version](https://badge.fury.io/py/binspect.svg)](https://badge.fury.io/py/binspect)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Binspect is a security tool that analyzes shell scripts before they're executed on your system. It's designed to make pipe-to-shell installations safer by detecting potentially malicious code.

## 🎬 See It In Action

![Demo](demo.gif)

## 🚨 The Problem

We've all seen installation instructions like this:

```bash
curl -fsSL https://example.com/install.sh | bash
```

This pattern is convenient but dangerous - you're executing code without reviewing it. Binspect helps bridge the security gap by analyzing scripts for malicious content before execution.

## ✨ Features

- 🤖 Uses AI to analyze shell scripts for malicious patterns
- 🔄 Works with a wide variety of LLM providers (uses LiteLLM to achieve this)
- 🎨 Rich terminal output with syntax highlighting
- 🛑 Interactive prompt to proceed or abort installation
- 🚀 Fast and efficient analysis
- 👁️ Less than 200 lines of Python - easily audit it yourself

## 🚀 Quick Start

Install using pip:

```bash
pip install binspect
```

Or with pipx:

```bash
pipx install binspect
```

## 📖 Usage

Instead of piping directly to bash, pipe through binspect first:

```bash
curl -fsSL https://example.com/install.sh | binspect | bash
```

Binspect will:

1. Analyze the script for suspicious patterns
2. Show you detailed findings
3. Ask for confirmation before proceeding
4. Pass the script to bash only if you approve

## ⚙️ Configuration

### LLM Provider Setup

Binspect uses LiteLLM under the hood, allowing you to use various LLM providers. Set up
your preferred provider using environment variables:

```bash
# For OpenAI
export OPENAI_API_KEY='your-api-key'

# For Anthropic/Claude
export ANTHROPIC_API_KEY='your-api-key'

# For other providers, see LiteLLM documentation
```

### Model Selection

Choose your preferred model using the `BASH_INSPECTOR_MODEL` environment variable:

```bash
# Default is 'openai/gpt-4o'
export BASH_INSPECTOR_MODEL='anthropic/claude-3-sonnet-20240229'
```

For a full list of providers, see https://docs.litellm.ai/docs/providers.

## 🔒 Security Notes

- Binspect is a helper tool, not a guarantee of safety
- Always review scripts manually when possible
- Use trusted sources and verify checksums
- Consider using package managers instead of pipe-to-shell when available

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## 📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

## ⚠️ Disclaimer

Binspect is provided as-is without any guarantees. While it can help identify obvious malicious patterns, it should not be your only security measure. Always exercise caution when executing scripts from the internet.
persian-name 1.0
A library for generating random Persian names.
Requires Python: >=3.6

# Persian Name Library

## English Documentation

### Introduction
Persian Name Library is a Python package for generating random Persian names, including first names, last names, and full names. This library is lightweight, easy to use, and perfect for projects requiring Persian name generation.

### Features
- Generate random Persian first names.
- Generate random Persian last names.
- Generate random full names (combination of first and last names).

### Installation
To install the package, use pip:
```bash
pip install persian_name
```

### Usage
Here is a quick example of how to use the Persian Name Library:
```python
from persian_name import persianFakeNames

# Initialize the class
name_generator = persianFakeNames()

# Generate a first name
print(name_generator.getFirstName())

# Generate a last name
print(name_generator.getLastName())

# Generate a full name
print(name_generator.getFullName())
```

### Contributing
Contributions are welcome! If you'd like to contribute, please fork the repository and submit a pull request with your changes.

### License
This project is licensed under the MIT License. See the LICENSE file for details.

### Contact
For any issues or suggestions, please contact the author:
- Email: mohammad2007maleki@gmail.com
- GitHub: [GitHub Repository](https://github.com/md86mi86/persian_name)

---

## مستندات فارسی

### معرفی
کتابخانه Persian Name یک بسته پایتونی برای تولید نام‌های فارسی تصادفی است که شامل نام‌های کوچک، نام‌های خانوادگی و نام کامل می‌باشد. این کتابخانه سبک، ساده و مناسب برای پروژه‌هایی است که به تولید نام فارسی نیاز دارند.

### ویژگی‌ها
- تولید نام کوچک فارسی تصادفی.
- تولید نام خانوادگی فارسی تصادفی.
- تولید نام کامل فارسی (ترکیبی از نام کوچک و نام خانوادگی).

### نصب
برای نصب بسته از pip استفاده کنید:
```bash
pip install persian_name
```

### استفاده
نمونه کدی برای استفاده از کتابخانه Persian Name:
```python
from persian_name import persianFakeNames

# مقداردهی اولیه کلاس
name_generator = persianFakeNames()

# تولید نام کوچک
print(name_generator.getFirstName())

# تولید نام خانوادگی
print(name_generator.getLastName())

# تولید نام کامل
print(name_generator.getFullName())
```

### همکاری در توسعه
همکاری شما مورد استقبال قرار می‌گیرد! اگر می‌خواهید همکاری کنید، مخزن را fork کرده و درخواست pull request خود را ارسال کنید.

### مجوز
این پروژه تحت مجوز MIT منتشر شده است. برای اطلاعات بیشتر به فایل LICENSE مراجعه کنید.

### تماس
برای هرگونه مشکل یا پیشنهاد، می‌توانید با نویسنده تماس بگیرید:
- ایمیل: mohammad2007maleki@gmail.com
- گیت‌هاب: [مخزن گیت‌هاب](https://github.com/md86mi86/persian_name)
konvo 0.0.4
Konvotech Python Package
Requires Python: >=3.10

# Konvo Python SDK

The official Python SDK for the Konvotech API.

## Installation

```bash
pip install konvo
```

## Usage

### Basic Setup

```python
from konvo import KonvoClient

# Initialize client with your API key
client = KonvoClient(api_key="your_api_key_here")

# Check API health
health_status = client.system.check_health()
print(health_status)  # {"status": "healthy"}
```

### Configuration Options

The `KonvoClient` accepts several configuration options:

```python
client = KonvoClient(
    api_key="your_api_key_here",
    max_retries=3,          # Number of retries for failed requests
    log_level="WARNING",    # Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
    timeout=30              # Request timeout in seconds
)
```

## Error Handling

The SDK raises custom exceptions:

- `KonvoError`: Base exception for all Konvotech API errors
- `APIError`: Raised when API requests fail, includes status_code

```python
try:
    client.system.check_health()
except APIError as e:
    print(f"API request failed with status {e.status_code}: {str(e)}")
```
stpt2zarr 0.2.2
STPT scan to Zarr conversion
Requires Python: >=3.7

# STPT to Zarr converter

Convert STPT scan dataset to Zarr.

## Install

```
pip install stpt2zarr
```

### Requirements

* click
* dask
* distributed
* imaxt_image
* python_dateutil
* xarray
* zarr

## Usage

### Arguments
* input_path: the root folder of the STPT scan containing a mosaic file
* output_path: the location where to store the converted output in Zarr format 

### From Python script

```
from stpt2zarr import stpt2zarr

stpt2zarr(input_path, output_path)
```

### From the command line

```
stpt2zarr input_path output_path
```