This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

PyTin is a CGI framework that provides shortcuts for application writers to focus less on common tasks and more on their application’s functionality.

Requests

Requests take all the data that exists in different areas like environment variables and standard input, and puts it all into one, cleanly organized object.

Responses

Responses are file-like objects, but with convenience methods named w (with a newline) and wn (without one). They also have custom attributes for setting common HTTP headers like Content-Type and Location.

RQMods/RSMods

These are applied to requests and responses. You pass a list of them as the rqmods and rsmods keyword arguments. They’re not required, and PyTin doesn’t even ship with any (yet), but they could be very helpful if you’re in a situation where you’d need one.

Bake

Bake is the major function you need to know. It will publish your object, collect the environment variables, enable tracebacks if needed, and pass extra settings to your application. After your request has been returned, it will be compiled and returned.

Prebake

The prebake function is designed to allow extra security and lighter script files. It’s a command-line-based wizard that produces a simple file that imports a function stored in a module and automatically bakes it.

Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyTin-1.1.tar.gz (5.5 kB) Copy SHA256 Checksum SHA256 Source Jan 1, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting