Skip to main content

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

dead_simple_framework-0.0.3.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page