Python bindings for procmaps.rs
Project description
procmaps.py
Python bindings for procmaps.rs.
Installation
procmaps.py is available for Python 3.7+ via pip:
$ pip install procmaps
Usage
import procmaps
# also: from_path, from_str
maps = procmaps.from_pid(9001)
for map_ in maps:
# `in` can be used to check address inclusion
if 0xfeedface in map_:
print("this map contains some address!")
# see dict(map_) for all attributes
print(f"{map_.begin_address}: {map_.pathname}")
Development
procmaps.py uses PyO3 for binding Rust
to Python. It uses Maturin to coerce the
Rust build into a pip and PyPI-compatible wheel.
Assuming that you have Rust and a relatively recent Python 3 installed, the following should just work:
$ make develop
$ source env/bin/activate
A local build of procmaps.py will be created and installed in your virtual environment.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file procmaps-0.6.5.tar.gz.
File metadata
- Download URL: procmaps-0.6.5.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bed7adec67db915fea5351d06f50819993b44d37729f95f478a9fccc26cd3a7
|
|
| MD5 |
5e250fc916ecdf90af6280d19119294d
|
|
| BLAKE2b-256 |
7535bc6990c0c008ade2c81e99143105b20f7817364135e0ef5a4fc4dcd69a5d
|
File details
Details for the file procmaps-0.6.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: procmaps-0.6.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 265.3 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a88399d06896012b45b96da392348d82f5041879e8a610361046e9ee7281092
|
|
| MD5 |
7074ad6d571a9394949a1cf2708008cd
|
|
| BLAKE2b-256 |
433e0ccd8e1ca482029e75ff8b44a0a1384fba1498c2270f8a7ef3676cf26ba1
|