Skip to main content

Pylons Web Framework

Project description

The Pylons web framework is designed for building web applications and sites in an easy and concise manner. They can range from as small as a single Python module, to a substantial directory layout for larger and more complex web applications.

Pylons comes with project templates that help boot-strap a new web application project, or you can start from scratch and set things up exactly as desired.

Example Hello World

from paste.httpserver import serve from pylons import Configurator, Response

class Hello(object):
def __init__(self, request):

self.request = request

def index(self):

return Response(body=”Hello World!”)

if __name__ == ‘__main__’:

config = Configurator() config.begin() config.add_handler(‘home’, ‘/’, handler=Hello, action=’index’) config.end() serve(config.make_wsgi_app(), host=’0.0.0.0’)

Core Features

  • A framework to make writing web applications in Python easy

  • Utilizes a minimalist, component-based philosophy that makes it easy to expand on

  • Harness existing knowledge about Python

  • Extensible application design

  • Fast and efficient, an incredibly small per-request call-stack providing top performance

  • Uses existing and well tested Python packages

Current Status

Pylons 1.0 series is stable and production ready. The Pylons Project now maintains the Pyramid web framework for future development. Pylons 1.0 users should strongly consider using it for their next project.

Download and Installation

Pylons can be installed with Easy Install by typing:

> easy_install Pylons

Dependant packages are automatically installed from the Pylons download page .

Development Version

Pylons development uses the Mercuial distributed version control system (DVCS) with BitBucket hosting the main repository here:

Pylons Bitbucket repository

Project details


Download files

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

Source Distribution

Pylons-1.0.1.tar.gz (2.3 MB view details)

Uploaded Source

File details

Details for the file Pylons-1.0.1.tar.gz.

File metadata

  • Download URL: Pylons-1.0.1.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Pylons-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7c22579516d92e6fcab3f9555b33fe7a259cc2e16d2fe414816c0138c91e8c0d
MD5 6cb880d75fa81213192142b07a6e4915
BLAKE2b-256 a269b835a6bad00acbfeed3f33c6e44fa3f936efc998c795bfb15c61a79ecf62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page