A fast and easy ReST API on top of redis
Project description
Marlin
======
### Easy Rest API to bootstrap applications.
The need for a
```bash
pip install marlin
marlin start
marlin stats
marlin stop
marlin restart
marlin runserver
```
| METHOD | URL | RESPONSE | DESCRIPTION |
| ------------- |:--------------------------------: | :----------:| :-----------:|
| GET | /api/v1/<model>/?start=0&end=10 |[data] (0-10)|
| GET | /api/v1/<model>/1 | data item |
| POST | /api/v1/<model>/ | [data] |
| GET | /api/v1/<model>/ | [data] |
| GET | /api/v1/<model>/ | [data] |
| GET | /api/v1/<model>/ | [data] |
```config
[SERVER]
DEBUG=True
PID_FILE = '/tmp/marlin.pid'
LOG_FILE = '/tmp/marlin.log'
[REDIS]
REDIS_SERVER = localhost
REDIS_PORT = 6379
API_PREFIX = /api/
[APP]
APP_NAME = marlin
```
======
### Easy Rest API to bootstrap applications.
The need for a
```bash
pip install marlin
marlin start
marlin stats
marlin stop
marlin restart
marlin runserver
```
| METHOD | URL | RESPONSE | DESCRIPTION |
| ------------- |:--------------------------------: | :----------:| :-----------:|
| GET | /api/v1/<model>/?start=0&end=10 |[data] (0-10)|
| GET | /api/v1/<model>/1 | data item |
| POST | /api/v1/<model>/ | [data] |
| GET | /api/v1/<model>/ | [data] |
| GET | /api/v1/<model>/ | [data] |
| GET | /api/v1/<model>/ | [data] |
```config
[SERVER]
DEBUG=True
PID_FILE = '/tmp/marlin.pid'
LOG_FILE = '/tmp/marlin.log'
[REDIS]
REDIS_SERVER = localhost
REDIS_PORT = 6379
API_PREFIX = /api/
[APP]
APP_NAME = marlin
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
marlin-0.94.tar.gz
(7.4 kB
view hashes)