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.4.0-cp39-cp39-manylinux2010_x86_64.whl (207.0 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

procmaps-0.4.0-cp38-cp38-manylinux2010_x86_64.whl (207.0 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

procmaps-0.4.0-cp37-cp37m-manylinux2010_x86_64.whl (207.0 kB view details)

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

procmaps-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl (207.2 kB view details)

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

File details

Details for the file procmaps-0.4.0-cp39-cp39-manylinux2010_x86_64.whl.

File metadata

  • Download URL: procmaps-0.4.0-cp39-cp39-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 207.0 kB
  • Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for procmaps-0.4.0-cp39-cp39-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ee9ebc284281ad6528555b38c252a4b54bba54488a7d61e9663fb311991d2896
MD5 71897319704bc659521a03d10484dcd2
BLAKE2b-256 35c0e0d4237541e0a362ced3708e05bd12c69fe549b93302533578ebaf7fbfc9

See more details on using hashes here.

File details

Details for the file procmaps-0.4.0-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: procmaps-0.4.0-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 207.0 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for procmaps-0.4.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 f77e12c18c4510b929d8c2dc4f7adbe2188369b8afc3d06505fb7c694deb5c26
MD5 a0390ac7fd1e8550e96d877c67912270
BLAKE2b-256 662edbfa7efdb9ddebd828bf7aaee11e0b42a32ca02492a1d8e98e78b12f49d0

See more details on using hashes here.

File details

Details for the file procmaps-0.4.0-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: procmaps-0.4.0-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 207.0 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for procmaps-0.4.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 cabaf772b2c8c69cbe96518cd813e6f19d34ec85dc889afcb0029d41bf3f4119
MD5 658d1a071d882f0e48261729f5e2bbd3
BLAKE2b-256 bdeaf5f42767ea502d889ea615808ce6316b563e4882f0e47d27674419e3cfdf

See more details on using hashes here.

File details

Details for the file procmaps-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: procmaps-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 207.2 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for procmaps-0.4.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8e4392411b4854429928fd6439c31d65e3c1dcb439af7d17596a9571a6de9f68
MD5 fa9ab3599420730f9e7ebe655f7f1f75
BLAKE2b-256 4395a59f3856e08bfc9632dc6e07bfca978baccbe4d27912a6d1ecabb128aa09

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