semvec/pypi-packages huggingface dataset:
get-unicode-shell 0.1.0a0
A cross-platform utility to get the current SHELL as a Unicode string.
Requires Python: >=2

# `get-unicode-shell`

A cross-platform utility to get the current SHELL as a Unicode string.

## Features

- Gets the current SHELL based on the operating system and environment variables.
- Handles both NT (`COMSPEC`) and POSIX (`SHELL`) conventions.
- Provides reliable fallbacks (`cmd.exe` on NT, `/bin/sh` on POSIX).
- Fully compatible with Python 2 and 3.

## Usage

```python
# coding=utf-8
from __future__ import print_function
from get_unicode_shell import get_unicode_shell

print(u'Detected shell:', get_unicode_shell())
```

## Installation

```bash
pip install get-unicode-shell
```

## Contributing

Contributions are welcome! Please submit pull requests or open issues on the GitHub repository.

## License

This project is licensed under the [MIT License](LICENSE).
razicube 0.1.0
مكتبة شاملة لحساب المساحة والمحيط للأشكال الثنائية والثلاثية الأبعاد

# geometrylib

مكتبة بايثون لحساب المساحة والمحيط للأشكال الثنائية الأبعاد والمساحة السطحية والحجم للأشكال الثلاثية الأبعاد.

## الاستخدام

```python
from geometrylib import *

print(Square.area(5))
print(Circle.perimeter(3))
print(Cube.volume(3))
print(Cylinder.surface_area(2, 5))
```
Interlinears 0.3
Pretty-printing of linguistic interlinears
Requires Python: >=3.9

============
Interlinears
============

Supports Python 3.9-3.13.

This package pretty-prints plaintext `linguistic interlinears`__,
currently only to HTML.

__ http://en.wikipedia.org/wiki/Interlinear_gloss

It supports two formats:
    - ``monospace``, where What You See Is What You Get, though where HTML
      can be escaped or stripped away.
    - ``leipzig``, as by the `Leipzig Glossing Rules`__.

__ http://www.eva.mpg.de/lingua/resources/glossing-rules.php

Usage
-----

interlinears.make_html_interlinear(raw_interlinear, format='monospace', escape=``some_func``)
get-unicode-home 0.1.0a0
A cross-platform utility to get the current HOME as a Unicode string.
Requires Python: >=2

# `get-unicode-home`

A cross-platform utility to get the current HOME as a Unicode string.

## Features

- Works on both NT and POSIX.
    - Reads `HOME` on POSIX, `USERPROFILE`/`HOMEDRIVE`+`HOMEPATH` on Windows.
- Fully compatible with Python 2 and 3.

## Usage

```python
# coding=utf-8
from __future__ import print_function
from get_unicode_home import get_unicode_home

print(u'Detected HOME:', get_unicode_home())
```

## Installation

```bash
pip install get-unicode-home
```

## Contributing

Contributions are welcome! Please submit pull requests or open issues on the GitHub repository.

## License

This project is licensed under the [MIT License](LICENSE).
simple-calculator-muharram-nizar 0.1.0
A simple calculator package for basic math operations
Requires Python: >=3.6

# Simple Calculator

A simple calculator package for basic math operations.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install simple-calculator-muharram-nizar.

```bash
pip install simple-calculator-muharram-nizar
```

## Usage

```python
from simple_calculator_muharram_nizar import calc

# Add
calc.main("1+1")

# Subtract
calc.main("5-2")

# Multiply
calc.main("3*3")

# Divide
calc.main("10/2")
```
pixascii 0.1.3
Convert images to ASCII art

# PixASCII

PixASCII is a Python-based tool that converts images into ASCII art. It works **universally** on Linux, macOS, and Windows as long as Python 3 and Pillow are installed.

---

## Features

- Convert images to ASCII art
- Resize images for better ASCII output
- Save ASCII art to a text file or print to terminal
- Cross-platform: Linux, macOS, Windows

---

## Requirements

- Python 3.7 or higher
- Pillow library

Install Pillow if you don’t have it:

```bash
pip install Pillow
```
# Installation (Universal Method)

# Clone or download this repository.

```bash
git clone https://github.com/hent83722/pixascii
```

# Make the Python script executable:

```bash
chmod +x pixascii.py
```

## (Optional) Make it a global command on Linux/macOS:

```bash
mkdir -p ~/.local/bin
cp pixascii.py ~/.local/bin/pixascii
chmod +x ~/.local/bin/pixascii
```

## Make sure ~/.local/bin is in your PATH:

```bash
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
```

## Now you can run pixascii from anywhere.

# Using the provided install script (Linux/macOS)

```bash
chmod +x install.sh
./install.sh
```

This will:

Copy pixascii.py to ~/.local/bin/pixascii

Make it executable

Ensure ~/.local/bin is in your PATH

# Usage

### Basic usage:

```bash
pixascii <image_path> [-w WIDTH] [-o OUTPUT_FILE]
```
## Options

<image_path>: Path to the input image (required)

-w WIDTH: Width of the ASCII output (default: 100)

-o OUTPUT_FILE: File to save the ASCII art (optional, prints to terminal if not provided)


## Examples

### Print ASCII art to terminal:

```bash
pixascii /home/user/Pictures/photo.png -w 120
```
### Save ASCII art to a file:

```bash
pixascii /home/user/Pictures/photo.png -w 120 -o ascii_output.txt
```

# Notes

Adjust WIDTH to fit your terminal or desired output size.

If the output looks stretched, try changing the width or modifying the ASCII_CHARS in the script.

On Linux, make sure you refresh your shell if you previously installed an older version:

```bash
hash -r
```

# License 
This project is open-source and free to use. See the LICENSE file for details.
img2-info 0.2.3
Im2  Python SDK (Upgraded): Clean client with auth, error handling, supports file/url/bytes/base64, includes examples and CLI, easy installation.
Requires Python: >=3.8

# OCR.Space Python SDK (Upgraded)

## Mô tả

SDK nâng cấp cho Im2 info:

- Client sạch với xác thực, xử lý lỗi
- Hỗ trợ input: file, url, bytes, base64
- Có ví dụ và CLI đơn giản
- Cài đặt dễ dàng: `pip install -e .`

## Hướng dẫn sử dụng

### 1. Cài đặt package

Nếu đã upload lên PyPI:

```powershell
pip install img2info==0.2.1
```

Hoặc cài từ source:

```powershell
pip install -e .
```

### 2. Cài đặt dependencies

```powershell
pip install requests
```

### 3. Thiết lập API key

Windows CMD:

```powershell
set OCRSPACE_API_KEY=your_key
```

PowerShell:

```powershell
$env:OCRSPACE_API_KEY="your_key"
```

Linux/macOS:

```sh
export OCRSPACE_API_KEY=your_key
```

### 4. Sử dụng trong code Python

```python
from img2info import OCRSpaceClient
client = OCRSpaceClient(api_key="your_key")
result = client.from_file("invoice.png")
print(result.text)
```