Skip to main content

r2pipe for Python

Interact with radare2 using the #!pipe command or in standalone scripts that communicate with local or remote r2 via pipe, tcp or http.

Installation

$ pip install r2pipe

or

$ pip3 install r2pipe

Usage example:

import r2pipe

r2 = r2pipe.open("/bin/ls")
r2.cmd('aa')
print(r2.cmd("afl"))
print(r2.cmdj("aflj"))            # evaluates JSONs and returns an object
print(r2.cmdj("ij").core.format)  # shows file format
r2.quit()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

r2pipe-1.9.8.tar.gz (23.8 kB view details)

Uploaded Source

File details

Details for the file r2pipe-1.9.8.tar.gz.

File metadata

  • Download URL: r2pipe-1.9.8.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.15

File hashes

Hashes for r2pipe-1.9.8.tar.gz
Algorithm Hash digest
SHA256 87ac3a69cd6466e330364bb47995bf49c2a87aadaf6497b9cd7fdd9dcf24c1df
MD5 f05c777a249a8cc295be99f0bf15e9d5
BLAKE2b-256 00681bd2e0d709f3b0d8e112f143797c92074e8b76ad6c1fb44e05420e085e4e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.9.8 This release

1 file

1.9.6

1 file

1.9.4

1 file

1.9.3

1 file

1.9.2

1 file

1.9.0

1 file

1.8.8

1 file

1.8.7

1 file

1.8.6

1 file

1.8.4

1 file

1.8.3

1 file

1.8.2

1 file

1.8.1

1 file

1.8.0

1 file

1.7.4

1 file

1.7.3

1 file

1.7.2

1 file

1.7.1

1 file

1.7.0

1 file

1.6.5

1 file

1.6.4

1 file

1.6.2

1 file

1.6.1

1 file

1.6.0

1 file

1.5.5

1 file

1.5.4

1 file

1.5.3

1 file

1.5.2

1 file

1.5.1

1 file

1.5.0

1 file

1.4.2

1 file

1.4.1

1 file

1.4.0

1 file

1.3.1

1 file

1.3.0

1 file

1.2.0

1 file

1.1.0

1 file

1.0.0

1 file

0.9.9

1 file

0.9.8

1 file

0.9.7

1 file

0.9.6

1 file

0.9.5

1 file

0.9.4

1 file

0.9.3

1 file

0.9.1

1 file

0.9.0

1 file

0.8.9

1 file

0.8.8

1 file

0.8.6

1 file

0.8.5

1 file

0.8.4

1 file

0.8.2

1 file

0.8.0

1 file

0.7.0

1 file

0.6.5

1 file

0.6.4

1 file

0.6.3

1 file

0.6.2

1 file

0.6.1

1 file

0.6.0

1 file

0.5.1

1 file

0.5.0

1 file

0.4.1

1 file

0.4

0.3

1 file

0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page