3 ms·
What libraries are unavailable in Python 3? This gets mentioned in every hacknews thread on this subject, but I honestly don't believe I've seen any that weren
by cthalupa 10y ago
What libraries are unavailable in Python 3?
This gets mentioned in every hacknews thread on this subject, but I honestly don't believe I've seen any that weren't either already updated to support Python 3, or didn't have alternatives that worked just as well.
https://python3wos.appspot.com/ https://python3wos.appspot.com/ has a list of the largest packages in pypi, and there's very few that aren't available in Python3. httplib2 is easily replaced by requests. Supervisor isn't a library, it's an application. Same with carbon and graphite-web. Basically the only things on that list are the mozilla libraries, but IIRC some of those are in progress of being ported anyway.
Twisted is one of the few I can think of that still isn't there, but most of the core APIs are there, as well as a lot of secondary stuff - half a year ago, more than 90% of the unit tests were passing on python3.
- 52-6F-62 10y agoI can't offer you any kind of solid case. My Python experience is admittedly limited. I've been working to get more into it lately. Thanks for the resource. Can I ask if you see any reason to not abandon Python 2 altogether when starting a new development project?
- cthalupa 10y agoIf you control the deployment environment, none that I can think of. If not, and you need to deploy to RHEL/Cent 7, then maybe. They're still on 2.7, though software collections will let you install 3.x on either of them.
- 52-6F-62 10y agoOh thanks for the tip. I work with CentOS regularly, but haven't worked on a Python project in that environment yet.
- convolvatron 10y agoidk, two sound libraries, an image processing library. i've moved some forward, its not that hard. still seems like a mess