Skip to main content

Python bindings for procmaps.rs

Project description

procmaps.py

Build Status Downloads

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


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.6.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl (216.7 kB view details)

Uploaded PyPy manylinux: glibc 2.5+ x86-64

procmaps-0.6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (217.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

procmaps-0.6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (217.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.5+ x86-64

procmaps-0.6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (216.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.5+ x86-64

procmaps-0.6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (216.9 kB view details)

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

File details

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

File metadata

  • Download URL: procmaps-0.6.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  • Upload date:
  • Size: 216.7 kB
  • Tags: PyPy, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for procmaps-0.6.0-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6bcdf2cdc60084e1b8007abc22c34b349b0e99277110111884f752530b6ae53f
MD5 1342370c8b4ba3f9b08918595508213d
BLAKE2b-256 162e62ac2d437f47f50bf54dffcc0bd198bc9776a715185e39d64d9fe4e62753

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: procmaps-0.6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  • Upload date:
  • Size: 217.5 kB
  • Tags: CPython 3.10, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for procmaps-0.6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 26285c107265b2f12f791c4e5b1c25538904a9ff8dbb1c745a1242cd3c928c4f
MD5 17d14225ad5e52a49d2892e2f2c12a3b
BLAKE2b-256 a28de57b71cfdce26893cbb3e3afe540ecc750fd78331d9c8157682aedb2240c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: procmaps-0.6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  • Upload date:
  • Size: 217.7 kB
  • Tags: CPython 3.9, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for procmaps-0.6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f3b6f97f36b7c8ed33f01c4d4525a8e43ea4b4837478f49b1b5866edfe8185de
MD5 b09cb480cc6ecd33deb70fa02649b00f
BLAKE2b-256 78b29808934e6c33aaa57dd35fd67ed3f5c86103cba54fae0c748fc7c5d914f9

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: procmaps-0.6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  • Upload date:
  • Size: 216.9 kB
  • Tags: CPython 3.8, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for procmaps-0.6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4cad62aad30132229c61d01f21291a12c5268bbd4655b5bce47645fa90bf98f3
MD5 38b97aded72b17350f950ba0f8cf15a4
BLAKE2b-256 2f87a93f87ce5bb84f224c77b945bba1f7a681c014d2bb09571a9b01c32fbab3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: procmaps-0.6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
  • Upload date:
  • Size: 216.9 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.5+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for procmaps-0.6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d8482c02b270a868b2727b83f25756f2d55e91f98d02f6dfd3cecabe459e95de
MD5 d644d767417fe4ebeafd421eae71238e
BLAKE2b-256 0cf13ff3aef8314f12fde9ddd53355807748db1cb283d61f18e8c35b639e213f

See more details on using hashes here.

Provenance

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