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:
TODO
Configuration:
TODO
Example Application:
* MongoDB must be running * [mongod
]
Starts a local server at http://0.0.0.0:5000/
Serves CRUD operations for MongoDB collection demo
at endpoint /demo
.
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()
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87aa8a57944fed61b52bd7f0d600598d232b80b268b8f235e5efa2bb506ca0c4 |
|
MD5 | be5a98cf7b196331154d85871937b04e |
|
BLAKE2b-256 | 3c50adaf58e4c7566d928e8af576213a302ac39279055f7b81d4a5899c5f5c66 |