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
dis_cli-0.1.5.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for dis_cli-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6cc242a4675233ffd031758874896758c66f2e86a6d401307b75c07e5d860d7 |
|
MD5 | f5d1be687b2d6812006a202b723468ee |
|
BLAKE2b-256 | 84a831822634022d3eca5256cbd0832a78e68d9a1b0fb4cdd3f4fa09a33d3302 |