Skip to main content

A simple IPython extension which changes the representation of bytes to

Project description

# BytesRepr

Change the `__rerp__` of bytes in IPython (python 3) to look less like text:

In[1]: import bytesrepr
In[2]: bytesrerpr.enable()
In[3]: b'These are bytes'
<bytes b'These are bytes' at 0x107e0c000>

Bytes will be elided to `...`in the rerp if too long.

Project details

Download files

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

Built Distribution

bytesrepr-0.0.2-py3-none-any.whl (16.1 kB view hashes)

Uploaded py3

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