r2pipe


Namer2pipe JSON
Version 1.8.8 PyPI version JSON
download
home_pagehttps://rada.re
SummaryPipe interface for radare2
upload_time2024-01-11 18:02:03
maintainer
docs_urlNone
authorpancake
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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:

```python
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()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://rada.re",
    "name": "r2pipe",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "pancake",
    "author_email": "pancake@nopcode.org",
    "download_url": "https://files.pythonhosted.org/packages/f2/26/44a626aea707ffcbfc750ab4ec3b3305da7b4d2b4c4d8c308e783847fdc3/r2pipe-1.8.8.tar.gz",
    "platform": null,
    "description": "# r2pipe for Python\n\nInteract with radare2 using the #!pipe command or in standalone scripts\nthat communicate with local or remote r2 via pipe, tcp or http.\n\n## Installation\n\n```\n$ pip install r2pipe\n```\n\nor\n\n```\n$ pip3 install r2pipe\n```\n\n## Usage example:\n\n```python\nimport r2pipe\n\nr2 = r2pipe.open(\"/bin/ls\")\nr2.cmd('aa')\nprint(r2.cmd(\"afl\"))\nprint(r2.cmdj(\"aflj\"))            # evaluates JSONs and returns an object\nprint(r2.cmdj(\"ij\").core.format)  # shows file format\nr2.quit()\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Pipe interface for radare2",
    "version": "1.8.8",
    "project_urls": {
        "Homepage": "https://rada.re"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f22644a626aea707ffcbfc750ab4ec3b3305da7b4d2b4c4d8c308e783847fdc3",
                "md5": "74a69f3446c8c625fb9e278faffad336",
                "sha256": "c003a63b96debf5ce03dc2688aa2a54b86a750a6b2a3c1ec9dc41733e6f57254"
            },
            "downloads": -1,
            "filename": "r2pipe-1.8.8.tar.gz",
            "has_sig": false,
            "md5_digest": "74a69f3446c8c625fb9e278faffad336",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11266,
            "upload_time": "2024-01-11T18:02:03",
            "upload_time_iso_8601": "2024-01-11T18:02:03.304238Z",
            "url": "https://files.pythonhosted.org/packages/f2/26/44a626aea707ffcbfc750ab4ec3b3305da7b4d2b4c4d8c308e783847fdc3/r2pipe-1.8.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-11 18:02:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "r2pipe"
}
        
Elapsed time: 0.17059s