Skip to main content

The Pyramid web application development framework, a Pylons project

Project description

Pyramid

Pyramid is a small, fast, down-to-earth, open source Python web application development framework. It makes real-world web application development and deployment more fun, more predictable, and more productive.

Pyramid is produced by the Pylons Project.

Support and Documentation

See the Pylons Project website to view documentation, report bugs, and obtain support.

License

Pyramid is offered under the BSD-derived Repoze Public License.

Authors

Pyramid is made available by Agendaless Consulting and a team of contributors.

1.3a1 (2011-12-09)

Features

  • Python 3.2 compatibility.
  • New pyramid.compat module and API documentation which provides Python 2/3 straddling support for Pyramid add-ons and development environments.
  • A mako.directories setting is no longer required to use Mako templates Rationale: Mako template renderers can be specified using an absolute asset spec. An entire application can be written with such asset specs, requiring no ordered lookup path.
  • bpython interpreter compatibility in pshell. See the “Command-Line Pyramid” narrative docs chapter for more information.
  • Added get_appsettings API function to the pyramid.paster module. This function returns the settings defined within an [app:...] section in a PasteDeploy ini file.
  • Added setup_logging API function to the pyramid.paster module. This function sets up Python logging according to the logging configuration in a PasteDeploy ini file.
  • Configuration conflict reporting is reported in a more understandable way (“Line 11 in file…” vs. a repr of a tuple of similar info).
  • A configuration introspection system was added; see the narrative documentation chapter entitled “Pyramid Configuration Introspection” for more information. New APIs: pyramid.registry.Introspectable, pyramid.config.Configurator.introspector, pyramid.config.Configurator.introspectable, pyramid.registry.Registry.introspector.
  • Allow extra keyword arguments to be passed to the pyramid.config.Configurator.action method.
  • New APIs: pyramid.path.AssetResolver and pyramid.path.DottedNameResolver. The former can be used to resolve asset specifications, the latter can be used to resolve dotted names to modules or packages.

Bug Fixes

Backwards Incompatibilities

  • Pyramid no longer runs on Python 2.5 (which includes the most recent release of Jython and the Python 2.5 version of GAE as of this writing).
  • The paster command is no longer the documented way to create projects, start the server, or run debugging commands. To create projects from scaffolds, paster create is replaced by the pcreate console script. To serve up a project, paster serve is replaced by the pserve console script. New console scripts named pshell, pviews, proutes, and ptweens do what their paster <commandname> equivalents used to do. Rationale: the Paste and PasteScript packages do not run under Python 3.
  • The default WSGI server run as the result of pserve from newly rendered scaffolding is now the wsgiref WSGI server instead of the paste.httpserver server. Rationale: Rationale: the Paste and PasteScript packages do not run under Python 3.
  • The pshell command (see “paster pshell”) no longer accepts a --disable-ipython command-line argument. Instead, it accepts a -p or --python-shell argument, which can be any of the values python, ipython or bpython.
  • Removed the pyramid.renderers.renderer_from_name function. It has been deprecated since Pyramid 1.0, and was never an API.
  • To use ZCML with versions of Pyramid >= 1.3, you will need pyramid_zcml version >= 0.8 and zope.configuration version >= 3.8.0. The pyramid_zcml package version 0.8 is backwards compatible all the way to Pyramid 1.0, so you won’t be warned if you have older versions installed and upgrade Pyramid “in-place”; it may simply break instead.

Dependencies

  • Pyramid no longer depends on the zope.component package, except as a testing dependency.
  • Pyramid now depends on a zope.interface>=3.8.0, WebOb>=1.2dev, repoze.lru>=0.4, zope.deprecation>=3.5.0, translationstring>=0.4 (for Python 3 compatibility purposes). It also, as a testing dependency, depends on WebTest>=1.3.1 for the same reason.
  • Pyramid no longer depends on the Paste or PasteScript packages.

Documentation

  • The SQLAlchemy Wiki tutorial has been updated. It now uses @view_config decorators and an explicit database population script.
  • Minor updates to the ZODB Wiki tutorial.
  • A narrative documentation chapter named “Extending Pyramid Configuration” was added; it describes how to add a new directive, and how use the pyramid.config.Configurator.action method within custom directives. It also describes how to add introspectable objects.
  • A narrative documentation chapter named “Pyramid Configuration Introspection” was added. It describes how to query the introspection system.

Scaffolds

  • Rendered scaffolds have now been changed to be more relocatable (fewer mentions of the package name within files in the package).
  • The routesalchemy scaffold has been renamed alchemy, replacing the older (traversal-based) alchemy scaffold (which has been retired).
  • The starter scaffold now uses URL dispatch by default.

Project details


Release history Release notifications

History Node

1.9.2

History Node

1.9.1

History Node

1.9

History Node

1.9b1

History Node

1.9a2

History Node

1.9a1

History Node

1.8.5

History Node

1.8.4

History Node

1.8.3

History Node

1.8.2

History Node

1.8.1

History Node

1.8

History Node

1.8b1

History Node

1.8a1

History Node

1.7.6

History Node

1.7.5

History Node

1.7.4

History Node

1.7.3

History Node

1.7.2

History Node

1.7.1

History Node

1.7

History Node

1.7b4

History Node

1.7b3

History Node

1.7b2

History Node

1.7b1

History Node

1.7a2

History Node

1.7a1

History Node

1.6.5

History Node

1.6.4

History Node

1.6.3

History Node

1.6.2

History Node

1.6.1

History Node

1.6

History Node

1.6b3

History Node

1.6b2

History Node

1.6b1

History Node

1.6a2

History Node

1.6a1

History Node

1.5.8

History Node

1.5.7

History Node

1.5.6

History Node

1.5.5

History Node

1.5.4

History Node

1.5.3

History Node

1.5.2

History Node

1.5.1

History Node

1.5

History Node

1.5b1

History Node

1.5a4

History Node

1.5a3

History Node

1.5a2

History Node

1.5a1

History Node

1.4.9

History Node

1.4.8

History Node

1.4.7

History Node

1.4.6

History Node

1.4.5

History Node

1.4.4

History Node

1.4.3

History Node

1.4.2

History Node

1.4.1

History Node

1.4

History Node

1.4b3

History Node

1.4b2

History Node

1.4b1

History Node

1.4a4

History Node

1.4a3

History Node

1.4a2

History Node

1.4a1

History Node

1.3.4

History Node

1.3.3

History Node

1.3.2

History Node

1.3.1

History Node

1.3

History Node

1.3b3

History Node

1.3b2

History Node

1.3b1

History Node

1.3a9

History Node

1.3a8

History Node

1.3a7

History Node

1.3a6

History Node

1.3a5

History Node

1.3a4

History Node

1.3a3

History Node

1.3a2

This version
History Node

1.3a1

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2

History Node

1.2b3

History Node

1.2b2

History Node

1.2b1

History Node

1.2a6

History Node

1.2a5

History Node

1.2a4

History Node

1.2a3

History Node

1.2a2

History Node

1.2a1

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1

History Node

1.1b4

History Node

1.1b3

History Node

1.1b2

History Node

1.1b1

History Node

1.1a4

History Node

1.1a3

History Node

1.1a2

History Node

1.1a1

History Node

1.0.2

History Node

1.0.1

History Node

1.0

History Node

1.0b3

History Node

1.0b2

History Node

1.0b1

History Node

1.0a10

History Node

1.0a9

History Node

1.0a8

History Node

1.0a7

History Node

1.0a6

History Node

1.0a5

History Node

1.0a4

History Node

1.0a3

History Node

1.0a2

History Node

1.0a1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyramid-1.3a1.tar.gz (2.3 MB) Copy SHA256 hash SHA256 Source None Dec 9, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page