Comments (2)
Thank you, I am fully aware of it, having contributed to ipaddr myself.
So here goes my short summary of the history of both. ipaddr was originally developed as an in-house google library, and then open-sourced (in these days, you had to jump through a lot of google-specific hoops). It was then suggested to include ipaddr in the Python standard library. There was quite a lot of discussion at the time, with multiple projects being suggested for stdlib inclusion.
Eventually, things settled with Python 3.3, the first version of Python to include the ipadress module. Both modules have different function and class names as well as slightly different semantics. See PEP 3144 for more details.
As it was always planned, inclusion of the library into the Python stdlib meant that ipaddr was on its way out. While there were some patches and a PyPi release, development of ipaddr has now been dead for close to a year. Look at the history - after 2012 there is effectively no more development (so exists is a strong word, lingering around would be more appropriate). In contrast, although it has matured, development on ipaddress is still very much alive.
This project backports the ipaddress module to Python 2.6, 2.7, and 3.2. This allows developers to let their code run on older Python versions that are still the only option on many old but stable systems (namely RHEL).
Being a module in the standard library, ipaddress is very much the way forward. ipaddr-py managed to include some rudimentary Python 3 support toward its end, but it still doesn't even work on current Python versions without major modifications. The inclusion into the standard library means that ipaddress is way more popular nowadays. If you look at the download numbers, you'll see that nearly 10 times as many users are using ipaddress on Python 2.x.
from ipaddress.
cool, thanks for the history!
from ipaddress.
Related Issues (20)
- IPv4Address improperly parses a 4 byte string as a valid IP address HOT 1
- unicode/bytes behavior is inconvenient HOT 1
- Why releases are not up-to-date here ? HOT 1
- buildout legacy distribution HOT 8
- Why this is only for python 3.3+ HOT 2
- Support Python 3.3+ with importing through another package name HOT 2
- IPv6Network misrepresentation HOT 2
- .reverse_pointer can't handle prefixes HOT 1
- ipaddres in requirements.txt is incorrectly linked to another project HOT 2
- ip_network not working correctly HOT 1
- Update Python tracking to support scoped IPv6 addresses
- [CVE-2020-14422] Hash collisions in IPv4Interface and IPv6Interface
- About to get dropped from gentoo portage because of python 2.7 HOT 2
- class IPv4Network hosts function does not work when prefixlen is /31 HOT 1
- Update to version from Python 3.8
- packed fails for IPv6 address
- CWE-20 Input Verification Vulnerabilities
- Security issues
- Shouldn't ipaddress.IPv4Address() return bool instead of rising?
- Compatibility for Python 3.11x
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipaddress.