Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement firefly on top of flask #81

Open
anandology opened this issue Oct 10, 2018 · 4 comments
Open

Implement firefly on top of flask #81

anandology opened this issue Oct 10, 2018 · 4 comments
Assignees

Comments

@anandology
Copy link
Member

anandology commented Oct 10, 2018

The current way of specifying functions in command-line and in config file is very limiting. Lets create a new way to build firefly applications by building it on top of Flask. That gives it the ability to use Flask for extending it for any purpose, mix and match with other Flask applications.

You create it using:

app = Firefly() # or Firefly(__name__)

or

app = Firefly(flask_app=flask_app)

The flask app can be accessed anywhere by using app.flask_app.

app.function should intern call self.flask_app.route.

@anandology
Copy link
Member Author

app.run and app.__call__ should proxy self.flask_app.run and self.flask_app.__call__ respectively.

@shivankgtm
Copy link

Hey, I liked the project idea. is this project still in progress as the last comment is of Oct 18?

@palnabarun
Copy link
Contributor

palnabarun commented Apr 13, 2019

Hi @shivank98, firefly is still a maintained project. Feel free to file a PR for this.

@shivankgtm
Copy link

Sure, though I haven't gone through much of source code, will take some time in that. doing it for learning good software development.
hope time is not a constraint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants