A Linux Terminal Emulator development Package for various os
Project description
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 :
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyterminal_emulator-1.1.0.tar.gz.
File metadata
- Download URL: pyterminal_emulator-1.1.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5c8435524eef07f3fe3d4cd5cc9ea11d8c28f9e99fbb6579660b4892fab380c
|
|
| MD5 |
7c1d89235e5884ac1cbb5e1c2256dc37
|
|
| BLAKE2b-256 |
e32b3dfc3cb5baad1a3e0e4d178bea071914b9af6129ddcaef555b72e854a305
|
File details
Details for the file pyterminal_emulator-1.1.0-py3-none-any.whl.
File metadata
- Download URL: pyterminal_emulator-1.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddfed12affa157b824917ac4d2b91fa463322a867b603cafd35be6d533934b59
|
|
| MD5 |
dcc05b86a96ea52e8235f003e6f863b5
|
|
| BLAKE2b-256 |
1c60481c834ce97afa2bc983683c488a0364bb49a8e02dede31eb9045ed23633
|