Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aacanakin/glim
a modern python framework for the web
https://github.com/aacanakin/glim
Last synced: about 2 months ago
JSON representation
a modern python framework for the web
- Host: GitHub
- URL: https://github.com/aacanakin/glim
- Owner: aacanakin
- License: mit
- Created: 2014-04-25T07:41:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-18T14:47:04.000Z (almost 9 years ago)
- Last Synced: 2024-04-23T18:45:38.538Z (8 months ago)
- Language: Python
- Homepage: http://glim.readme.io/
- Size: 265 KB
- Stars: 60
- Watchers: 11
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - glim - a modern python framework for the web (Python)
README
[![Build
Status](https://travis-ci.org/aacanakin/glim.svg)](https://travis-ci.org/aacanakin/glim) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aacanakin/glim?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)glim - 0.11.x[deprecated]
=========================
This repo is deprecated due to maintenance cost.[Documentation](http://glim.readme.io)
[Roadmap](http://glim.readme.io/v0.8.6/docs/roadmap)
[Changelog](https://github.com/aacanakin/glim/blob/master/CHANGELOG.md)
glim is a modern web framework on top of [bottle](http://bottlepy.org/docs/0.12/) inspired from [play](https://www.playframework.com/) & [laravel](http://laravel.com/). 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](https://github.com/aacanakin/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 frameworkQuick Start
-----------
```sh
# create project folder
$ mkdir
$ cd# 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 with development environment
$ glim start# start the web server with configured environment
$ glim start --env production
```Cutting Edge Installation
-------------------------
```sh
# clone the repo inside the project folder
$ git clone [email protected]: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 developmentglim 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!