Specify APIs with a Python dict and run with one line
Project description
🙈 Dead Simple Web Framework 🙉
Overview:
A dead simple framework for web applications:
Backend:
- Python 3.7 [Flask]
- MongoDB
- TODO: Kafka Hooks
- TODO: Redis Hooks
- TODO: RabbitMQ Hooks
- TODO: Celery Hooks
Installing:
$ pip install dead-simple-framework
Configuration:
TODO
Example Application:
* MongoDB must be running *
$ mongod
from dead_simple_framework import Application
sample_config = {
'/demo': {
'name': 'demo',
'methods': ['GET', 'POST', 'DELETE', 'PUT'],
'template': None,
'defaults': None,
'logic': None,
'collection': 'demo'
}
}
Application(sample_config).run()
Starts a local server at http://0.0.0.0:5000/
Serves CRUD operations for MongoDB collection demo
at endpoint /demo
.
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
Close
Hashes for dead_simple_framework-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189ab3005684f9cb546afb6f952c633181caa03bd2e40c6912644efe7153bb10 |
|
MD5 | acf0426d2a520f8f006302929905711a |
|
BLAKE2b-256 | 05cb3514760710c1a5d34b1f8c826df5c5384e3c2f35b634a28c9846acfe364d |