Metadata-Version: 2.4
Name: unicode-raw-input
Version: 0.1.0a0
Summary: A cross-platform Unicode-aware replacement for Python's `raw_input()` (Python 2) and `input()` (Python 3) that handles Unicode text consistently across Python versions and operating systems.
Author-email: Jifeng Wu <jifengwu2k@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/jifengwu2k/unicode-raw-input
Project-URL: Bug Tracker, https://github.com/jifengwu2k/unicode-raw-input/issues
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=2
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: textcompat
Requires-Dist: typing; python_version < "3.5"
Dynamic: license-file

# unicode-raw-input

A cross-platform Unicode-aware replacement for Python's `raw_input()` (Python 2) and `input()` (Python 3) that handles Unicode text consistently across Python versions and operating systems.

## Installation

```bash
pip install unicode-raw-input
```

## Usage

```python
# coding=utf-8
from unicode_raw_input import unicode_raw_input

# Get Unicode text input from user
name = unicode_raw_input(u"Please enter your name: ")
print(u"Hello, " + name)
```

The function returns `typing.Text` (Unicode strings) regardless of Python version, ensuring consistent behavior across Python 2 and 3.

## 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).
