Metadata-Version: 2.1
Name: dis-cli
Version: 0.1.2
Summary: A tool to inspect disassembled Python code on the command line.
Home-page: UNKNOWN
Author: Josh Karpel
Author-email: josh.karpel@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: click (>=7)
Requires-Dist: rich (>=6)
Provides-Extra: tests
Requires-Dist: pytest (>=6) ; extra == 'tests'

# dis-cli

![PyPI](https://img.shields.io/pypi/v/dis-cli)

`dis-cli` is a command line tool for displaying Python source and bytecode.

![dis.dis](https://github.com/JoshKarpel/dis-cli/raw/master/examples/dis.dis.png)

## Usage

`dis-cli` provides a command line program, `dis`,
which takes a "import-like" path to a function to display information about.
For example, if you have a package `a`, with a submodule `b`, containing a function `c`,
you could run `dis` on it like this:
```console
$ dis a.b.c
```
Just like you could import `c` in a script:
```python
import a.b.c
```

`dis` takes a few other options.
Try running `dis --help` to see what's available!


