Skip to main content

Ayame

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

https://img.shields.io/pypi/v/ayame.svg https://github.com/hattya/ayame/actions/workflows/ci.yml/badge.svg https://ci.appveyor.com/api/projects/status/67nbqb4ej84liu9m?svg=true https://codecov.io/gh/hattya/ayame/branch/master/graph/badge.svg

Requirements

  • Python 3.11+

  • ItsDangerous

  • Werkzeug

Extras

test
  • FakeRedis

redis
  • redis-py

valkey
  • valkey-py

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().__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.

Metadata

Release files for ayame 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ayame 0.5
File Size Uploaded Provenance
ayame-0.5.tar.gz 101.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ayame 0.5
File Interpreter ABI Platform
ayame-0.5-py3-none-any.whl Python 3 none any Details

Total release size: 157.3 kB

Release files / ayame-0.5.tar.gz

Download URL ayame-0.5.tar.gz
Size 101.9 kB
Tags Source
SHA-256 checksum
How to use checksums
007d2f00b6cad957d9f499fcb946fb8edb31b72982d8ad8e4fce10eed411065b
BLAKE2b-256 checksum
How to use checksums
ddf3f6488278a34f63871f555a1fa156efa4124cdbce96cf4e4304796b6ec2ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ayame-0.5-py3-none-any.whl

Download URL ayame-0.5-py3-none-any.whl
Size 55.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d81dc95cfad6997f3a3b1939e2c750d718ad543fc3a6172b324ff44bfe80780f
BLAKE2b-256 checksum
How to use checksums
6031cb8e3e725b3cbc7f0c88028b0ece48e2cac44b863386b94eff8ae8430424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for ayame 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page