Skip to main content

Pylons

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, but in maintenance-only mode. The Pylons Project now maintains the Pyramid web framework for future development. Pylons 1.0 users should strongly consider using Pyramid for their next project.

Download and Installation

Pylons can be installed with Easy Install by typing:

> easy_install Pylons

Development Version

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

Pylons GitHub repository

Documentation

http://docs.pylonsproject.org/projects/pylons-webframework/en/latest/

Release files for Pylons 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Pylons 1.0.3
File Size Uploaded
Pylons-1.0.3.tar.gz 190.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Pylons 1.0.3
File Interpreter ABI Platform
Pylons-1.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 338.4 kB

Release files / Pylons-1.0.3.tar.gz

Download URL Pylons-1.0.3.tar.gz
Size 190.7 kB
Tags Source
SHA-256 checksum
How to use checksums
49291401cef1bea680499dd5e3b5906cfdfe52d65f6f396f6f6b90842ff70da8
BLAKE2b-256 checksum
How to use checksums
5faacc3af2c89fa956a781ef6f4aa9a54ee0f1be814eecdc885a14b543462823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Pylons-1.0.3-py2.py3-none-any.whl

Download URL Pylons-1.0.3-py2.py3-none-any.whl
Size 147.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3b252fbfe79713ccce60eca7bf1732bbbcb7558203bdcd052a1fdcb9f2b2bbae
BLAKE2b-256 checksum
How to use checksums
a16a647b496ef052287a78b8f52f355ba9f2e0cbfefe07cb19db30542a94fe30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page