🧠 Pylocalmem
A Python package for local process data manipulation (64 bit).
📖 Description
Pylocalmem was made to be able to read and write values of local process addresses.
It can be used for game modding, runtime patching, or process manipulation — without needing to call OpenProcess, since you’re already inside the process you want to modify.
🧩 Requirements
Python 3.11 or higher (tested on 3.14 but should work from 3.11 to 3.14)
keystone-engine (pip install keystone-engine)
⚙️ Installation
pip install pylocalmem
🚀 Example Usage
from pylocalmem import Process
# Create a memory object for the current process
mem = Process()
# Read an integer at a given address
value = mem.read_int(0x7FFDEAD)
print("Current value:", value)
# Write a new value
mem.write_int(0x7FFDEAD, 1337)
print("New value written!")
# Define a structure to read
class MyStruct(ctypes.Structure):
_fields_ = [
("field1", ctypes.c_bool),
("field2", ctypes.c_longlong)
]
# Read the struct at a given address
data = mem.read_ctype(0x7FFDEAD, MyStruct)
print("Field 1:", data.field1)
# Modify our data
data.field1 = False
# Write the struct back at a given address
data = mem.read_ctype(0x7FFDEAD, data)
# Hide python
mem.hide_python()
# Get all modules exports
exports = mem.get_all_exports()
print(exports)
Metadata
Release files for Pylocalmem 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylocalmem-1.1.1.tar.gz | 8.5 kB | Without provenance | Details for pylocalmem-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylocalmem-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for pylocalmem-1.1.1-py3-none-any.whl |
Total release size: 16.9 kB
Release files / pylocalmem-1.1.1.tar.gz
| Download URL | pylocalmem-1.1.1.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80366b01f0a6cadc610c1b128abbaf78723b38ad731b2e08358cb4b11eeb126c
|
|
BLAKE2b-256 checksum How to use checksums |
2ca3c7b12621a5ffd726799d900307eed6d014190b638db56a95a043f8175ac3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / pylocalmem-1.1.1-py3-none-any.whl
| Download URL | pylocalmem-1.1.1-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
861f03c2028b5d0d2c07630bb8aeb52196a93fbe7a86d74c6e73c618cba4aedd
|
|
BLAKE2b-256 checksum How to use checksums |
99ddda818d32bc3feaefd1f20d5ad2b819dadf1db795a9e6a069892ca3786f32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for Pylocalmem 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.