Imported from SVN by Bitbucket

This commit is contained in:
2015-03-31 20:26:20 +00:00
committed by bitbucket
commit ceb7984dec
212 changed files with 49537 additions and 0 deletions

View File

@@ -0,0 +1,119 @@
Metadata-Version: 1.0
Name: Paste
Version: 1.7.5.1
Summary: Tools for using a Web Server Gateway Interface stack
Home-page: http://pythonpaste.org
Author: Ian Bicking
Author-email: ianb@colorstudy.com
License: MIT
Description: These provide several pieces of "middleware" (or filters) that can be nested to build web applications. Each
piece of middleware uses the WSGI (`PEP 333`_) interface, and should
be compatible with other middleware based on those interfaces.
.. _PEP 333: http://www.python.org/peps/pep-0333.html
Includes these features...
Testing
-------
* A fixture for testing WSGI applications conveniently and in-process,
in ``paste.fixture``
* A fixture for testing command-line applications, also in
``paste.fixture``
* Check components for WSGI-compliance in ``paste.lint``
Dispatching
-----------
* Chain and cascade WSGI applications (returning the first non-error
response) in ``paste.cascade``
* Dispatch to several WSGI applications based on URL prefixes, in
``paste.urlmap``
* Allow applications to make subrequests and forward requests
internally, in ``paste.recursive``
Web Application
---------------
* Run CGI programs as WSGI applications in ``paste.cgiapp``
* Traverse files and load WSGI applications from ``.py`` files (or
static files), in ``paste.urlparser``
* Serve static directories of files, also in ``paste.urlparser``; also
in that module serving from Egg resources using ``pkg_resources``.
Tools
-----
* Catch HTTP-related exceptions (e.g., ``HTTPNotFound``) and turn them
into proper responses in ``paste.httpexceptions``
* Several authentication techniques, including HTTP (Basic and
Digest), signed cookies, and CAS single-signon, in the
``paste.auth`` package.
* Create sessions in ``paste.session`` and ``paste.flup_session``
* Gzip responses in ``paste.gzip``
* A wide variety of routines for manipulating WSGI requests and
producing responses, in ``paste.request``, ``paste.response`` and
``paste.wsgilib``
Debugging Filters
-----------------
* Catch (optionally email) errors with extended tracebacks (using
Zope/ZPT conventions) in ``paste.exceptions``
* Catch errors presenting a `cgitb
<http://python.org/doc/current/lib/module-cgitb.html>`_-based
output, in ``paste.cgitb_catcher``.
* Profile each request and append profiling information to the HTML,
in ``paste.debug.profile``
* Capture ``print`` output and present it in the browser for
debugging, in ``paste.debug.prints``
* Validate all HTML output from applications using the `WDG Validator
<http://www.htmlhelp.com/tools/validator/>`_, appending any errors
or warnings to the page, in ``paste.debug.wdg_validator``
Other Tools
-----------
* A file monitor to allow restarting the server when files have been
updated (for automatic restarting when editing code) in
``paste.reloader``
* A class for generating and traversing URLs, and creating associated
HTML code, in ``paste.url``
The latest version is available in a `Subversion repository
<http://svn.pythonpaste.org/Paste/trunk#egg=Paste-dev>`_.
For the latest changes see the `news file
<http://pythonpaste.org/news.html>`_.
Keywords: web application server wsgi
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Server
Classifier: Framework :: Paste

View File

@@ -0,0 +1,286 @@
MANIFEST.in
setup.cfg
setup.py
Paste.egg-info/PKG-INFO
Paste.egg-info/SOURCES.txt
Paste.egg-info/dependency_links.txt
Paste.egg-info/entry_points.txt
Paste.egg-info/namespace_packages.txt
Paste.egg-info/not-zip-safe
Paste.egg-info/requires.txt
Paste.egg-info/top_level.txt
docs/DeveloperGuidelines.txt
docs/StyleGuide.txt
docs/conf.py
docs/developer-features.txt
docs/do-it-yourself-framework.txt
docs/future.txt
docs/index.txt
docs/license.txt
docs/news.txt
docs/paste-httpserver-threadpool.txt
docs/testing-applications.txt
docs/url-parsing-with-wsgi.txt
docs/_build/DeveloperGuidelines.html
docs/_build/StyleGuide.html
docs/_build/developer-features.html
docs/_build/do-it-yourself-framework.html
docs/_build/future.html
docs/_build/genindex.html
docs/_build/index.html
docs/_build/license.html
docs/_build/modindex.html
docs/_build/news.html
docs/_build/paste-httpserver-threadpool.html
docs/_build/py-modindex.html
docs/_build/search.html
docs/_build/testing-applications.html
docs/_build/url-parsing-with-wsgi.html
docs/_build/community/index.html
docs/_build/community/mailing-list.html
docs/_build/community/repository.html
docs/_build/download/index.html
docs/_build/include/contact.html
docs/_build/include/reference_header.html
docs/_build/modules/auth.auth_tkt.html
docs/_build/modules/auth.basic.html
docs/_build/modules/auth.cas.html
docs/_build/modules/auth.cookie.html
docs/_build/modules/auth.digest.html
docs/_build/modules/auth.form.html
docs/_build/modules/auth.grantip.html
docs/_build/modules/auth.multi.html
docs/_build/modules/auth.open_id.html
docs/_build/modules/cascade.html
docs/_build/modules/cgiapp.html
docs/_build/modules/cgitb_catcher.html
docs/_build/modules/debug.debugapp.html
docs/_build/modules/debug.fsdiff.html
docs/_build/modules/debug.prints.html
docs/_build/modules/debug.profile.html
docs/_build/modules/debug.watchthreads.html
docs/_build/modules/debug.wdg_validate.html
docs/_build/modules/errordocument.html
docs/_build/modules/evalexception.html
docs/_build/modules/exceptions.html
docs/_build/modules/fileapp.html
docs/_build/modules/fixture.html
docs/_build/modules/gzipper.html
docs/_build/modules/httpexceptions.html
docs/_build/modules/httpheaders.html
docs/_build/modules/httpserver.html
docs/_build/modules/lint.html
docs/_build/modules/pony.html
docs/_build/modules/progress.html
docs/_build/modules/proxy.html
docs/_build/modules/recursive.html
docs/_build/modules/registry.html
docs/_build/modules/reloader.html
docs/_build/modules/request.html
docs/_build/modules/response.html
docs/_build/modules/session.html
docs/_build/modules/transaction.html
docs/_build/modules/translogger.html
docs/_build/modules/url.html
docs/_build/modules/urlmap.html
docs/_build/modules/urlparser.html
docs/_build/modules/util.import_string.html
docs/_build/modules/util.multidict.html
docs/_build/modules/wsgilib.html
docs/_build/modules/wsgiwrappers.html
docs/community/index.txt
docs/community/mailing-list.txt
docs/community/repository.txt
docs/download/index.txt
docs/include/contact.txt
docs/include/reference_header.txt
docs/modules/auth.auth_tkt.txt
docs/modules/auth.basic.txt
docs/modules/auth.cas.txt
docs/modules/auth.cookie.txt
docs/modules/auth.digest.txt
docs/modules/auth.form.txt
docs/modules/auth.grantip.txt
docs/modules/auth.multi.txt
docs/modules/cascade.txt
docs/modules/cgiapp.txt
docs/modules/cgitb_catcher.txt
docs/modules/debug.debugapp.txt
docs/modules/debug.fsdiff.txt
docs/modules/debug.prints.txt
docs/modules/debug.profile.txt
docs/modules/debug.watchthreads.txt
docs/modules/debug.wdg_validate.txt
docs/modules/errordocument.txt
docs/modules/evalexception.txt
docs/modules/exceptions.txt
docs/modules/fileapp.txt
docs/modules/fixture.txt
docs/modules/gzipper.txt
docs/modules/httpexceptions.txt
docs/modules/httpheaders.txt
docs/modules/httpserver.txt
docs/modules/lint.txt
docs/modules/pony.txt
docs/modules/progress.txt
docs/modules/proxy.txt
docs/modules/recursive.txt
docs/modules/registry.txt
docs/modules/reloader.txt
docs/modules/request.txt
docs/modules/response.txt
docs/modules/session.txt
docs/modules/transaction.txt
docs/modules/translogger.txt
docs/modules/url.txt
docs/modules/urlmap.txt
docs/modules/urlparser.txt
docs/modules/util.import_string.txt
docs/modules/util.multidict.txt
docs/modules/wsgilib.txt
docs/modules/wsgiwrappers.txt
paste/__init__.py
paste/cascade.py
paste/cgiapp.py
paste/cgitb_catcher.py
paste/config.py
paste/errordocument.py
paste/fileapp.py
paste/fixture.py
paste/flup_session.py
paste/gzipper.py
paste/httpexceptions.py
paste/httpheaders.py
paste/httpserver.py
paste/lint.py
paste/modpython.py
paste/pony.py
paste/progress.py
paste/proxy.py
paste/recursive.py
paste/registry.py
paste/reloader.py
paste/request.py
paste/response.py
paste/session.py
paste/transaction.py
paste/translogger.py
paste/url.py
paste/urlmap.py
paste/urlparser.py
paste/wsgilib.py
paste/wsgiwrappers.py
paste/auth/__init__.py
paste/auth/auth_tkt.py
paste/auth/basic.py
paste/auth/cas.py
paste/auth/cookie.py
paste/auth/digest.py
paste/auth/form.py
paste/auth/grantip.py
paste/auth/multi.py
paste/auth/open_id.py
paste/cowbell/__init__.py
paste/debug/__init__.py
paste/debug/debugapp.py
paste/debug/doctest_webapp.py
paste/debug/fsdiff.py
paste/debug/prints.py
paste/debug/profile.py
paste/debug/testserver.py
paste/debug/watchthreads.py
paste/debug/wdg_validate.py
paste/evalexception/__init__.py
paste/evalexception/evalcontext.py
paste/evalexception/middleware.py
paste/evalexception/media/MochiKit.packed.js
paste/evalexception/media/debug.js
paste/evalexception/media/minus.jpg
paste/evalexception/media/plus.jpg
paste/exceptions/__init__.py
paste/exceptions/collector.py
paste/exceptions/errormiddleware.py
paste/exceptions/formatter.py
paste/exceptions/reporter.py
paste/exceptions/serial_number_generator.py
paste/util/PySourceColor.py
paste/util/UserDict24.py
paste/util/__init__.py
paste/util/classinit.py
paste/util/classinstance.py
paste/util/converters.py
paste/util/dateinterval.py
paste/util/datetimeutil.py
paste/util/doctest24.py
paste/util/filemixin.py
paste/util/finddata.py
paste/util/findpackage.py
paste/util/import_string.py
paste/util/intset.py
paste/util/ip4.py
paste/util/killthread.py
paste/util/looper.py
paste/util/mimeparse.py
paste/util/multidict.py
paste/util/quoting.py
paste/util/scgiserver.py
paste/util/string24.py
paste/util/subprocess24.py
paste/util/template.py
paste/util/threadedprint.py
paste/util/threadinglocal.py
tests/__init__.py
tests/test_cgiapp.py
tests/test_cgitb_catcher.py
tests/test_config.py
tests/test_doctests.py
tests/test_errordocument.py
tests/test_fileapp.py
tests/test_fixture.py
tests/test_grantip.py
tests/test_gzipper.py
tests/test_httpheaders.py
tests/test_import_string.py
tests/test_multidict.py
tests/test_profilemiddleware.py
tests/test_proxy.py
tests/test_recursive.py
tests/test_registry.py
tests/test_request.py
tests/test_request_form.py
tests/test_response.py
tests/test_session.py
tests/test_template.txt
tests/test_urlmap.py
tests/test_urlparser.py
tests/test_wsgiwrappers.py
tests/test_auth/__init__.py
tests/test_auth/test_auth_cookie.py
tests/test_auth/test_auth_digest.py
tests/test_exceptions/__init__.py
tests/test_exceptions/test_error_middleware.py
tests/test_exceptions/test_formatter.py
tests/test_exceptions/test_httpexceptions.py
tests/test_exceptions/test_reporter.py
tests/test_util/__init__.py
tests/test_util/test_datetimeutil.py
tests/test_util/test_mimeparse.py
tests/urlparser_data/__init__.py
tests/urlparser_data/secured.txt
tests/urlparser_data/deep/sub/Main.txt
tests/urlparser_data/find_file/index.txt
tests/urlparser_data/hook/__init__.py
tests/urlparser_data/hook/app.py
tests/urlparser_data/hook/index.py
tests/urlparser_data/not_found/__init__.py
tests/urlparser_data/not_found/recur/__init__.py
tests/urlparser_data/not_found/recur/isfound.txt
tests/urlparser_data/not_found/simple/__init__.py
tests/urlparser_data/not_found/simple/found.txt
tests/urlparser_data/not_found/user/__init__.py
tests/urlparser_data/not_found/user/list.py
tests/urlparser_data/python/__init__.py
tests/urlparser_data/python/simpleapp.py
tests/urlparser_data/python/stream.py
tests/urlparser_data/python/sub/__init__.py
tests/urlparser_data/python/sub/simpleapp.py

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,47 @@
[paste.app_factory]
cgi = paste.cgiapp:make_cgi_application [subprocess]
static = paste.urlparser:make_static
pkg_resources = paste.urlparser:make_pkg_resources
urlparser = paste.urlparser:make_url_parser
proxy = paste.proxy:make_proxy
test = paste.debug.debugapp:make_test_app
test_slow = paste.debug.debugapp:make_slow_app
transparent_proxy = paste.proxy:make_transparent_proxy
watch_threads = paste.debug.watchthreads:make_watch_threads
[paste.composite_factory]
urlmap = paste.urlmap:urlmap_factory
cascade = paste.cascade:make_cascade
[paste.filter_app_factory]
error_catcher = paste.exceptions.errormiddleware:make_error_middleware
cgitb = paste.cgitb_catcher:make_cgitb_middleware
flup_session = paste.flup_session:make_session_middleware [Flup]
gzip = paste.gzipper:make_gzip_middleware
httpexceptions = paste.httpexceptions:make_middleware
lint = paste.lint:make_middleware
printdebug = paste.debug.prints:PrintDebugMiddleware
profile = paste.debug.profile:make_profile_middleware [hotshot]
recursive = paste.recursive:make_recursive_middleware
# This isn't good enough to deserve the name egg:Paste#session:
paste_session = paste.session:make_session_middleware
wdg_validate = paste.debug.wdg_validate:make_wdg_validate_middleware [subprocess]
evalerror = paste.evalexception.middleware:make_eval_exception
auth_tkt = paste.auth.auth_tkt:make_auth_tkt_middleware
auth_basic = paste.auth.basic:make_basic
auth_digest = paste.auth.digest:make_digest
auth_form = paste.auth.form:make_form
grantip = paste.auth.grantip:make_grantip
openid = paste.auth.open_id:make_open_id_middleware [openid]
pony = paste.pony:make_pony
cowbell = paste.cowbell:make_cowbell
errordocument = paste.errordocument:make_errordocument
auth_cookie = paste.auth.cookie:make_auth_cookie
translogger = paste.translogger:make_filter
config = paste.config:make_config_filter
registry = paste.registry:make_registry_manager
[paste.server_runner]
http = paste.httpserver:server_runner

View File

@@ -0,0 +1 @@
paste

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,15 @@
[Flup]
flup
[openid]
python-openid
[Paste]
[hotshot]
[subprocess]

View File

@@ -0,0 +1 @@
paste