Skip to content

Flask extension to allow easy embedding of Semantic-UI CSS Framework.

License

Notifications You must be signed in to change notification settings

juniors90/Flask-SemanticUI

Repository files navigation

Flask-SemanticUI (Building)

Build status codecov docstr-cov Forks star issues GitHub contributors black

Requirements

Python 3.8+

Dependecies for this project.

intallation

You can install via pip:

    $> pip install Flask-SemanticUI

For development, clone the official github repository instead and use:

    $ git clone git@github.com:juniors90/Flask-SemanticUI.git
    $ cd Flask-SemanticUI
    $ python3 -m venv venv
    $ source venv/bin/activate
    (venv) $ pip install -r requirements/dev.txt

Quick start

    from flask import Flask, render_template_string
    from flask_semantic import SemanticUI
    
    app = Flask(__name__)
    semantic = SemanticUI(app)

    # routes
    @app.route("/")
    def index():
        # Make data:
        return render_template()

    if __name__ == "__main__":
        app.run(port=5000, debug=True)

Links

Authors

  • Ferreira, Juan David

Please submit bug reports, suggestions for improvements and patches via the (E-mail: juandavid9a0@gmail.com).

Contributors

Credits goes to these peoples:

Official repository and Issues

License

Flask-SemanticUI is free software you can redistribute it and/or modify it under the terms of the MIT License. For more information, you can see the LICENSE file for details.