Skip to main content

A tool to dive into Python code

Project description

DHV

DHV

Introduction

DHV is a terminal-based tool for diving into Python code, the emphasis for now being on bytecode disassembly.

[!IMPORTANT]

Python's dis module 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dhv-0.3.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dhv-0.3.0-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file dhv-0.3.0.tar.gz.

File metadata

  • Download URL: dhv-0.3.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.1

File hashes

Hashes for dhv-0.3.0.tar.gz
Algorithm Hash digest
SHA256 190b31e3b64bab18d6ddf6fe4767e99d8f8183ffa857e28f594cd72efa4cba04
MD5 b28fb437c9851add1b9d980380cbc169
BLAKE2b-256 81409014f278a166282e679f730bcda6a0a8e56baa08cfcd0d4dba7b52c159a6

See more details on using hashes here.

File details

Details for the file dhv-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dhv-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.1

File hashes

Hashes for dhv-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5cc904555ceb0114f2f170f980c0f05494b9962bb35f331df3a074f376f3b8e
MD5 665e8f86447d40505aa64aa1d00a73f2
BLAKE2b-256 ca2861185318f2ad0f534d0f6c7cf3683158e0803abe7b09fd1ad6798e689caf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page