Skip to main content

Documentation

Roadmap

Changelog

glim is a modern web framework on top of bottle 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 a conventional extension system that can boot objects with configuration. It also has a handful set of extensions for view rendering, templating and performing database operations. You can check glim_extensions repository for much more information.

Features

  • Convention over configuration

  • A powerful routing system which has grouping & filtering

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

  • A set of handful extensions that includes SQLAlchemy, Jinja2, redis, etc. integrations

  • An object oriented command line layer

  • 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

# start the web server
$ glim start

Cutting edge

# clone the repo inside the project folder
$ git clone git@github.com:aacanakin/glim.git

# enter the folder
$ cd glim

# create & virtualenv
$ virtualenv venv
$ . venv/bin/activate

# install dependencies
$ pip install -r requirements.txt

# generate a new app
$ python glim.py new

# run the web server
$ python glim.py start

glim is

  • small & lightweight

  • great for painless web app development

  • great for api/web-service development

glim isn’t

  • django

  • flask

  • stable currently :(

NOTE: The framework is in its early stages in development. So, there are lots of backward incompatible changes constantly. So the web server may not even start but feel free to play with it!

Release files for glim 0.11.2

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

Source distribution (sdist)

Source distribution for glim 0.11.2
File Size Uploaded
glim-0.11.2.tar.gz 15.1 kB Details

Release files / glim-0.11.2.tar.gz

Download URL glim-0.11.2.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5b3cb9e76e80e3cd270850e17970105c312e6f7717db58378038052a0d9e50c2
BLAKE2b-256 checksum
How to use checksums
73d3fe4bf9bd0398b031807dc5b4ad3f8624542b38139f6a05593507daccc0b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.11.2 This release

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.7

1 release file

0.10.6

0.10.2

1 release file

0.9.4

1 release file

0.8.6

1 release file

0.8.5

1 release file

0.8.4

1 release file

0.7.9

1 release file

0.7.8

1 release file

0.7.7

1 release file

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