Skip to main content

A really small framework for rapid development of small python web applications

Why?

I got tired of dealing with the same boring WSGI stuff every time I wanted to make a small web-utility in django, but I didn’t want to go to far away from it, so I made this little thing to ease the work a bit.

How it works

Example:

from pyroutes import application, route

@route('/')
def index(request, name='world'):
    return 'Hello %s!' % name

The above creates a complete WSGI compliant application. Result:

GET /
Hello world!

GET /foo
Hello foo!

See http://readthedocs.org/docs/pyroutes/ for more information.

Templating

pyroutes includes a small xml-based templating system called xml-template. For more information about xml-template, check out its bzr repo from http://bzr.sesse.net/xml-template XML-Template is released under the GPLv2 license.

For more information about usage, see the wiki example.

Release files for pyroutes 0.5.1

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

Source distribution (sdist)

Source distribution for pyroutes 0.5.1
File Size Uploaded
pyroutes-0.5.1.tar.gz 26.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyroutes 0.5.1
File Interpreter ABI Platform
pyroutes-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 58.0 kB

Release files / pyroutes-0.5.1.tar.gz

Download URL pyroutes-0.5.1.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
83226f2703ad00cf4b8560ff62c48d7eb0988ab0b43b1154a2d7c5215afcaaa1
BLAKE2b-256 checksum
How to use checksums
e6abf38fb8d166af4990e401b29c677941a076f4a733f87ea37a7bf0db8d8e0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / pyroutes-0.5.1-py3-none-any.whl

Download URL pyroutes-0.5.1-py3-none-any.whl
Size 31.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea8c664ed2b8abdbf0c43b109c8f807d0b3df195c11def95f614c4e9326ac481
BLAKE2b-256 checksum
How to use checksums
5f67d3ed4a678afccc1a4ba7bf4554b99fb525365ae6160d833f517133b0e922
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5.0

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.5.4

1 release file

0.1.5.3

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

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