Skip to content
Web Application Construction Kit
Python JavaScript Other
Branch: master
Clone or download

Latest commit

exarkun Merge pull request #107 from twisted/106.iresource-isleaf-prepath-pos…

Fix unpleasant interaction between NevowSite, IResource, isLeaf, and prepath/postpath mutation.
Latest commit aff713a Mar 24, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks Merge context-free-flattener-2565 May 22, 2008
bin Re-merge remove-runjstests-1951 Feb 13, 2007
debian Update debianization to last release, for people wanting debs of trunk. Nov 6, 2005
doc Fix sphinx build, hopefully. Aug 19, 2017
examples Merge pull request #61 from mithrandi/remove-broken-junk Jan 26, 2016
extras No commit message Oct 14, 2005
formless Serialize tag attributes in a stable order Dec 5, 2014
nevow Factor the duplication out of these tests Mar 24, 2019
twisted/plugins Merge undeprecated-athena-widget-2588 May 7, 2008
win32 No commit message Oct 14, 2005
.gitattributes The second step in using versioneer. Jun 8, 2014
.travis.yml Remove extraneous comment. May 21, 2018
ChangeLog Merge platform-release-1154 Jun 14, 2006
LICENSE No commit message Oct 14, 2005 Remove zomne and wsgi. Oct 22, 2015
NEWS.rst Update NEWS.rst. Jun 13, 2018
README.rst Merge remote-tracking branch 'upstream/master' into metadata-22 Jun 10, 2014
pyproject.toml Update NEWS.rst. Jun 13, 2018
runtests No commit message Oct 14, 2005
setup.cfg Attempt to fix the build. May 21, 2018 Bump minimum Twisted version to see if it helps CI Mar 24, 2019 Tweak versioneer. Jul 26, 2017


Divmod Nevow

Divmod Nevow is a web application construction kit written in Python. It is designed to allow the programmer to express as much of the view logic as desired in Python, and includes a pure Python XML expression syntax named stan to facilitate this. However it also provides rich support for designer-edited templates, using a very small XML attribute language to provide bi-directional template manipulation capability.

Nevow also includes Divmod Athena, a "two way web" or "COMET" implementation, providing a two-way bridge between Python code on the server and JavaScript code on the client. Modular portions of a page, known as "athena fragments" in the server python and "athena widgets" in the client javascript, can be individually developed and placed on any Nevow-rendered page with a small template renderer. Athena abstracts the intricacies of HTTP communication, session security, and browser-specific bugs behind a simple remote-method-call interface, where individual widgets or fragments can call remote methods on their client or server peer with one method: "callRemote".


Before installing Nevow, you should install Twisted, unless you are going to write very simple CGI applications. Nevow integrates fully with the twisted.web server providing easy deployment.

Nevow uses the standard distutils method of installation:

python install

If you do not have Twisted installed, you can run a subset of the tests using the script. If you have twisted installed, the script will issue the following trial command:

trial -v nevow.test formless.test


More detailed introductory documentation is available in the doc/ directory, along with the beginnings of a reference manual. A large number of examples are available in the examples/ directory. These examples require Twisted to run. A tac file (twisted application configuration) can be started by invoking twistd, the twisted daemon:

twistd -noy foo.tac

More Information

Information about Nevow commits is available on GitHub. The Nevow git repository can be checked out using:

git clone

Discussion of Nevow occurs on the twisted.web mailing list. The Nevow developers are also often available for real-time help on the #twisted.web channel on

You can’t perform that action at this time.