This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
About 'pyojo' app development
-----------------------------

This is yet another framework to help develop web applicattions
with python. The difference is that it is oriented to create
applications with The Dojo Toolkit, trying to facilitate a set
of wrappers to generate the javascript sent to the client and
providing help to work with the AMD loader.

Pyojo provides decorators to set up the route map and assign
some functions or classes to certain URLs, but it also can be
used creating python modules in a folder structure, where the
name of the module defines the content type, and the returned
value of a function named GET, POST, PUT or DELETE is the
response.

The minimal "Hello World":

import pyojo
from pyojo import server

@pyojo.route("/")
def Home():
return "Hello World!"

server.main()


A basic example with javascript:

import pyojo

#Redirect to index.html
@pyojo.route("/")
def Home(request):
return request.static("index.html")

And then a couple of modules at ./srv (the default folder) will
handle this request:

srv/index_html.py:

def GET(request):
return '''<html>
<body><script src="main.js"></body>
</html>'''

srv/main_js.py:

def GET(request):
return "alert('Hello World!');"

But the real power is in the pyojo.js modules, offering a set
of code generation utilities for your Dojo application.
Release History

Release History

0.0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyojo-0.0.2-py2.7.egg (229.7 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jun 9, 2013
pyojo-0.0.2.zip (203.4 kB) Copy SHA256 Checksum SHA256 Source Jun 9, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting