40 projects tagged "Python Modules"
cgi_buffer is a group of libraries that may be used to improve performance of CGI scripts (and other content generation engines) in some circumstances by applying performance-enhancing HTTP mechanisms that are typically not supported by them. Currently, Perl, Python, and PHP4 are supported. The Python library may also be used as a wrapper around another CGI script.
GCache is a Python module that provides a generic cache class useful for speeding up any application where objects are referenced by keys. It uses object metadata to optimize hit-rates and freshness for fetches, and uses a "write-through" mechanism for writes and deletes. It can use "if-modified-since" fetches or rsync delta updates to refresh stale cached objects. GSource classes are provided for generating useful metadata from common sources (os.stat calls and MIME headers). A simple example urlCache is implemented that supports HTTP 1.1 (rfc2616) cache-control and expire headers to ensure freshness. Also included is an rfc2616 package useful for parsing HTTP 1.1 headers, and a PCache package implementing a persistant cache using a Python shelve.
EmPy is a system for embedding Python expressions and statements in template text. It takes an EmPy source file, processes it, and produces output. This is accomplished via expansions, which are special signals to the EmPy system and are set off by a special prefix (by default the at sign, '@'). It can expand arbitrary Python expressions and statements in this way, as well as a variety of special forms. Textual data not explicitly delimited in this way is sent unaffected to the output, allowing Python to be used in effect as a markup language. Also supported are callbacks via hooks, recording and playback via diversions, and dynamic, chainable filters. The system is highly configurable via command line options and embedded commands.
Python Service Objects is a package that simplifies development of HTTP handlers. With its built-in session handling and its bridging system, it allows you to write one handler that will run with mod_python, NASAPY, CGI, etc. It offers an easy interface to HTTP info. It includes a simple, fast, robust, powerful, and extensible OO template parser.
Pysite is a tool written in Python to generate Web sites based on the contents of files in a given directory tree. It crawls through a specified directory tree looking for files matching certain configurable patterns (like intro, title-fr, and this-is-another-page-body), building up an output Web page for each set of files found. It features valid XHTML output, support for multiple language output, simple hierarchical templates (just put a template in a directory and it will be used for all subdirectories), and basic plaintext to XHTML conversion.
PTOMMI is a package of Python scripts and modules for constructing Web-based client applications that interact with server-based MP3 collections. PTOMMI CGI applications implement flexible methods for users to browse music files, create and modify playlists of selected songs, search for songs based on song meta-data (including ID3v1 and ID3v2 tag contents), generate customized reports with user-defined report formats, and modify the contents of ID3 tag fields.
HarvestMan is a multithreaded off-line browser.It has many features for customizing offline browsing through URL filters, word filters, domain filters, URL priorities, depth-fetching, fetch levels, file limits, time limits, robot exclusion protocols, and many more. It is useful to download an entire Web site or certain files from a Web site to the hard disk for offline browsing later. It supports HTTP/HTTPS and FTP protocols and can work across proxies.
A general purpose programming language with a compelling feature set.