This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

An Apache Wicket-like component based WSGI framework

Project Description

Ayame is a component based WSGI framework. It is inspired by Apache Wicket, Apache Click and Flask.

Requirements

  • Python 2.7 or 3.3+
  • Werkzeug

Example Application

app.wsgi
app/
    HelloWorld.html

app.wsgi

from ayame import Ayame, Page
from ayame.basic import Label


class HelloWorld(Page):

    def __init__(self):
        super(HelloWorld, self).__init__()
        self.add(Label('message', 'Hello World!'))


application = Ayame(__name__)

map = application.config['ayame.route.map']
map.connect('/', HelloWorld)

HelloWorld.html

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ayame="http://hattya.github.io/ayame">
  <head>
    <title>HelloWorld</title>
  </head>
  <body>
    <p ayame:id="message">...</p>
  </body>
</html>

License

Ayame is distributed under the terms of the MIT License.

Release History

Release History

This version
History Node

0.1

History Node

0.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ayame-0.1.zip (160.1 kB) Copy SHA256 Checksum SHA256 Source Feb 2, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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