Pre-release
This release is a pre-release and may not be stable for production use.
get-unicode-shell
A cross-platform utility to get the current SHELL as a Unicode string.
Features
- Gets the current SHELL based on the operating system and environment variables.
- Handles both NT (
COMSPEC) and POSIX (SHELL) conventions. - Provides reliable fallbacks (
cmd.exeon NT,/bin/shon POSIX). - Fully compatible with Python 2 and 3.
Usage
# coding=utf-8
from __future__ import print_function
from get_unicode_shell import get_unicode_shell
print(u'Detected shell:', get_unicode_shell())
Installation
pip install get-unicode-shell
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 get-unicode-shell 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 | |
|---|---|---|---|
| get_unicode_shell-0.1.0a0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| get_unicode_shell-0.1.0a0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / get_unicode_shell-0.1.0a0.tar.gz
| Download URL | get_unicode_shell-0.1.0a0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26ff0bd469f0faf87a816e4df618a7f4b3c39ae08771f33684c157a7f85b8568
|
|
BLAKE2b-256 checksum How to use checksums |
d3b7e39cb5b4aea75bac535012fb13fb2ddbfb6275243f991a59db8468b26d63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / get_unicode_shell-0.1.0a0-py2.py3-none-any.whl
| Download URL | get_unicode_shell-0.1.0a0-py2.py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
597f6656dc42b2aca8a5c2c5badfddabff582ee51def92f7ce0fb1ab8994b392
|
|
BLAKE2b-256 checksum How to use checksums |
2f1120d5ce42e6cff43a8cf2dff6f7da3fe7ac8d90eef4ea354d8e8dbaa48de2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|