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.
Metadata
Release files for dhv 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dhv-1.0.0.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dhv-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.8 kB
Release files / dhv-1.0.0.tar.gz
| Download URL | dhv-1.0.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46f5d8aa731dbd4cd648e0e77b9216f4b05460f49c734b669810439e3b8daaa2
|
|
BLAKE2b-256 checksum How to use checksums |
1287235a0f94d2cc4124e840d733b956dff1a16ff2bd4e6dca6492aa1f40e916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dhv-1.0.0-py3-none-any.whl
| Download URL | dhv-1.0.0-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fe372e96bea169069693e6e1516eba6e204f2950e16ec4cc435973d3c260dd6
|
|
BLAKE2b-256 checksum How to use checksums |
3db68c7b5fb639e83ba0b98ee083e356901efcef122e683ded038b668afc4746
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|