A tool to inspect disassembled Python code on the command line.
Project description
dis-cli
dis-cli is a command line tool for displaying Python source and bytecode.
Installation
dis-cli can be installed from PyPI.
To install via pip, run
$ 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:
$ dis a.b.c
Just like you could import c in a script:
import a.b.c
dis takes a few other options.
Try running dis --help to see what's available!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dis_cli-0.3.0.tar.gz.
File metadata
- Download URL: dis_cli-0.3.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a3823c02f73c4621d03c6217b231a9e2570d865a3225b40cf83779023c7b187
|
|
| MD5 |
8fc0c9a570d60aa4cfaf0f6ac053c6ee
|
|
| BLAKE2b-256 |
820b48135e9a004bd405a0c7d1b163d90f5488aa33384fb00289c0d98e3f7252
|
File details
Details for the file dis_cli-0.3.0-py2.py3-none-any.whl.
File metadata
- Download URL: dis_cli-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1b146dc663090671fd3d614556224a410dbec4c7fade34d15385e39a8d6610b
|
|
| MD5 |
b1002d8408ba7502f107f613d7efcaf9
|
|
| BLAKE2b-256 |
c2eda359d11fbc44d1f806be5d92f3a4aee482e414c7d8d1d6b65112ac3e9ab4
|