Python bindings for procmaps.rs
Project description
procmaps.py
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:
print(f"{map_.begin_address}: {map_.pathname}")
# see dict(map_) for all attributes
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file procmaps-0.1.3-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: procmaps-0.1.3-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 832.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfdb45d184664873cee8be8f085ce07312c5f31e696adef95142f0ac91b826ce |
|
MD5 | ce3e42ddb93b88679e1a41eb2dc176fe |
|
BLAKE2b-256 | b655b036f1c6cacffb5b395786d27c7fe5dcd2f2c8a4023aade5339254fceb8c |
File details
Details for the file procmaps-0.1.3-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: procmaps-0.1.3-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 832.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 014fdbabe876148790563d4676fc2fe226ed63cc86e504f88422c113751e2592 |
|
MD5 | 6d10ce1476acec32baaa2ceb7c9a3cb2 |
|
BLAKE2b-256 | 4356e52c29c52c7ccc27fa3d9d75823a5166dc23e11e705705cda60f2e9b4a21 |
File details
Details for the file procmaps-0.1.3-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: procmaps-0.1.3-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 832.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b07265399913412db25cb38a395d8fb257677391a95acdce7ae7ca855ef021 |
|
MD5 | 0ba7c11ddb988d5b30397ea37916565f |
|
BLAKE2b-256 | 8898a20d27767979010957b6b0048a866d2b4bbcb9bd27f31faa23bddb40aa60 |
File details
Details for the file procmaps-0.1.3-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: procmaps-0.1.3-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 832.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd5ed93b30d5d68c17a8fffa03bcde9f159d47e113adc81d522610226d4ae28 |
|
MD5 | 43fd7189fb82f602b522181b4616bfdf |
|
BLAKE2b-256 | fa8ccb7c5eecb6dc8efffb21e5f56e2357a21b420d1f193980a1bf737bc1e986 |