Skip to main content

An Extendable Python Web Framework

Project description

Axe
========

[![Build Status](https://travis-ci.org/soasme/axe.svg?branch=master)](https://travis-ci.org/soasme/axe)
[Documentation](http://axe.readthedocs.org/en/latest/)

### What is Axe?

Axe is an extremely extendable web framework for Python based on `Werkzeug`.
It help developer keep project easy to extend and test when project grows.

Unlike Flask, there is no **Thread-Local** variables like `flask.request`, `flask.g`.
All variable are injected into view function through function name inspired by `py.test fixture`.

**Warning**: It's still experimental and has many buggy.

### Example

```python
from axe import Axe
import os
app = Axe()

@app.ext
def config():
return {'system': os.name}

def index(config):
return config.get('system', 'Unknown')

app.build({'/': index})

if __name__ == '__main__':
app.run_simple()
```

### How to run tests?

Run All tests:

$ tox

Run single case:

$ py.test tests/test_basic.py -k test_get_index

### Where can I get help?

You can ask any question in [Github Issue](https://github.com/soasme/axe/issues) :)

Project details


Download files

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

Source Distribution

Axe-0.0.3.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file Axe-0.0.3.tar.gz.

File metadata

  • Download URL: Axe-0.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Axe-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e4e68df52dc527b296bc915d8a72d33189dcb919896c8fb11ee9dd381dfbcb57
MD5 78da92199398b05329c02d247cbe58df
BLAKE2b-256 4537df25b1b2098da1df2f1985ddf062cde8e563af492f0ff353bc22d65c57c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page