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.2.0-cp38-cp38-manylinux1_x86_64.whl (823.2 kB view details)

Uploaded CPython 3.8

procmaps-0.2.0-cp37-cp37m-manylinux1_x86_64.whl (823.2 kB view details)

Uploaded CPython 3.7m

procmaps-0.2.0-cp36-cp36m-manylinux1_x86_64.whl (823.4 kB view details)

Uploaded CPython 3.6m

procmaps-0.2.0-cp35-cp35m-manylinux1_x86_64.whl (822.6 kB view details)

Uploaded CPython 3.5m

File details

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

File metadata

  • Download URL: procmaps-0.2.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 823.2 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.0 CPython/3.8.5

File hashes

Hashes for procmaps-0.2.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8b0200900740bdb56efe399a874f1b8c0b54d9b951d4b488ac3bdb9bac489130
MD5 0bc111cecd7fd9ea3c41725b90f3985f
BLAKE2b-256 74c76f87243424acbb0a1e878bd8ed7017264fe80218998c096d194331d57704

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: procmaps-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 823.2 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.0 CPython/3.8.5

File hashes

Hashes for procmaps-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6f5ece24ea53a99430e0017ca9e649b8dee49395dade9ee4b754e01459cc179b
MD5 dc0269c1942f43d9db9045221ea5ad4a
BLAKE2b-256 6a660a950afc3572bb9be8c606f642f324995efe368540e87ba00f7457575cdd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: procmaps-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 823.4 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.0 CPython/3.8.5

File hashes

Hashes for procmaps-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d547bf0f92a5823d1f0ed207de817a53775d0478c70e819837ca334128e2a811
MD5 0454f54e1bb1ccd823ea3d6c0176b1c3
BLAKE2b-256 d3be10431bec2368aa460a76cd4331cafd9f0da4907ee484e9ea16e77d046bbc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: procmaps-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 822.6 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.0 CPython/3.8.5

File hashes

Hashes for procmaps-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 70c6cd5719e3d8f3068175df2bdf7970a773fd6f98d998a7a6962dc162fa9ad2
MD5 68fd7d1aa915644fef0a1806e727e986
BLAKE2b-256 d5a9513056004614243c3587fbf0013314c304b2d16163a91de733de98465106

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