PyMem
pymem is a lightweight Python library designed for interacting with the memory of running processes on Windows. It provides simple functions for reading and writing memory, enumerating modules, and searching for byte patterns. The library was created to aid developers and hobbyists in tasks such as automated testing, game hacking, or reverse engineering, where direct access to a process’s memory space is required.
The project was first released in 2018 by a contributor known as “FishQA,” and it has since
Core features include functions to open a process by PID or name, read and write integers, floats,
Because pymem manipulates process memory, its use touches on legal and ethical considerations. Modifying the memory