Skip to content

MushroomSquad/pm2mp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pm2mp

"Seamlessly control your pm2 processes with Python."

Issues License: MIT Python Version


Overview

pm2mp is a lightweight Python wrapper built on top of the pm2 API, designed to allow you to manage and control pm2 processes directly from your Python code. With pm2mp, you can easily start, stop, and monitor your processes without switching contexts between different environments.

Key Features:

  • Simple Integration: Quickly integrate with pm2 via Python.
  • Core Functionality: Provides wrappers for the main methods of the pm2 API.
  • Process Management: Start, stop, and restart processes and retrieve real-time status information.
  • Streamlined Workflow: Enables automation and easier management of Node.js processes from your Python projects.

Note: This is the initial release of pm2mp. Feedback and suggestions are welcome to help improve the library!


Getting Started

Installation

Install pm2mp using pip:

pip install pm2mp

Or:

pip install git+https://github.com/MushroomSquad/pm2mp.git

Dependencies

Ensure that the following dependencies are installed:

  • annotated-types==0.7.0
  • pydantic==2.10.6
  • pydantic_core==2.27.2
  • typing_extensions==4.12.2

Additionally, your system must have:

Usage Examples

Usage examples for pm2mp will be provided soon. Stay tuned for further updates.


About

pm2py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published