rdbo / libmem

Advanced Game Hacking Library for C, Modern C++, Rust and Python (Windows/Linux/FreeBSD) (Process/Memory Hacking) (Hooking/Detouring) (Cross Platform) (x86/x64/ARM/ARM64) (DLL/SO Injection) (Internal/External) (Assembler/Disassembler)
GNU Affero General Public License v3.0
797 stars 96 forks source link

Deprecate `LM_` suffix in Python bindings #223

Open rdbo opened 4 months ago

rdbo commented 4 months ago

libmem.LM_EnumProcess feels verbose for Python. Instead, something like this: libmem.enum_processes would be more welcome

rdbo commented 4 months ago

If this will be done, it should happen post 5.0 It should come with a redesign of the Python bindings, with a clear line separating the C layer from the Python layer, just like Rust. In Rust, there is libmem-sys, which is a barebones libmem wrapper, and libmem, which is a rusty libmem port. In Python, the C is slightly overlapping with the Python layer, so it should be rethought. Also, perhaps the Python layer should be implemented in pure Python only, it would make it easier to embed it with something like rustpython as far as I understand.

rdbo commented 3 months ago

Partially done