Skip to main content

simple process manager

Project description

PMO

A lightweight process manager for Linux inspired by PM2, but using YAML configuration and designed primarily for development environments.

Features

  • Simple YAML configuration
  • Start, stop, and restart services
  • Real-time logs with service name highlighting
  • Basic process supervision
  • Environment variable support

Installation

# Using pip
pip install pmo

Usage

Quick Start

  1. Create a pmo.yml file in your project:
# Simple format
web-server: node server.js

# Detailed format
api:
  cmd: python api.py
  cwd: ./api
  env:
    NODE_ENV: development
  1. Start your services:
pmo start

Commands

  • Start: pmo start [all | service-name]
  • Stop: pmo stop [all | service-name]
  • Restart: pmo restart [all | service-name]
  • Logs: pmo log [all | service-name]
  • List: pmo ps

Configuration

The pmo.yml file supports two formats:

  1. Simple: service-name: command
  2. Detailed:
    service-name:
      cmd: command
      cwd: working directory (optional)
      env:
        KEY: value
    

PMO manages runtime data in the .pmo directory with logs and PID files.

License

MIT

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

pmo-0.3.3.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

pmo-0.3.3-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file pmo-0.3.3.tar.gz.

File metadata

  • Download URL: pmo-0.3.3.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pmo-0.3.3.tar.gz
Algorithm Hash digest
SHA256 339545fd9484910c55fccbe3005c713fb8f2bee48686a75d6de73003e1fc98ca
MD5 d74dc04f00146ff02afac44826b7388b
BLAKE2b-256 c988b3bba626373275c8f05b68f8a8e9a67fc8d0934d784a4287860c77e3b114

See more details on using hashes here.

File details

Details for the file pmo-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pmo-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pmo-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0fae5e3316e8d41ffe2d2cc39fd55ac27d9e9b1146e5f8da2e093055ebcfdd7b
MD5 8a0f31a501804eaf8f3039d481edcf11
BLAKE2b-256 b6c24ec6dc70ec47eaf2ce3bb8f843b784a5e679d9d5ab78a84595dde25bdc6f

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