Metadata-Version: 2.1
Name: memobj
Version: 0.9.0
Summary: A library for defining objects in memory
Home-page: https://github.com/StarrFox/memobj
License: MIT
Author: StarrFox
Author-email: starrfox6312@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: regex (>=2022.9.13,<2023.0.0)
Project-URL: Repository, https://github.com/StarrFox/memobj
Description-Content-Type: text/markdown

# memobj
A library for defining objects in memory

## installing
python 3.11+ only!
`pip install memobj`

## usage
```python
import os

from memobj import WindowsProcess, MemoryObject
from memobj.property import Signed4


class PythonIntObject(MemoryObject):
    value: int = Signed4(24)


process = WindowsProcess.from_id(os.getpid())

# id(x) gives the address of the object in cpython
my_int = PythonIntObject(address=id(1), process=process)

# prints 1
print(my_int.value)
```

## support
discord
https://discord.gg/7hBStdXkyR

