Skip to content
/ mews Public

A Flask app that quickly generates Falcon and SQLAlchemy Python apps

Notifications You must be signed in to change notification settings

cafornaca/mews

Repository files navigation

Mews

mews (noun): In falconry, a mews is a birdhouse designed to house one or more birds of prey.

"Pigeons are kept in lofts, chickens in coops, and falconers keep their birds in structures known as mews"

Welcome to Mews! I made this little module-thing at home in my free hours when I was learning how to create Falcon apps and use SQLAlchemy at work. I'm still learning and working on this project when I get the time. If you want to use my code, feel free!

Demo

Use 'sample_template.yaml' in place of 'template.yaml' and run. Check the subsequently created folder, 'MyProject', to see the files.

Files

mews.py

The main script

README.py

You are here.

sample_template.yaml

A sample template that can be used for testing or demonstration.

template.yaml

The actual template to edit. Don't delete this.

jinja_templates

The Jinja2 templates contained in this folder are as follows:

application.txt

The template used to build the Falcon API.

exceptions.txt

Some nice exceptions to assist in the Falcon API.

models.txt

The template used for creating the models.py folder. This contains the structure for the database tables.

resources.txt

This template builds the API code.

TODO:

  • Read from DB
  • Generate UI as well
  • Option for WHERE the created project gets stored on user's computer.
  • Get the autopep8 command to work on ONLY the project.
  • Better how to use instructions.
  • Environment management for imported packages and server set-up.
  • Test to see if the code will actually work. (Mostly blocked by imported packages right now).
  • Answer questions: Create as a framework; value as a framework. What is already debugged? What does the developer have to do / doesn't have to do?
  • How do these get deployed? How does it get taken to production?

About

A Flask app that quickly generates Falcon and SQLAlchemy Python apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published