semvec/pypi-packages huggingface dataset:
pycollectionsx 0.1.0
Extended data-structure toolkit — PriorityQueue, Trie, LRUCache, etc.
License: MIT
Requires Python: >=3.8
Keywords: data-structures, collections, trie, cache

# pycollectionsx

Extended data-structure toolkit — PriorityQueue, Trie, LRUCache, etc.

## Installation

```bash
pip install pycollectionsx
```

## Usage

```python
from pycollectionsx import PriorityQueue, Trie, LRUCache

pq = PriorityQueue()
pq.push("item", 1)

trie = Trie()
trie.insert("hello")

cache = LRUCache(10)
cache.put("key", "value")
```

## License

MIT
pyarraytools 0.1.0
Flatten, chunk, deduplicate, rotate, shuffle, and group lists
License: MIT
Requires Python: >=3.8
Keywords: array, list, utilities, data-structures

# pyarraytools

Flatten, chunk, deduplicate, rotate, shuffle, and group lists.

## Installation

```bash
pip install pyarraytools
```

## Usage

```python
from pyarraytools import flatten, chunk, deduplicate

flatten([[1, 2], [3, 4]])  # [1, 2, 3, 4]
chunk([1, 2, 3, 4, 5], 2)  # [[1, 2], [3, 4], [5]]
deduplicate([1, 2, 2, 3])  # [1, 2, 3]
```

## License

MIT
pylangdetect 0.1.0
Lightweight language detection (rule-based + ML hybrid)
License: MIT
Requires Python: >=3.8
Keywords: language, detection, nlp, i18n

# pylangdetect

Lightweight language detection (rule-based + ML hybrid).

## Installation

```bash
pip install pylangdetect
```

## Usage

```python
from pylangdetect import detect_language, is_english

detect_language("Hello world")  # "en"
is_english("Hello world")  # True
```

## License

MIT
pynormalizer 0.1.0
Unicode, whitespace, and accent normalization for multilingual text
License: MIT
Requires Python: >=3.8
Keywords: unicode, normalization, text, multilingual

# pynormalizer

Unicode, whitespace, and accent normalization for multilingual text.

## Installation

```bash
pip install pynormalizer
```

## Usage

```python
from pynormalizer import normalize_whitespace, remove_accents

normalize_whitespace("hello    world")  # "hello world"
remove_accents("café")  # "cafe"
```

## License

MIT
pyregexkit 0.1.0
Simplify regex matching, extraction, and replacement with human-friendly syntax
License: MIT
Requires Python: >=3.8
Keywords: regex, pattern, matching, extraction

# pyregexkit

Simplify regex matching, extraction, and replacement with human-friendly syntax.

## Installation

```bash
pip install pyregexkit
```

## Usage

```python
from pyregexkit import match_pattern, extract_all, replace_all

# Check if pattern matches
match_pattern(r"\d+", "123")  # True

# Extract all matches
extract_all(r"\d+", "abc123def456")  # ["123", "456"]

# Replace all matches
replace_all(r"\d+", "X", "abc123def456")  # "abcXdefX"
```

## License

MIT
pytextutils 0.1.0
Common string helpers - reverse, slugify, capitalize, remove punctuation
License: MIT
Requires Python: >=3.8
Keywords: string, text, utilities, helpers

# pytextutils

Common string helpers - reverse, slugify, capitalize, remove punctuation.

## Installation

```bash
pip install pytextutils
```

## Usage

```python
from pytextutils import reverse_string, slugify, capitalize_words

# Reverse a string
reverse_string("hello")  # "olleh"

# Create URL-friendly slug
slugify("Hello World")  # "hello-world"

# Capitalize words
capitalize_words("hello world")  # "Hello World"
```

## Features

- `reverse_string()` - Reverse a string
- `slugify()` - Convert text to URL-friendly slug
- `capitalize_words()` - Capitalize first letter of each word
- `remove_punctuation()` - Remove all punctuation
- `remove_whitespace()` - Remove all whitespace
- `truncate()` - Truncate text to specified length
- `word_count()` - Count words in text
- `is_palindrome()` - Check if text is a palindrome

## License

MIT