{"id":25349560,"url":"https://github.com/starrfox/memobj","last_synced_at":"2025-10-29T19:30:51.090Z","repository":{"id":59951083,"uuid":"461276449","full_name":"StarrFox/memobj","owner":"StarrFox","description":"A library for defining objects in memory","archived":false,"fork":false,"pushed_at":"2025-02-03T18:02:31.000Z","size":243,"stargazers_count":3,"open_issues_count":15,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-03T19:22:33.120Z","etag":null,"topics":["memory"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StarrFox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-19T18:19:49.000Z","updated_at":"2025-02-03T18:02:35.000Z","dependencies_parsed_at":"2023-02-12T23:45:37.728Z","dependency_job_id":"b6a120ff-1a88-4c04-911c-c4d39938a5ba","html_url":"https://github.com/StarrFox/memobj","commit_stats":{"total_commits":99,"total_committers":3,"mean_commits":33.0,"dds":"0.11111111111111116","last_synced_commit":"214e7cfb69b55a65a1a0b766e2029eeea8b94957"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarrFox%2Fmemobj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarrFox%2Fmemobj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarrFox%2Fmemobj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StarrFox%2Fmemobj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StarrFox","download_url":"https://codeload.github.com/StarrFox/memobj/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238878946,"owners_count":19545853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["memory"],"created_at":"2025-02-14T16:43:24.530Z","updated_at":"2025-10-29T19:30:51.084Z","avatar_url":"https://github.com/StarrFox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# memobj\n\nA Python library for defining and reading structured objects directly from another process's memory.\n\n## Installation\n\n- Using pip:\n  - pip install memobj\n- Using uv:\n  - uv add memobj  \n\n## Quickstart\n\n```python\nimport os\nfrom memobj import WindowsProcess, MemoryObject\nfrom memobj.property import Signed4\n\nclass PythonIntObject(MemoryObject):\n    # note: this offset might be different in future python versions\n    value: int = Signed4(24)\n\nprocess = WindowsProcess.from_id(os.getpid())\n\n# id(x) gives the address of the object in cpython\nmy_int = PythonIntObject(address=id(1), process=process)\n\n# prints 1\nprint(my_int.value)\n```\n\nSee tests for more examples (pointer properties, process/module utilities, etc.).\n\n## Development setup\n\nThis project uses uv as the build backend and package manager.\n\n- Sync dependencies (including the tests group):\n  - uv sync --all-groups\n- Run tests:\n  - uv run pytest\n- Format code:\n  - isort . \u0026\u0026 black .\n\nOptional: A Nix flake provides a dev shell with Python 3.11, just, black, isort, and more:\n\n- nix develop\n\n## Support\n\ndiscord: \u003chttps://discord.gg/wcftyYm6qe\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarrfox%2Fmemobj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarrfox%2Fmemobj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarrfox%2Fmemobj/lists"}