Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hattya/ayame
An Apache Wicket-like component based WSGI framework
https://github.com/hattya/ayame
python web-framework wsgi
Last synced: about 1 month ago
JSON representation
An Apache Wicket-like component based WSGI framework
- Host: GitHub
- URL: https://github.com/hattya/ayame
- Owner: hattya
- License: mit
- Created: 2011-07-09T07:49:25.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-04-06T02:43:26.000Z (9 months ago)
- Last Synced: 2024-08-09T16:16:24.430Z (5 months ago)
- Topics: python, web-framework, wsgi
- Language: Python
- Homepage:
- Size: 597 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Ayame
=====Ayame is a component based WSGI framework. It is inspired by
`Apache Wicket`_, `Apache Click`_ and Flask_... image:: https://img.shields.io/pypi/v/ayame.svg
:target: https://pypi.org/project/ayame.. image:: https://github.com/hattya/ayame/actions/workflows/ci.yml/badge.svg
:target: https://github.com/hattya/ayame/actions/workflows/ci.yml.. image:: https://ci.appveyor.com/api/projects/status/67nbqb4ej84liu9m?svg=true
:target: https://ci.appveyor.com/project/hattya/ayame.. image:: https://codecov.io/gh/hattya/ayame/branch/master/graph/badge.svg
:target: https://codecov.io/gh/hattya/ayame.. _Apache Wicket: https://wicket.apache.org/
.. _Apache Click: https://click.apache.org/
.. _Flask: https://palletsprojects.com/p/flaskRequirements
------------- Python 3.9+
- Werkzeug
- secure-cookieExample Application
-------------------::
app.wsgi
app/
HelloWorld.htmlapp.wsgi
~~~~~~~~.. code:: python
from ayame import Ayame, Page
from ayame.basic import Labelclass HelloWorld(Page):
def __init__(self):
super().__init__()
self.add(Label('message', 'Hello World!'))application = Ayame(__name__)
map = application.config['ayame.route.map']
map.connect('/', HelloWorld)HelloWorld.html
~~~~~~~~~~~~~~~.. code:: html
HelloWorld
...
License
-------Ayame is distributed under the terms of the MIT License.