Pre-release
This release is a pre-release and may not be stable for production use.
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
pip install unicode-raw-input
Usage
# 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.
Release files for unicode-raw-input 0.1.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unicode_raw_input-0.1.0a0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unicode_raw_input-0.1.0a0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 5.7 kB
Release files / unicode_raw_input-0.1.0a0.tar.gz
| Download URL | unicode_raw_input-0.1.0a0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
560666b546a6b9e3632ecc16af2324192d30e6256258a0b765d6a43fff4a4f46
|
|
BLAKE2b-256 checksum How to use checksums |
bc0c0c8020cd7ecb1f3f4e3e75ad316611be0132a34970dc6244ce80212eb982
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / unicode_raw_input-0.1.0a0-py2.py3-none-any.whl
| Download URL | unicode_raw_input-0.1.0a0-py2.py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
da999b4b771adb25c56b96baffb7fc0d6e5461e2c17f028509a32b3bcd8dd085
|
|
BLAKE2b-256 checksum How to use checksums |
b3844360aec3595b775e3ca8c96d3e33b77c914a98cd26b76bce04ae899c5173
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|