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 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 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.1-cp39-cp39-manylinux1_x86_64.whl (215.3 kB view details)

Uploaded CPython 3.9

procmaps-0.5.1-cp38-cp38-manylinux1_x86_64.whl (215.0 kB view details)

Uploaded CPython 3.8

procmaps-0.5.1-cp37-cp37m-manylinux1_x86_64.whl (214.6 kB view details)

Uploaded CPython 3.7m

procmaps-0.5.1-cp36-cp36m-manylinux1_x86_64.whl (214.6 kB view details)

Uploaded CPython 3.6m

File details

Details for the file procmaps-0.5.1-cp39-cp39-manylinux1_x86_64.whl.

File metadata

  • Download URL: procmaps-0.5.1-cp39-cp39-manylinux1_x86_64.whl
  • Upload date:
  • Size: 215.3 kB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for procmaps-0.5.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b2f47af979aed85906d7b49c17892b3e7e807e3cc7ce141f0071910be0c33eda
MD5 b3ba2f2f75de16168bf7661f3fa51d36
BLAKE2b-256 b94ce96b6795ac3d021878cffbd9d23c5fd5fb3ad83e2e959653c60131f44f8f

See more details on using hashes here.

File details

Details for the file procmaps-0.5.1-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: procmaps-0.5.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 215.0 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for procmaps-0.5.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e0189c659869564453a6d475a56d08c9c6e259372260b3e4d1ba6c5a47e930df
MD5 32eb826c94d891cda3db958c1bf5e111
BLAKE2b-256 6d611db48f6c1f4b27c736cb232c1c7bd199ba861da1a68f3f776312f4bbed32

See more details on using hashes here.

File details

Details for the file procmaps-0.5.1-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: procmaps-0.5.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 214.6 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for procmaps-0.5.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dafc930094ede17101b32ff869b12d1098c68b3268f81893546dc5715c4dbd3f
MD5 a95d1ab7ecffa4864b6e3b7c5fcac156
BLAKE2b-256 ebcef5ad7d73cdc2de0158d4d3c8f49e29f0c68a24f55bc5dc4e3beaf9f3f802

See more details on using hashes here.

File details

Details for the file procmaps-0.5.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: procmaps-0.5.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 214.6 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for procmaps-0.5.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 48e1561b764d7c30d0dced03e4bc742a0f4886821853167fd4eb6743313a8c41
MD5 7142ad5314c1e03383dec09e6d9ede79
BLAKE2b-256 768e32078afec1de458200d8bc4a357a833c1f5698ade5e8000b17d329a4c4ca

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