Skip to main content

A Linux Terminal Emulator development Package for various os

Project description

pyterminal - Linux Terminal emulator in any OS


🌟 Description

pyterminal 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
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.0.tar.gz (11.3 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.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyterminal_emulator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5a9871579816e7fe764f0afe2525efe4b79900cccfaa051ef671451f2ec4af72
MD5 8cb0e5f8a6eb3176471798fc8a12379b
BLAKE2b-256 5c9b947f1f64b0f9aef242d83e822ac3de87327d0e6e31301945d39e0638b079

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyterminal_emulator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3aa02c109a8f6f987dd8fd942eacc297987681aa5a5527b523eea91e7e91888
MD5 5c269b10790ea7a83cb34db2d772fbbb
BLAKE2b-256 53314df9188ba5e9e57696618e4c286e413505ed31d1c40e3b2132e20a5d34df

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