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:
```python
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.
Change the `__rerp__` of bytes in IPython (python 3) to look less like text:
```python
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
bytesrepr-0.0.2-py3-none-any.whl
(16.1 kB
view hashes)
Close
Hashes for bytesrepr-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7faf972013ac4e9e00e6b570b8475d50c1bd0f1643ea1df74fbb09e529bc18d |
|
MD5 | b739b22cec12a6498de5a512e62a9e0b |
|
BLAKE2b-256 | b4d30cd94e0903a3cb7405c2e7d944eedf82e14974a3eaec52db818a537183d6 |