Skip to main content

Monkeypatch the python interpreter and debugger to print integer results in hex

Project description is a small library to assist users of the python shell who work in contexts where printed numbers are more usefully viewed in hexadecimal.

Monkeyhex, as the name suggests, monkeypatches the system displayhook as well as the pprint and pdb modules to format integers as hex. To use it, just import the library and all future results will be formatted. To view a result in decimal again, put the expression in a print statement.

Project details

Download files

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

Files for monkeyhex, version 1.7.1
Filename, size File type Python version Upload date Hashes
Filename, size monkeyhex-1.7.1.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page