Skip to main content

A wsgi web framework with a pylons spirit and django modularity

Project description

Introduction

pysmvt is a wsgi web framework library designed in the spirit of Pylons but with Django modularity (i.e. what they would call “apps”).

Steps for Installation

  1. Install Python

  2. install setuptools (includes easy_install)

  3. install virtualenv easy_install virtualenv

  4. Create a new virtual environement virtualenv pysmvttest-venv –no-site-packages

  5. Activate the virtual environment (os dependent)

  6. install pysmvt & dependencies easy_install pysmvt or pip install pysmvt

Steps for creating a working application

  1. cd pysmvttest-venv

  2. mkdir src

  3. cd src

  4. pysmvt project myapp

  5. answer the questions that come up. Note what you put for

    “Enter author (your name)” as <user>. If you forget, look in myapp/settings.py.

  6. cd myapp-dist

  7. python setup.py -q develop

  8. nosetests you should get three succesful tests

  9. cd myapp

  10. pysmvt serve <user> run a development http server with the user’s settings profile

  11. point your browser at http://localhost:5000/

Creating a New Application Module

This step creates a Application Module directory structure in myapp/modules/<mymod>:

pysmvt module <mymod>

where <mymod> is the name of the module you want to create

Questions & Comments

Please visit: http://groups.google.com/group/pyslibs

Current Status

The code stays pretty stable, but the API is likely to change in the future.

The pysmvt tip is installable via easy_install with easy_install pysmvt==dev

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

pysmvt-0.2.1.tar.gz (99.2 kB view hashes)

Uploaded Source

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