Skip to main content

PHP-like Async/IO web framework

Project description

Maglev

Build Status Dependabot PyPI - Downloads

🚧 Work-in-progress — not suitable for production 🚧

Super simple, template-based Async/IO web framework

Install

If you haven't already, you should get python and pipenv (installation depends on operating system).

Maglev requires Python 3.5 or above. Check your python version by typing python3 -V.

$ mkdir test-project
$ cd test-project
$ pipenv install maglev

You should see Pipfile & Pipfile.lock. Do not touch these files; they are internal files used by pipenv for dependency resolution.

Usage

$ pipenv run maglev-serve

Maglev will read the ./pages folder. Every file with the extension .mako is mapped to a url (e.g. hello.mako will become /hello). index.mako will be mapped to the root and 404.mako will be mapped to the 404 page. Any page starting with _ is ignored.

For additional help, type maglev-serve -h.

Pages are written with the Mako templating language. Information is available on the official website.

Project details


Download files

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

Files for maglev, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size maglev-1.1.0-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size maglev-1.1.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page