A tool to dive into Python code
Project description
DHV
Introduction
DHV is a terminal-based tool for diving into Python code, giving easy visual access to bytecode disassembly and the abstract syntax tree. If you're curious about what's "under the hood" when it comes to your Python source, this tool should help satisfy some of that curiosity.
[!IMPORTANT]
Python's
dismodule is a bit of a moving target; because of this and to try and keep the code as clean as possible DHV only works with Python 3.13 or later.
Installing
pipx
The package can be installed using pipx:
$ pipx install dhv
uv
The package can be install using uv:
uv tool install --python 3.13 dhv
Using DHV
Once you've installed DHV using one of the above methods, you can run the
application using the dhv command.
The best way to get to know DHV is to read the help screen, once in the main application you can see this by pressing F1.
Getting help
If you need help, or have any ideas, please feel free to raise an issue or start a discussion.
TODO
See the TODO tag in issues to see what I'm planning.
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 dhv-0.4.2.tar.gz.
File metadata
- Download URL: dhv-0.4.2.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b172ab04fdb3a6072c0d4f1c4f5e068c1d5df2445eceaebf9bce3092e803cf
|
|
| MD5 |
42229f9ec4f70e99418c1a7efe3c1c23
|
|
| BLAKE2b-256 |
c729ecbcc0f1277953822e338ed31628e3eefae613dcbd89b654bb0436258f1f
|
File details
Details for the file dhv-0.4.2-py3-none-any.whl.
File metadata
- Download URL: dhv-0.4.2-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30ca9b926039fcee0263331bea8df6f8c89c0d61bf050fde9d488e0bddaf72e0
|
|
| MD5 |
4b6eeb1324adb7bec51d540c6edf4d6f
|
|
| BLAKE2b-256 |
b7c54dc2cef8d8af4c2b92b5cabb575bc9c18abde84998f1cf5fb6257bdeb1fd
|