Skip to main content

A lightweight, componentised package for writing web applications

Project description

`weblayer`_ is a `Python`_ package, built on `WebOb`_, that provides a set of
components that can be used to handle requests within a `WSGI`_ application.

It is not a framework. In contrast, `weblayer`_ tries to prescribe as little
as possible, allowing you to swap out components and work with your weapons
of choice.

It's fast, tested and `documented`_. The `source code`_ is `public domain`_.

Install
-------

`weblayer`_ requires `Python`_ version 2.5 to 2.7. It's operating system
independent, so runs on Unix (including Mac OSX) and on Windows. Install it
via the `Python Package Index`_, e.g.::

easy_install weblayer

Or::

pip install weblayer

Develop
-------

To develop (or play around with) it, get the `source code`_, either using
`Git`_::

git clone git://github.com/thruflo/weblayer.git
cd weblayer

Or from a release tarball, e.g.::

wget http://pypi.python.org/packages/source/w/weblayer/weblayer-0.4.tar.gz
tar -zxvf weblayer-0.4.tar.gz
cd weblayer-0.4

Develop the egg::

python setup.py develop

Install the additional dependencies::

easy_install weblayer[dev]

Run the tests::

nosetests -c etc/nose.cfg

Generate the docs::

sphinx-build -a -b html doc doc/_build

If you have any problems or suggestions, `Github Issues`_ is the place to raise
a ticket.

Usage
-----

See the `User Guide`_ and `examples`_ for more information.

.. _`documented`: http://packages.python.org/weblayer
.. _`examples`: http://github.com/thruflo/weblayer/tree/master/src/weblayer/examples
.. _`git`: http://git-scm.com/
.. _`github issues`: http://github.com/thruflo/weblayer/issues
.. _`public domain`: http://unlicense.org/UNLICENSE
.. _`python`: http://www.python.org
.. _`python package index`: http://pypi.python.org/pypi/weblayer
.. _`source code`: http://github.com/thruflo/weblayer
.. _`user guide`: http://packages.python.org/weblayer/userguide.html
.. _`weblayer`: http://packages.python.org/weblayer
.. _`webob`: http://pythonpaste.org/webob/
.. _`wsgi`: http://en.wikipedia.org/wiki/Web_Server_Gateway_Interface

Project details


Download files

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

Source Distribution

weblayer-0.4.tar.gz (57.0 kB view details)

Uploaded Source

Built Distribution

weblayer-0.4.macosx-10.4-i386.exe (126.3 kB view details)

Uploaded Source

File details

Details for the file weblayer-0.4.tar.gz.

File metadata

  • Download URL: weblayer-0.4.tar.gz
  • Upload date:
  • Size: 57.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for weblayer-0.4.tar.gz
Algorithm Hash digest
SHA256 d7783b955bab063146ff405f91f1b54e7114eb09b30d10b42c9a46802eb21330
MD5 e570cb486cbe52c7ade58a470e57270c
BLAKE2b-256 ec93bd051ef7c8beadb6a99fde2d4bb2c6a1c57f0a7656196ca55657d1be6b85

See more details on using hashes here.

File details

Details for the file weblayer-0.4.macosx-10.4-i386.exe.

File metadata

File hashes

Hashes for weblayer-0.4.macosx-10.4-i386.exe
Algorithm Hash digest
SHA256 3d03b372f5b54fee16378e1dc5266caf6c10cffb56a93a798850ed5ee4b72be4
MD5 e7c8afafa0cc5dea6de35543ef2c5e56
BLAKE2b-256 2d2acafcf473855a36daf179e9cd27a6bfaa9e7fac2661c9b9fc93ed5576c381

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page