Skip to main content

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, and umask
  • ✅ Root and guest user roles simulation
  • ✅ Python-based and fully customizable
  • ✅ Educational and lightweight

🛠️ Installation

Install from PyPI:

pip install pyterminal

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 :

  • Github

  • Gmail

  • Telegram

  • WhatsApp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyterminal_emulator-1.0.2.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyterminal_emulator-1.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file pyterminal_emulator-1.0.2.tar.gz.

File metadata

  • Download URL: pyterminal_emulator-1.0.2.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyterminal_emulator-1.0.2.tar.gz
Algorithm Hash digest
SHA256 342d709545b5500a0f9f23c149c2c4214bb3524a0c158a6540ff49aac15049c0
MD5 943d3cdbed577b5268f62fa03ca08618
BLAKE2b-256 cc47cc6aecb71884abcd2ec31929d35bd64bd7851fb6a58d59b0ec2b4a46d8f6

See more details on using hashes here.

File details

Details for the file pyterminal_emulator-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyterminal_emulator-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c73643a41adf6a6ad2ac2427c84099b325539bb9755f841654179ce4b3696e62
MD5 b6accf06b1d8a2138d369befaf758cd9
BLAKE2b-256 6955c6adab86e48c741d6a4d040833baf047259fb741acacb8c22ef56dc77b40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page