Skip to main content

Python bindings for procmaps.rs

Project description

procmaps.py

Build Status

Python bindings for procmaps.rs.

Installation

procmaps.py is available for Python 3.6+ 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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

procmaps-0.5.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (200.2 kB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

procmaps-0.5.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (200.4 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

procmaps-0.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (200.5 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

procmaps-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (200.4 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

procmaps-0.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (200.6 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

procmaps-0.5.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (200.1 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

File details

Details for the file procmaps-0.5.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for procmaps-0.5.2-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c7428b5324553b10dc98d65c392a5801fa22916938424ca263cbf1e85a53ec60
MD5 b9b0f3453f3debda9824a1778d67d1f6
BLAKE2b-256 be38ef98d63afbdc6f4c542c37e74995b6de5ef12f39afc491de9eeaf7b891c3

See more details on using hashes here.

File details

Details for the file procmaps-0.5.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for procmaps-0.5.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 551e493f6b39a2080635e3afa25e77428afd7de72965ea6a1f3b4bfe3c73277b
MD5 167a405ff93bf9dd8257910b1e1c9706
BLAKE2b-256 4260c9586b80fee1f49e8b1167c73cb9960f6962988164e6e0741108c6079e93

See more details on using hashes here.

File details

Details for the file procmaps-0.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for procmaps-0.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ac9ae12c6357c03fb57585b6af235d374a16bad357620a0cf27e54d95de49459
MD5 e63e4c9ef96d47243a5276dd957c11ee
BLAKE2b-256 064ab047191e2f48a84f090f907dc3accd570203ffffbd49f19f724bea0ea49c

See more details on using hashes here.

File details

Details for the file procmaps-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for procmaps-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7bc5d626298b8f1447e9148d6a35935c540f6ae56ab5ed310fad17750e837489
MD5 69731c82d2c9c8bd2e3087e85a4af68b
BLAKE2b-256 161aaee2e9d6318aea8e63ebd8aa3acc1a54a9d1e1831f734da1ee7429e0c6b7

See more details on using hashes here.

File details

Details for the file procmaps-0.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for procmaps-0.5.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 64b0f440633ecf2e205d8c9daf18e1f405b9b0d62fa09aa03c6df560fb99f0d2
MD5 d98edef7175e940ece34dee47c8263b3
BLAKE2b-256 cc68d738e7d9b33e292ba8e78cbf938593d0b828cf90e2c7ad1a7419425dead9

See more details on using hashes here.

File details

Details for the file procmaps-0.5.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for procmaps-0.5.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 67e36fd3a29d457c747baaf16a9d02298c229c09ecd87b2b2ebb6e5cade5a9c1
MD5 591ef73ab3ba7a2234c360b453843a01
BLAKE2b-256 2a70594e1654fea84d13f3703f2ac48acbf2f95d0bf7c2eae87ef5d4f5e73157

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page