semvec/pypi-packages huggingface dataset:
dis-cli 0.3.0
A tool to inspect disassembled Python code on the command line.
License: MIT
Requires Python: >=3.7

# dis-cli

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

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/JoshKarpel/dis-cli/master.svg)](https://results.pre-commit.ci/latest/github/JoshKarpel/dis-cli/master)
[![codecov](https://codecov.io/gh/JoshKarpel/dis-cli/branch/master/graph/badge.svg?token=Y4LLQ82PZ1)](https://codecov.io/gh/JoshKarpel/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)

## Installation

`dis-cli` can be installed from [PyPI](https://pypi.org/project/dis-cli/).
To install via `pip`, run

```bash session
$ pip install dis-cli
```

## 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:
```bash session
$ 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!