Git Product home page Git Product logo

akhet's Introduction

Akhet is a Pyramid library and demo application with a Pylons-inspired API. 

Documentation is in the 'docs' directory.

(c) 2010-2012 Mike Orr and contributors. 
Copying and derivations permitted under MIT license; see LICENSE.txt.

Contributors:
* Mike Orr <[email protected]>: author.
* Mike Merickel: urlparse module.
* Marcin Lulek: Demo stylesheet.
* pony.py is derived from "paste.pony" by Ian Bicking (http://pythonpaste.org/).

akhet's People

Contributors

ergo avatar mcdonc avatar mikeorr avatar mmerickel avatar ralphbean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

akhet's Issues

add_renderer_globals

you have this line:

request = event.get("request") or threadlocal.get_current_request()
if not request:
    return

have you ever encountered a situation where:
a) event didn't have a request
b) threadlocal.get_current_request() was called
c) there was not request ( the return statement )

i haven't been able to create this. i'm wondering what is / isn't necessary.

add_static_route is not very compatible with Pyramid's AppendSlashNotFoundViewFactory

This took forever for me to figure out...

akhet overlays the static routes like this:

  pattern = "/*subpath"

that works as a wildcard for static routes -- but also for AppendSlashNotFoundViewFactory, causing it to always trigger an extra slash, not just if needed.

it would probably be better if the static routes are overlaid only for files/directories that are in /static

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.