r2pipe


Namer2pipe JSON
Version 1.9.4 PyPI version JSON
download
home_pagehttps://rada.re
SummaryPipe interface for radare2
upload_time2024-07-11 16:48:45
maintainerNone
docs_urlNone
authorpancake
requires_pythonNone
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": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "pancake",
    "author_email": "pancake@nopcode.org",
    "download_url": "https://files.pythonhosted.org/packages/9b/4d/8679a1ddcf5cb6c94f7005d9a889d4855a3980d1e689fe73204f34fa91fc/r2pipe-1.9.4.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.9.4",
    "project_urls": {
        "Homepage": "https://rada.re"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b4d8679a1ddcf5cb6c94f7005d9a889d4855a3980d1e689fe73204f34fa91fc",
                "md5": "f1400a08c0388b95117360fa3ebb3de2",
                "sha256": "021de46fe1e4d6932543c0f548c3c02126cbda7e930c6d0887d7b3996ee82119"
            },
            "downloads": -1,
            "filename": "r2pipe-1.9.4.tar.gz",
            "has_sig": false,
            "md5_digest": "f1400a08c0388b95117360fa3ebb3de2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11507,
            "upload_time": "2024-07-11T16:48:45",
            "upload_time_iso_8601": "2024-07-11T16:48:45.600011Z",
            "url": "https://files.pythonhosted.org/packages/9b/4d/8679a1ddcf5cb6c94f7005d9a889d4855a3980d1e689fe73204f34fa91fc/r2pipe-1.9.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-11 16:48:45",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "r2pipe"
}
        
Elapsed time: 0.70186s