Wednesday, January 27, 2016

Postscript to Warehouse Post!

Yesterday’s post described an important development project currently being undertaken by the PSF called Warehouse. This will redevelop and improve the Python Package Index, PyPI. I wanted to let you know about a particular issue that the developers are currently trying to solve–that of translation into languages other than English.
Yesterday, Donald Stufft wrote to the PSF community mailing list, soliciting help from Pythonistas with experience and knowledge in non-English coding, translating, teaching, or other relevant expertise.
The desire is to support translations of the PyPI UI (user interface). Most, but not all, PyPI content is in English, which typically isn’t and shouldn’t be a problem. But the UI aspires to be more welcoming to folks who either are not native English speakers, or may not speak English at all.
The current translation engine for PyPI is L20n.js, but the drawback is that this client-side engine only supports more modern evergreen browsers–those which continually and automatically update. There may be users who have older browsers, especially in non-English speaking parts of the world. 
One possible solution is to write a server-side implementation of L20n, i.e., to port it to Python. But this solution would involve taking development time away from Warehouse itself, as well as losing some beneficial features of client-side translation. Another possibility is to switch to Gettext, which PyPI had been using previously, but this solution is also considered less than ideal. 
If you can help with this issue, or would like to be better informed, please visit:
I would love to hear from readers. Please send feedback, comments, or blog ideas to me at msushi@gnosis.cx.

Tuesday, January 26, 2016

Welcome to the Warehouse!

Warehouse is the new codebase being developed to power the Python Packaging Index (PyPI). Python developers and users already know that PyPI is the official comprehensive repository of third-party open source Python packages (see Wikipedia). PyPI, maintained by the PSF, is where developers publish their software modules and from which package managers, such as pip, download packages. Given the important role played by PyPI, the Warehouse project is bound to have a huge impact on the continued use and growth of Python. 
While many volunteers have been working on the project, the biggest contributions have come from lead developer Donald Stufft and web-design specialist, Nicole Harris. Donald, based in the US, is a core contributor to PyPI (as well as to CPython, pip, virtualenv, Django & Cryptography), while UK-based Nicole runs a web development business, Kabu Creative.
The design goals, as stated on Nicole's website, were:
  • To update the visual identity 
  • To make packages more discoverable
  • To accommodate the needs of both users and package maintainers 
  • To give the project the same level of professionalism as a commercial project of the same scale 
  • To ensure that the user experience reflects the Python community–a community that is welcoming, helpful and inclusive
Donald and Nicole have recently released a first look at the new design on the demo sites, Warehouse and Warehouse staging.
Looking great, thanks to Donald and Nicole's hard work, but there is plenty more to be done: writing code, writing the user guide (PyPUG), usability testing, and giving feedback. Details on how to volunteer and more info can be found on Nicole's site.
I would love to hear from readers. Please send feedback, comments, or blog ideas to me at msushi@gnosis.cx.