PyCon 2015 Sprints and Releases for the Pyramid Web Framework
PyCon 2015 in Montréal, Québec, wrapped up with sprints, where developers gather to write code and documentation, and contribute it to Python open source projects. Sprints are a free and welcoming environment for people who want to learn Python, how to contribute to open source projects, or to meet other developers who share the free and open source software spirit.
There was a lot of activity during the 2015 PyCon sprints, with over 700 developers participating some time over four days. I spent my time with developers and contributors to the Pyramid web framework and its associated projects. In alphabetic order, the following are updates to and releases of projects.
Pyramid 1.6a1 (and 1.4.8, and 1.5.6) were released. Over a dozen features have been added in 1.6a1, including cache busting. A security fix for the JSONP renderer was added for all three releases.
pyramid_jinja2 version 2.5 was released. This package provides Jinja2 template bindings for the Pyramid web framework.
Steve Piercy announced the release of pylons-sphinx-themes a Python package that contains Sphinx themes for Pylons related projects. This project is based on Pylons Sphinx Theme (singular), but uses a package implementation on PyPI instead of git submodules and manual steps. [This was my first ever Python package release, with help and support from Blaise Laflamme, Michael Merickel, Chris McDonough, and Jaython(?) at the sprints. --steve]
Substance D 1.0a1¶
Carlos de la Guardia announced the first alpha version of Substance D was released. Substance D is an application server built upon the Pyramid web framework. It provides a user interface for managing content as well as libraries and utilities which make it easy to create applications.
The Pyramid web framework has an updated website to market its features and usage, TryPyramid.com. Blaise Laflamme contributed the beautiful design, Paul Everitt the narrative, and Gavin Carrothers, Michael Ryabushkin, and Steve Piercy the sample code and initial concept. More content will be added and a formal launch is planned in the coming weeks.
Warehouse is a next generation Python Package Repository designed to replace the legacy code base that currently powers PyPI. Warehouse is written using the Pyramid web framework and several of its add-ons. [We have a new slogan: "Pyramid, the web framework that won't annoy you." ;) --steve]
Although there was a disappointing lack of web framework talks at this year's PyCon, there were some fascinating introductory talks that caught my attention.
Nix package manager¶
Domen Kožar presented Rethinking packaging, development and deployment in which he describes and demonstrates the Nix package manager.
Anyone who uses Python (or pretty much any programming language) knows the rueful state of packaging and distributing software. It's all terrible. Nix is a vast improvement and helps solve the whole mess.
Although not specifically a Python project, Nix is a free and open source software. Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. It provides atomic upgrades and rollbacks, side-by-side installation of multiple versions of a package, multi-user package management and easy setup of build environments.
Chris McDonough presented Using Supervisor For Fun And Profit. Supervisor is a popular Python application that lets you control and monitor process state on UNIX-like systems. This talk describes what it is, and how to use it effectively to make your application deployments better.
Logging the state of server applications¶
Hynek Schlawack presented Beyond grep: Practical Logging and Metrics. This talk takes a stroll through the landscape of logging and metrics to find the perfect fit determining the current state of your server applications. There are also a couple of "shout outs" to Pyramid.
Chris McDonough and Pyramid podcast on Talk Python to Me¶
The Talk Python to Me podcast released a conversation with Chris McDonough in Episode #3: Pyramid Web Framework recorded on Monday, April 6, 2015. Host Michael Kennedy inquires what Pyramid is and how it compares to frameworks like Django, Flask, Bottle, and more.
WebPack web asset compression and optimization tool¶
With the update of TryPyramid.com, a fanstastic, easy-to-use tool was introduced into our development workflow. WebPack is an open-source command-line tool for automatically packing websites by shrinking them down without affecting the way they look or behave. Webpack is also useful for losslessly shrinking image collections and locating corrupted files. Webpack works by stripping unnecesary information from and optimizing the compression of images, and removing comments and whitespace from HTML. This makes for a faster website for your users, and lower bandwidth usage costs for you.
Best Dining Experience¶
Saint Houblon in the Latin Quarter has 24 beers on tap from a local microbrewery, fresh and fantastic food for both meat lovers, vegetarians, and dessertatarians, and phenomenal friendly service. And very reasonable prices. I had dinner here three times during my stay in Montréal.
Did you like this article? Please send me a Gratipay, as little as 25¢ per week!
Updates, suggestions and comments regarding this article may be sent to Steve Piercy, [email protected] or comment using Disqus.