semvec/pypi-packages huggingface dataset:
pytextprinter 0.1.0
A Python library for advanced text printing utilities
Requires Python: >=3.7

# PyTextPrinter

A Python library for advanced text printing utilities and ESC/POS thermal printer support.

## Features

- Text formatting and styling
- Table printing
- Progress bars
- Banner text generation
- Cross-platform hardware printer support (Windows/Linux/macOS)
- ESC/POS command support for thermal/receipt printers
- **WebSocket API with Socket.IO compatibility** - [See WebSocket Documentation](WEBSOCKET_IMPLEMENTATION.md)

## Installation

```bash
pip install pytextprinter
```

## Quick Start

```python
from pytextprinter import TextPrinter

printer = TextPrinter()
printer.print_text("Hello, World!")
printer.print_banner("Welcome to PyTextPrinter")
```

## WebSocket API

PyTextPrinter now includes complete WebSocket support with Socket.IO compatibility! Access all printer functionality over the network in real-time.

### Quick WebSocket Example

```python
# Start WebSocket Server
from pytextprinter.websocket_server import PyTextPrinterWebSocketServer
import asyncio

async def start_server():
    server = PyTextPrinterWebSocketServer(host='localhost', port=8080)
    await server.start_server()

asyncio.run(start_server())
```

```python
# WebSocket Client
from pytextprinter.websocket_client import PyTextPrinterWebSocketClient
import asyncio

async def client_example():
    client = PyTextPrinterWebSocketClient('http://localhost:8080')
    await client.connect()
    
    # Use any PyTextPrinter function via WebSocket
    await client.print_text("Hello WebSocket!")
    await client.list_printers()
    await client.print_to_hardware("Receipt text\n")
    
    await client.disconnect()

asyncio.run(client_example())
```

**📖 For complete WebSocket documentation, examples, and API reference, see: [WEBSOCKET_IMPLEMENTATION.md](WEBSOCKET_IMPLEMENTATION.md)**

## Development

### Setup Development Environment

```bash
pip install -e .
pip install -r requirements-dev.txt
```

### Running Tests

```bash
pytest
```

### Building Documentation

```bash
cd docs
make html
```

## License

MIT License - see LICENSE file for details.

## Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests.
types-decorator 5.2.0.20251101
Typing stubs for decorator
Requires Python: >=3.9

## Typing stubs for decorator

This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`decorator`](https://github.com/micheles/decorator) package. It can be used by type checkers
to check code that uses `decorator`. This version of
`types-decorator` aims to provide accurate annotations for
`decorator==5.2.*`.

This package is part of the [typeshed project](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/decorator`](https://github.com/python/typeshed/tree/main/stubs/decorator)
directory.

This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.18.2
* [pyright](https://github.com/microsoft/pyright) 1.1.407

It was generated from typeshed commit
[`be34e9201db75891a67d4d3ce5e5705ee6636f6f`](https://github.com/python/typeshed/commit/be34e9201db75891a67d4d3ce5e5705ee6636f6f).
types-pycurl 7.45.7.20251101
Typing stubs for pycurl
Requires Python: >=3.9

## Typing stubs for pycurl

This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
for the [`pycurl`](https://github.com/pycurl/pycurl) package. It can be used by type checkers
to check code that uses `pycurl`. This version of
`types-pycurl` aims to provide accurate annotations for
`pycurl==7.45.7`.

This package is part of the [typeshed project](https://github.com/python/typeshed).
All fixes for types and metadata should be contributed there.
See [the README](https://github.com/python/typeshed/blob/main/README.md)
for more details. The source for this package can be found in the
[`stubs/pycurl`](https://github.com/python/typeshed/tree/main/stubs/pycurl)
directory.

This package was tested with the following type checkers:
* [mypy](https://github.com/python/mypy/) 1.18.2
* [pyright](https://github.com/microsoft/pyright) 1.1.407

It was generated from typeshed commit
[`be34e9201db75891a67d4d3ce5e5705ee6636f6f`](https://github.com/python/typeshed/commit/be34e9201db75891a67d4d3ce5e5705ee6636f6f).
specrypto 1.2.0
A powerful mathematical toolkit including number theory, modular arithmetic, matrix operations, and crypto utilities
Requires Python: >=3.7

# specrypto

`specrypto` is a mathematical and cryptographic toolkit including:
- Number theory
- Modular arithmetic
- Matrix operations
- RSA utilities
- Euler, Fermat, CRT, primality tests, and more.

## ðŸ§  Installation
```bash
pip install specrypto
```

## âš¡ Usage
```python
import mathtools

print(mathtools.gcd(42, 56))
print(mathtools.euler_totient(36))
```
calcli 1.0.2
A simple, elegant terminal calculator with interactive mode
Requires Python: >=3.8

# calcli

A simple, elegant terminal calculator with interactive mode. Perfect for quick math without leaving your terminal.

## Quick Start

```bash
pip install calcli
calcli
```

Done. You're in calculator mode.

## Usage

### Interactive Mode

```bash
calcli
```

Then:

```
calcli> 5 + 3
8
calcli> 10 * 2.5
25
calcli> 32% of 2,345,454
749090.88
calcli> 5kg to lbs
11.02 lbs
calcli> 25 is what % of 100
25.00%
calcli> h
calcli> exit
```

### Single Calculation

```bash
calcli "5 + 3"
# Output: 8

calcli "32% of 100"
# Output: 32

calcli "10km to miles"
# Output: 6.21 miles
```

## Features

**Interactive mode** — Stay in the calculator, run multiple calculations  
**Basic math** — Add, subtract, multiply, divide, parentheses  
**Percentages** — "32% of 2345454" and "25 is what % of 100" syntax  
**Unit conversions** — 14+ conversions including distance, weight, temperature, volume  
**Colored output** — Clean, readable results  
**Fast** — No GUI overhead, pure terminal speed  
**History** — Type `h` to see your last 10 calculations with results  
**Auto-copy** — Results are instantly copied to your clipboard  
**Flexible formatting** — Ignore spacing, use commas, drop spaces between numbers and units

## Flexible Input

calcli handles messy human input gracefully:

```bash
calcli "5+3"              # Works (no spaces)
calcli "5  +  3"          # Works (extra spaces)
calcli "1,000,000 + 500"  # Works (commas ignored)
calcli "5kg to lbs"       # Works (no space needed)
calcli "32% of 100"       # Works
calcli "32 percent of 100"  # Also works
```

## Available Conversions

```
celsius to fahrenheit      kg to lbs                 miles to km
fahrenheit to celsius      km to miles               ounces to grams
feet to meters             lbs to kg                 grams to ounces
meters to feet             inches to cm              gallons to liters
cm to inches               liters to gallons
```

Type `help` in interactive mode to see the full list.

## Requirements

- Python 3.8+
- colorama (for colored output)
- pyperclip (for clipboard support)

## Installation

### From PyPI

```bash
pip install calcli
```

### Update to Latest Version

```bash
pip install --upgrade calcli
```

### From GitHub

```bash
git clone https://github.com/tolaoyelola/calcli.git
cd calcli
pip install -r requirements.txt
pip install -e .
```

## Examples

```bash
# Basic math
calcli "100 + 50 * 2"
# Output: 200

calcli "(100 + 50) * 2"
# Output: 300

# Percentages
calcli "15% of 80"
# Output: 12

calcli "what % of 200 is 50"
# Output: 25.00%

# Conversions
calcli "32 celsius to fahrenheit"
# Output: 89.60 fahrenheit

calcli "100kg to lbs"
# Output: 220.46 lbs

calcli "5inches to cm"
# Output: 12.70 cm
```

## Special Commands (Interactive Mode)

```
help     Show all available commands and conversions
h        Display your last 10 calculations with results
exit     Quit calcli
q        Quit calcli (shorthand)
```

## Contributing

Contributions welcome! Feel free to open issues or submit PRs.

## License

MIT — See LICENSE file for details.