Skip to main content

A modern framework for the web

Project description

Documentation(not complete)

Changelog

glim is a modern web framework on top of Werkzeug, SQLAlchemy and Jinja2 inspired from play & laravel. The aim is to build a lightweight architecture for web app development. The development philosophy here is to make the core small as possible but still not featureless. It has an extension system that can boot objects with configuration.(See gredis - a redis extension for glim)

Features

  • A powerful routing system which has grouping & filtering

  • A model layer with use of SQLAlchemy’s declarative_base()

  • A controller layer for request handling, service calling, etc.

  • A service layer to seperate database layer logic from models

  • An object oriented command line layer with use of argparse

  • An extension system that developers can integrate to the framework

Quick Start

# create project folder
$ mkdir <project>
$ cd <project>

# create a virtualenv
$ virtualenv venv

# activate the virtualenv
$ . venv/bin/activate

# install glim from pypi
$ pip install glim

# generate a new glim app
$ glim new

# copy the sample configuration into the defined environment
$ cp app/config/default.py app/config/development.py

# start the web server
$ glim start

glim is

  • small & lightweight

  • great for painless web app development

  • great for api development

glim isn’t

  • django

  • flask

  • not stable currently :(

NOTE: I’m changing lots of things currently. So the web server may not even start but feel free to play with it!

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

glim-0.8.4.tar.gz (9.6 kB view hashes)

Uploaded Source

Supported by

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