Statistical Modeling, Causal Inference, and Social Science
Installation and quick start — nose 1.3.0 documentation
nose extends unittest to make testing easier. On most UNIX-like systems, you’ll probably need to run these commands as root or using sudo. Install nose using setuptools/distribute: Or pip: Or, if you don’t have setuptools/distribute installed, use the download link at right to download the source package, and install it in the normal fashion: Ungzip and untar the source package, cd to the new directory, and: However, please note that without setuptools/distribute installed, you will not be able to use third-party nose plugins. This will install the nose libraries, as well as the nosetests script, which you can use to automatically discover and run tests. Now you can run tests for your project: cd path/to/project nosetests You should see output something like this: .................................. ---------------------------------------------------------------------- Ran 34 tests in 1.440s OK Indicating that nose found and ran your tests. For help with nosetests’ many command-line options, try:
Welcome to Jinja2 — Jinja2 2.8-dev documentation
Jinja2 is a modern and designer friendly templating language for Python, modelled after Django’s templates. It is fast, widely used and secure with the optional sandboxed template execution environment: <title>{% block title %}{% endblock %}</title><ul>{% for user in users %} <li><a href="{{ user.url }}">{{ user.username }}</a></li>{% endfor %}</ul> Features: sandboxed executionpowerful automatic HTML escaping system for XSS preventiontemplate inheritancecompiles down to the optimal python code just in timeoptional ahead of time template compilationeasy to debug. Line numbers of exceptions directly point to the correct line in the template.configurable syntax Additional Information If you can’t find the information you’re looking for, have a look at the index or try to find it using the search function:
Wheel — wheel 0.30.0.dev0 documentation
About PASCAL | PASCAL 2
How to Think Like a Computer Scientist — How to Think like a Computer Scientist: Interactive Edition
This interactive book is a product of the Runestone Interactive Project at Luther College, led by Brad Miller and David Ranum. There have been many contributors to the project. Our thanks especially to the following: This book is based on the Original work by: Jeffrey Elkner, Allen B. Downey, and Chris MeyersActivecode based on SkulptCodelens based on Online Python TutorMany contributions from the CSLearning4U research group at Georgia Tech.ACM-SIGCSE for the special projects grant that funded our student Isaac Dontje Lindell for the summer of 2013.NSF The Runestone Interactive tools are open source and we encourage you to contact us, or grab a copy from GitHub if you would like to use them to write your own resources.
The Django Book
wheel 0.30.0a0
A built-package format for Python. A wheel is a ZIP-format archive with a specially formatted filename and the .whl extension. It is designed to contain all the files for a PEP 376 compatible install in a way that is very close to the on-disk format. The wheel project provides a bdist_wheel command for setuptools (requires setuptools >= 0.8.0). The wheel documentation is at The reference implementation is at Why not egg? Python’s egg format predates the packaging related standards we have today, the most important being PEP 376 “Database of Installed Python Distributions” which specifies the .dist-info directory (instead of .egg-info) and PEP 426 “Metadata for Python Software Packages 2.0” which specifies how to express dependencies (instead of requires.txt in .egg-info). Wheel implements these things. Code of Conduct
weka - home
Twisted
Twisted is an event-driven networking engine written in Python and licensed under the open source MIT license. Twisted runs on Python 2 and an ever growing subset also works with Python 3. Twisted makes it easy to implement custom network applications. Here's a TCP server that echoes back everything that's written to it: from twisted.internet import protocol, reactor, endpoints class Echo(protocol.Protocol): def dataReceived(self, data): self.transport.write(data) class EchoFactory(protocol.Factory): def buildProtocol(self, addr): return Echo() endpoints.serverFromString(reactor, "tcp:1234").listen(EchoFactory()) reactor.run() Learn more about writing servers, writing clients and the core networking libraries , including support for SSL, UDP, scheduled events, unit testing infrastructure, and much more. Twisted includes an event-driven web server. Learn more about web application development, templates and Twisted's HTTP client. Twisted includes a sophisticated IMAP4 client library.
Python Django tutorial 1 installing easy_install, virtualenv & django
Super handy set of Python libraries, built for Windows. by fatebeats May 20