Metadata-Version: 2.4
Name: luausense
Version: 0.5.0
Summary: Intelligent autocompletion for Luau scripting language
Author-email: BlankHtmlPage <blankhtmlpager@gmail.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/BlankHtmlPage/luausense
Project-URL: Changelog, https://github.com/BlankHtmlPage/luausense/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/BlankHtmlPage/luausense/issues
Keywords: autocomplete,completion,lua,intellisense,luau,roblox
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# LuauSense

A Python library providing intelligent autocompletion for Luau scripting language keywords and built-in functions.

## Features

- Fast, case-sensitive autocompletion for Luau keywords and functions
- Input validation with meaningful error messages
- Zero external dependencies
- Fully typed for better IDE support

## Installation

```bash
pip install luausense
```

## Usage

```python
import luausense

# Get autocomplete suggestions
try:
    suggestions = luausense.autocomplete("pri")
    print(suggestions)  # ['print', 'private']
except luausense.TooShortRequestError:
    print("Input too short - minimum 2 characters required")
```

## API

autocomplete(query: str) -> List[str]

Returns a list of Luau keywords and built-in functions that start with the given query.

· query: String to autocomplete (minimum 2 characters)
· Returns: List of matching Luau identifiers
· Raises: TooShortRequestError if query length < 2

## License

Apache-2.0
