pyterminal-emulator - Linux Terminal emulator in any OS
🌟 Description
pyterminal-emulator is a powerful simulation of the Linux command-line environment that runs directly on Windows. It is specially designed for:
- Students who cannot install Linux due to lack of knowledge, limited storage, or fear of corrupting their system.
- Developers who want to build and test terminal-based tools with real command output.
- Educators who want to demonstrate Linux CLI without needing virtual machines or dual-boot setups.
You can run commands like cp, mv, chmod, git, curl, bash, python, and many more — just like in a real Linux environment — all within your current operating system.
✅ Features
- ✅ Simulates real Linux commands with actual command output
- ✅ Includes Git, Curl, Bash, Python, Cat, and more
- ✅ Implements core Unix file operations:
cp,mv,touch,ln,chmod,find, etc. - ✅ Includes advanced tools:
chown,chgrp,tar,gzip,zip, andumask - ✅ Root and guest user roles simulation
- ✅ Python-based and fully customizable
- ✅ Educational and lightweight
🛠️ Installation
Install from PyPI:
pip install pyterminal-emulator
Or install from source:
git clone https://github.com/ap1311/pyterminal-emulator
cd pyterminal
python setup.py install
📋 Commands Supported
| Command | Description |
|---|---|
ls |
List directory contents |
cd |
Change directory |
pwd |
Show current path |
mkdir |
Make directory |
rm |
Remove file/folder |
whoami |
Show current user role |
sudo su |
Switch to root user |
cp |
Copy files |
mv |
Move/rename files |
touch |
Create empty files |
head |
Show top lines of a file |
tail |
Show last lines of a file |
ln |
Create symbolic links |
find |
Search files |
chmod |
Change file permissions |
chown |
Change file owner |
chgrp |
Change file group |
umask |
Set default permission mask |
tar |
Archive and extract tar files |
gzip |
Compress and decompress files |
zip |
Compress files in .zip format |
cat |
Display file content |
bash |
Run bash scripts |
python |
Run Python scripts |
git |
Git commands (clone, push, pull…) |
curl |
Fetch from URL |
wget |
Download from URL |
✍️ Example
chmod +x script.py
cp file.txt backup/
cd foldername
git clone https://github.com/username/repo.git
bash install.sh
python3 run.py
🎯 Use Cases
👨🎓 Teaching Linux CLI to beginners
💻 Building terminal-based apps without Linux
🧪 Testing Linux command-line tools
🎓 Projects for students and educators
⚠️ Disclaimer
This project is for educational purposes only. It does not provide a full Linux shell or kernel. It simulates Linux-like command execution using Python under a controlled environment. It is not meant to replace real Linux systems.
[~] Find Me on :
Metadata
Release files for pyterminal-emulator 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyterminal_emulator-1.1.0.tar.gz | 11.2 kB | Without provenance | Details for pyterminal_emulator-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyterminal_emulator-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for pyterminal_emulator-1.1.0-py3-none-any.whl |
Total release size: 21.2 kB
Release files / pyterminal_emulator-1.1.0.tar.gz
| Download URL | pyterminal_emulator-1.1.0.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5c8435524eef07f3fe3d4cd5cc9ea11d8c28f9e99fbb6579660b4892fab380c
|
|
BLAKE2b-256 checksum How to use checksums |
e32b3dfc3cb5baad1a3e0e4d178bea071914b9af6129ddcaef555b72e854a305
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / pyterminal_emulator-1.1.0-py3-none-any.whl
| Download URL | pyterminal_emulator-1.1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddfed12affa157b824917ac4d2b91fa463322a867b603cafd35be6d533934b59
|
|
BLAKE2b-256 checksum How to use checksums |
1c60481c834ce97afa2bc983683c488a0364bb49a8e02dede31eb9045ed23633
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for pyterminal-emulator 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.