tehmaze/ipcalc — pull request #30 by skion (2014-05-02 09:21:51+00:00)
Title: More canonical and print formatting

Continuing from PR #28...

This does:
```python
In [5]: print repr(IP("1.2.3.4/29"))
IP('1.2.3.4/29')

In [6]: print repr(IP("1.2.3.4/32"))
IP('1.2.3.4')

In [7]: print repr(IP("1.2.3.4/29"))
IP('1.2.3.4/29')

In [8]: print repr(Network("1.2.3.4/29"))
Network('1.2.3.4/29')

In [9]: print str(IP("1.2.3.4/29"))
1.2.3.4

In [10]: print str(Network("1.2.3.4/29"))
1.2.3.4/29
```

Any suggestions?