news: huge number of PyPI packages. • Bad news: huge number of PyPI packages. • So, what to do? Find, learn, and use good tools! • Everyone's time is limited • Here's an intro into a few things I use (and contribute to).
• Include in install_requires in setup.py file • Sane versioning, URL generation, bundling, minification and more -- js.* packages (100+). • Integration with any WSGI apps and Python frameworks (Django, Pyramid, Flask, etc) >>> from js.jquery import jquery >>> #Your favourite web framework here >>> def knights_who_say(context, request): >>> #Can be called any time during request handling ... #Resources automatically included on page ... jquery.need() ... return {'v': 'Ekki-Ekki-Ekki-Ekki-PTANG. Zoom-Boing. Z-nourrwringmm.'}