Skip to main content

An MS-DOS-like CLI OS made entirely in Python.

Project description

PyDOS

A work-in-progress DOS simulator for the terminal. This is an early version that implements basic DOS-style commands and filesystem operations. Still figuring out the best way to handle some features, but it's functional enough to play around with.

                            ██████╗ ██╗   ██╗    ██████╗  ██████╗ ███████╗
                            ██╔══██╗╚██╗ ██╔╝    ██╔══██╗██╔═══██╗██╔════╝
                            ██████╔╝ ╚████╔╝     ██║  ██║██║   ██║███████╗
                            ██╔═══╝   ╚██╔╝      ██║  ██║██║   ██║╚════██║
                            ██║        ██║       ██████╔╝╚██████╔╝███████║
                            ╚═╝        ╚═╝       ╚═════╝  ╚═════╝ ╚══════╝

Installation

Prerequisites

  • Python 3.7 or higher (check with python3 --version or python --version)
  • pip (comes with Python) or pipx
  • required modules(in requirements.txt)

Installing pipx (recommended method)

Windows:

python -m pip install --user pipx
python -m pipx ensurepath

Restart your command prompt after installation.

macOS:

brew install pipx

Or if you don't have Homebrew:

python3 -m pip install --user pipx
python3 -m pipx ensurepath

Linux (Ubuntu/Debian):

sudo apt update
sudo apt install pipx

Linux (other distributions):

python3 -m pip install --user pipx
python3 -m pipx ensurepath

Installing PyDOS

Method 1: Using pipx (recommended)

pipx install Py-DOS-B1

Method 2: Using pip

pip install Py-DOS-B1

On some systems you may need to use pip3:

pip3 install Py-DOS-B1

Method : Running locally

git clone https://github.com/basanta-bhandari/PY_DOS

on some systems a virtual environment is required

python -m venv <venv_name>

installing required modules on virtual enviornment(present in requirements.txt)

pip install <module_name(s)>

Running PyDOS

boot

Troubleshooting

Command not found after installation:

  • Close and reopen your terminal
  • On Windows: Make sure Python Scripts directory is in your PATH
  • On macOS/Linux: Make sure ~/.local/bin is in your PATH
  • Try running: python -m pip show Py-DOS-B1 to verify installation

Permission errors on Linux/macOS: Add --user flag to pip install:

pip install --user Py-DOS-B1

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

py_dos_b1-1.1.7.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

py_dos_b1-1.1.7-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file py_dos_b1-1.1.7.tar.gz.

File metadata

  • Download URL: py_dos_b1-1.1.7.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for py_dos_b1-1.1.7.tar.gz
Algorithm Hash digest
SHA256 95f7607c80564b4abc5178e940f8dd35a4a6599ccf31b8de0d14c218a235083e
MD5 93d3a0df104e1d38f912a24e4df208c7
BLAKE2b-256 8c631e229e13d77fdd3b65fdfa078bb5b1557dbdc6bc37f3383de9c64db477e0

See more details on using hashes here.

File details

Details for the file py_dos_b1-1.1.7-py3-none-any.whl.

File metadata

  • Download URL: py_dos_b1-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for py_dos_b1-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 86183234cd9bb7142a01ac7c12719e71e1eb5e64af376f50d5179205a769d976
MD5 3530ee32873a145b246e4f82ad03a62d
BLAKE2b-256 acb024c501b8fe9092155ad3c632e52b9f6e2ae8f84168a2464b63696ea1e751

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