Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    PyTin 1.1

    Download button

    No screenshots available
    Downloads: 312  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    LeafStorm/Pacific Science | More programs
    GPL / FREE
    January 1st, 2009, 15:25 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    PyTin description

    A CGI environment framework.

    The PyTin package 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.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    CGI framework | application shortcuts | CGI | framework | shortcuts

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM