RELEASED

Pyker Python Process Manager

Lightweight, user-friendly tool for managing Python scripts. Run Python processes in the background, monitor their status, and manage logs with beautiful CLI tables and adaptive display. No sudo required!

pyker@local:~$
$ pyker start mybot /path/to/script.py
βœ“ Started process 'mybot' (PID: 12345)
$ pyker list
Process List:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚Name β”‚PID β”‚CPU% β”‚RAM β”‚Started β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚βœ“ mybot β”‚12345 β”‚2.1 β”‚45.2 β”‚2025-01-27 10:30:15β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
$ _

Features

Everything you need for Python process management

πŸš€

Simple Setup

No sudo required, works in user space with one-line installation

πŸ“Š

Process Monitoring

Real-time CPU and memory usage with beautiful status indicators

πŸ“

Automatic Logging

Each process gets its own log file with configurable rotation

πŸ”„

Log Rotation

Prevent disk space issues with automatic log rotation

πŸ“±

Adaptive Interface

Responsive tables that work on any terminal size

⌨️

Tab Completion

Auto-complete commands, process names, and file paths

Installation

Get Pyker running in seconds

1

One-Line Installation

Download and install with a single command

curl -sSL https://raw.githubusercontent.com/mrvi0/pyker/main/install.sh | bash
2

Python Installer

Alternative installation method

curl -sSL https://raw.githubusercontent.com/mrvi0/pyker/main/install.py | python3
3

Manual Installation

Clone and install from source

git clone https://github.com/mrvi0/pyker.git
cd pyker && python3 install.py

From Source

Manual installation with dependencies

pip3 install --user psutil
mkdir -p ~/.local/bin
cp pyker.py ~/.local/bin/pyker
chmod +x ~/.local/bin/pyker
export PATH="$HOME/.local/bin:$PATH"

Commands

Complete command reference

Process Management

start <name> <script>
Start a new Python process
stop <name>
Stop a running process
restart <name>
Restart a process
delete <name>
Remove process from list

Monitoring

list
Show all processes in table
logs <name>
Show process logs
info [name]
Show detailed information

Options

--auto-restart
Enable automatic restart on failure
--venv PATH
Use virtual environment
-f
Follow logs in real-time
-n 100
Show last 100 lines

Beautiful CLI Interface

Adaptive tables that work on any terminal size

Full Table (Wide Terminals)

Process List:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚Name β”‚PID β”‚CPU% β”‚RAM β”‚Started β”‚Stopped β”‚Script β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚βœ“ webserverβ”‚123456 β”‚2.1 β”‚45.2 β”‚2025-01-27 09:30:15β”‚- β”‚server.py β”‚
β”‚βœ— worker β”‚- β”‚0.0 β”‚0.0 β”‚2025-01-27 09:25:10β”‚2025-01-27 10:15:30β”‚worker.py β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Compact Table (Narrow Terminals)

Process List:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚Name β”‚PID β”‚Script β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚βœ“ webserver β”‚123456 β”‚server.py β”‚
β”‚βœ— worker β”‚- β”‚worker.py β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
βœ“

Status Indicators

Color-coded status with visual symbols

πŸ“Š

Real-time Metrics

CPU and memory usage monitoring

πŸ“±

Adaptive Display

Automatically adjusts to terminal width