Skip to main content

procmaps.py

CI 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.

Metadata

Release files for procmaps 0.6.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for procmaps 0.6.5
File Size Uploaded Provenance Actions
procmaps-0.6.5.tar.gz 9.0 kB Without provenance Details for procmaps-0.6.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for procmaps 0.6.5
File Interpreter ABI Platform Actions
procmaps-0.6.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 abi3 Linux glibc 2.17+ x86-64 Details for procmaps-0.6.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 274.3 kB

Release files / procmaps-0.6.5.tar.gz

Download URL procmaps-0.6.5.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7bed7adec67db915fea5351d06f50819993b44d37729f95f478a9fccc26cd3a7
BLAKE2b-256 checksum
How to use checksums
7535bc6990c0c008ade2c81e99143105b20f7817364135e0ef5a4fc4dcd69a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / procmaps-0.6.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL procmaps-0.6.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 265.3 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9a88399d06896012b45b96da392348d82f5041879e8a610361046e9ee7281092
BLAKE2b-256 checksum
How to use checksums
433e0ccd8e1ca482029e75ff8b44a0a1384fba1498c2270f8a7ef3676cf26ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for procmaps 0.6.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page