Skip to main content

Python Terminal Emulator with Enhanced Developer Utilities

Project description

CMosSkillAV2 Terminal Emulator

A Python package that provides an enhanced terminal emulator with built-in file operations, Python execution, and developer utilities.

Features

  • File Operations: Built-in commands for managing files and directories (cd, ls, mkdir, touch, rm, cat)
  • Python Execution: Run Python scripts or execute Python code directly in the terminal
  • Package Management: Manage Python packages with built-in pip integration
  • Syntax Highlighting: Color-coded output for better readability
  • Tab Completion: Command and path completion with Tab key
  • Command History: Navigate through previously entered commands

Installation

pip install cmosskillav2

Usage

After installation, you can start the terminal emulator with:

cmosskillav2

Or you can run it as a module:

python -m cmosskillav2

Auto-Import Feature

CMosSkillAV2 also supports automatic activation in interactive Python sessions:

# In an interactive Python session
import cmosskillav2  # The terminal will automatically launch

This feature is especially useful when working in Python REPL environments and Jupyter notebooks. You can disable this behavior by setting:

export CMOSSKILLAV2_AUTO_LAUNCH=0

Available Commands

File Operations

  • cd [directory] - Change directory
  • ls [directory] - List directory contents
  • mkdir [-p] directory - Create directory
  • touch file [file2 ...] - Create empty file(s)
  • rm [-r] file_or_directory - Remove file(s) or directory
  • cat file [file2 ...] - Display file contents

Python Execution

  • python script.py [args] - Execute Python script file
  • >>> [python_code] - Execute Python code inline
  • pyshell - Start interactive Python shell

Package Management

  • pip install package - Install Python package
  • pip uninstall package - Uninstall Python package
  • pip list - List installed packages
  • pip freeze - Output installed packages in requirements format

Shell Built-ins

  • help [command] - Display help for commands
  • exit or quit - Exit the shell
  • clear - Clear the terminal screen

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

cmosskillav2-0.1.9.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

cmosskillav2-0.1.9-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file cmosskillav2-0.1.9.tar.gz.

File metadata

  • Download URL: cmosskillav2-0.1.9.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for cmosskillav2-0.1.9.tar.gz
Algorithm Hash digest
SHA256 b7da16bd42921a5f8f0896d91402a69124f8254ec0aa39e61db301c2948808ba
MD5 7999c658509844b39116a4e77805450d
BLAKE2b-256 ca831b3bf000bc4bca1f610b6fc67b8f76519ac0aae66996f8b989f6d56a6da0

See more details on using hashes here.

File details

Details for the file cmosskillav2-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: cmosskillav2-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for cmosskillav2-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1397d9b32dd8b45b31dff8e095bf7b2b75ebfbf9faeb2f9b0efefee383f22789
MD5 9373001e9936a916207e2bcb910713d7
BLAKE2b-256 fe69a4b3182805f8b8067f629932e9f2a7ff9826e8618ed3db1ea62cce755897

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