semvec/pypi-packages huggingface dataset:
unscrambler-words 1.0.0
A simple word unscrambler using permutations
Requires Python: >=3.7
Keywords: word unscrambler, permutations, word games

**Overview**

**Word Unscrambler** is a Python script that finds valid words from scrambled letters using permutations. It relies on **pandas** for word list management and **itertools** for generating word permutations.

**Installation**

Ensure Python (>=3.7) is installed and install the necessary dependency:

pip install pandas

**Usage**

Run the script and provide:

1. A text file (words.txt) with a list of words (one per line).
2. A scrambled word to unscramble.

**Functions**

_create_dataframe_from_txt(file_path)_

**Reads a text file and converts it into a pandas DataFrame.**

- **Parameter:** file_path _(str)_ – Path to the word list file.
- **Returns:** DataFrame – Contains words from the file.

_load_word_list_from_dataframe(df)_

**Converts the word column in the DataFrame into a lowercase set for quick lookup.**

- **Parameter:** df _(DataFrame)_ – Word list DataFrame.
- **Returns:** set – Unique words for easy searching.

_unscramble(scrambled_word, word_list)_

**Generates all possible permutations of the scrambled word and checks against the word list.**

- **Parameters:**
  - scrambled_word _(str)_ – The input scrambled word.
  - word_list _(set)_ – Set of valid words.
- **Returns:** set – Valid words matching permutations.

**Execution Flow**

1. Prompt the user for the word list file path.
2. Load words into a pandas DataFrame.
3. Convert DataFrame into a lookup set.
4. Prompt the user for scrambled input.
5. Generate word permutations.
6. Compare against the word list and return valid words.

**Example Usage**

1. python unscrambler.py
2. Enter file path for word list:  
    words.txt
3. Enter a scrambled word:  
    tap

**Expected Output**

Valid words for 'tap': {'tap', 'pat', 'apt'}

**License**

This project is licensed under The Unlicense
ri-excel 0.1.0
Utilities for excel management.
Requires Python: >=3.10.12

# ri-excel

Utilities for excel management.

## Configuring the `.pypirc` file

Before publishing the package to PyPI and TestPyPI, make sure to create the .pypirc file in your home directory
(~/.pypirc) with the following content:

```ini
[distutils]
index-servers =
    pypi
    testpypi

[pypi]
username = __token__
password = <PyPI_token>

[testpypi]
repository = https://test.pypi.org/legacy/
username = __token__
password = <TestPyPI_token>
```

## License

This project is released under Apache License 2.0.
See the [LICENSE](LICENSE) file for details.

## Dependencies

The project uses the following external libraries:

| Libreria         | Licenza    |
|------------------|------------|
| build            | Apache 2.0 |
| dataclass-wizard | Apache 2.0 |
| deepdiff         | MIT        |
| openpyxl         | MIT        |
| pytest           | MIT        |
| setuptools       | MIT        |
| tox              | MIT        |
| twine            | Apache 2.0 |
| wheel            | MIT        |

For more details on dependency licensing, see the [THIRD_PARTY_LICENSES.md](THIRD_PARTY_LICENSES.md) file.