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.5+ 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.3.0-cp38-cp38-manylinux1_x86_64.whl (184.0 kB view details)

Uploaded CPython 3.8

procmaps-0.3.0-cp37-cp37m-manylinux1_x86_64.whl (184.0 kB view details)

Uploaded CPython 3.7m

procmaps-0.3.0-cp36-cp36m-manylinux1_x86_64.whl (184.2 kB view details)

Uploaded CPython 3.6m

procmaps-0.3.0-cp35-cp35m-manylinux1_x86_64.whl (183.7 kB view details)

Uploaded CPython 3.5m

File details

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

File metadata

  • Download URL: procmaps-0.3.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 184.0 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for procmaps-0.3.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c0ec0ded73ef18aeef20fca41c1a94cfb95095b9f51ff7dafb51b0fc977acfb5
MD5 098f732a37560ef80ac137842282a1f8
BLAKE2b-256 5aa133c1101574f5ce38c67048cddad9dec1556e6dfe9b9bf0fba3866c094def

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procmaps-0.3.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 184.0 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for procmaps-0.3.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 383e7d9d75c915cb755679c6ba607c24f3aa6837b81da3579d18b7fd78a7cf07
MD5 9258193b46946106acf8762484c8650f
BLAKE2b-256 2f71bdbb9cb2d9e862be9dfe2d91b0b16b9a2f9e59ea4c2ad99590e6ac784adb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: procmaps-0.3.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 184.2 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for procmaps-0.3.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a5185dfdaf14aae6e34878626456ba806b90b34ae4175621a6b24593011bff06
MD5 d3bf0ca53386dd30fdec00cd0c3f0b92
BLAKE2b-256 4c3283fc742453e6141a5d8b27498f2c0d449e1d49646397236066a3cac5fa6f

See more details on using hashes here.

File details

Details for the file procmaps-0.3.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: procmaps-0.3.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 183.7 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for procmaps-0.3.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a3509cd7eb9d18cc4a615b12dbd2a50e37431c7f604c12d7f67f89e52a43eb16
MD5 8b2f98e9450aac9495c5b81e56ecc174
BLAKE2b-256 5991d1c409e9a8714b962c2c0f89a5ba4b7e2e96c997dc3ddbef8e08d739cd76

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