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

Homebrew

The package is available via Homebrew. Use the following commands to install:

$ brew tap davep/homebrew
$ brew install 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.1.1.tar.gz (2.1 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.1.1-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dhv-0.1.1.tar.gz
Algorithm Hash digest
SHA256 99e4b69de5b75c0b56052e0c657483eb1d649586c7413d62fb8872378c34e96e
MD5 6b26806b8756fec99594d0b4e422edfc
BLAKE2b-256 6eb157b7e0072d5cbf66178baa46ea2c8920afc1624102ef3c1c1edba20b09fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dhv-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 27.9 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 380d18b4be3e68b7c04fc7f23538bfbb4b7381e3d0e8f99acc925b4e6c135c90
MD5 e332bf9f6c9994219725ba44da4a4a66
BLAKE2b-256 9af1a4442bc434fbfb6e140fbe5b1d4370b977cb580e3cdff9e4242af7a6deb7

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