Hey! First off, thanks for pythonmemorymodule — it's a great low-level building block.
I built a higher-level wrapper on top of it called pyd_loader that handles a lot of the boilerplate that comes up when loading .pyd files in practice:
- Single-phase and multi-phase (PEP 451) init — handled automatically
- Package loading with relative imports (
from .parser import ...) — just call PydPackageLoader.from_dir()
- Module inspection — functions, classes, constants, DLL import/export tables
- Runtime import tracking with callbacks
- DEBUG output suppressed by default (via the
debug=False param you exposed)
Might be useful to others hitting the same rough edges. Repo here if you're curious:
https://github.com/testAccountDeltas/pyd_loader
Would love to hear if you see anything that could be done better at the lower level!
Hey! First off, thanks for pythonmemorymodule — it's a great low-level building block.
I built a higher-level wrapper on top of it called pyd_loader that handles a lot of the boilerplate that comes up when loading .pyd files in practice:
from .parser import ...) — just callPydPackageLoader.from_dir()debug=Falseparam you exposed)Might be useful to others hitting the same rough edges. Repo here if you're curious:
https://github.com/testAccountDeltas/pyd_loader
Would love to hear if you see anything that could be done better at the lower level!