Skip to main content

Monkeypatch the python interpreter 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 will format the results of statements in the python interactive shell in 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. In addition, Monkeyhex implements a pprint-like pretty-printing of long lists and dictionaries.

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

monkeyhex-1.2.tar.gz (2.7 kB view hashes)

Uploaded source

Built Distribution

monkeyhex-1.2-py2-none-any.whl (3.1 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page