Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python bindings for

Project description

Build Status

Python bindings for

Installation is available for Python 3.6+ via pip:

$ pip install procmaps


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 uses PyO3 for binding Rust to Python. It uses Maturin to coerce the Rust built 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 will be created and installed in your virtual environment.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for procmaps, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size procmaps-0.5.1-cp36-cp36m-manylinux1_x86_64.whl (214.6 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size procmaps-0.5.1-cp37-cp37m-manylinux1_x86_64.whl (214.6 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size procmaps-0.5.1-cp38-cp38-manylinux1_x86_64.whl (215.0 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size procmaps-0.5.1-cp39-cp39-manylinux1_x86_64.whl (215.3 kB) File type Wheel Python version cp39 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page