All Projects → pallets → Flask Sqlalchemy

pallets / Flask Sqlalchemy

Licence: bsd-3-clause
Adds SQLAlchemy support to Flask

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Flask Sqlalchemy

Flask Msearch
Full text search for flask.
Stars: ✭ 164 (-95.52%)
Mutual labels:  sqlalchemy, flask
The Flask Mega Tutorial
📖《The Flask Mega-Tutorial》中文2018最新版📗
Stars: ✭ 221 (-93.96%)
Mutual labels:  sqlalchemy, flask
Flusk
Boilerplate API on how to structure big Flask applications (includes SQLAlchemy, Docker, nginx)
Stars: ✭ 165 (-95.49%)
Mutual labels:  sqlalchemy, flask
Flask Graphene Sqlalchemy
A demo project for Flask + GraphQL (With Graphene & SQLAlchemy)
Stars: ✭ 117 (-96.8%)
Mutual labels:  sqlalchemy, flask
flask-tweeeter
A full-stack Twitter clone made using the Flask framework for Python 🐦
Stars: ✭ 28 (-99.23%)
Mutual labels:  sqlalchemy, flask-sqlalchemy
Tedivms Flask
Flask starter app with celery, bootstrap, and docker environment
Stars: ✭ 142 (-96.12%)
Mutual labels:  sqlalchemy, flask
Eve Sqlalchemy
SQLAlchemy data layer for Eve-powered RESTful APIs
Stars: ✭ 215 (-94.12%)
Mutual labels:  sqlalchemy, flask
Flask movie site
用Flask构建一个微电影视频网站
Stars: ✭ 97 (-97.35%)
Mutual labels:  sqlalchemy, flask
Flask Boilerplate
Simple flask boilerplate with Postgres, Docker, and Heroku/Zeit now
Stars: ✭ 251 (-93.14%)
Mutual labels:  sqlalchemy, flask
Flask Base
A simple Flask boilerplate app with SQLAlchemy, Redis, User Authentication, and more.
Stars: ✭ 2,680 (-26.74%)
Mutual labels:  sqlalchemy, flask
Flask Graphene Sqlalchemy
⚗️Project template to build a GraphQL API in Python
Stars: ✭ 109 (-97.02%)
Mutual labels:  sqlalchemy, flask
Safrs
SqlAlchemy Flask-Restful Swagger Json:API OpenAPI
Stars: ✭ 255 (-93.03%)
Mutual labels:  sqlalchemy, flask
Weeklyreport
基于Flask的开源周报系统,快速docker部署
Stars: ✭ 102 (-97.21%)
Mutual labels:  sqlalchemy, flask
Flask Restless Security
Concise skeleton for development of Flask, Flask-Restless, SQLAlchemy, JWT based REST APIs.
Stars: ✭ 159 (-95.65%)
Mutual labels:  sqlalchemy, flask
Booklibrary
📚Simple Book library application written on flask with SQLite database.
Stars: ✭ 98 (-97.32%)
Mutual labels:  sqlalchemy, flask
Pytest Flask Sqlalchemy
A pytest plugin for preserving test isolation in Flask-SQLAlchemy using database transactions.
Stars: ✭ 168 (-95.41%)
Mutual labels:  sqlalchemy, flask
Flask Tutorial
这个项目已经很久很久了, 不推荐看, 不过倒是可以进群叨逼叨一下. 🚗 交流群:630398887
Stars: ✭ 91 (-97.51%)
Mutual labels:  sqlalchemy, flask
Markbj
一个开放的知识社区
Stars: ✭ 94 (-97.43%)
Mutual labels:  sqlalchemy, flask
Autoline
建议你使用更新的AutoLink平台
Stars: ✭ 227 (-93.79%)
Mutual labels:  sqlalchemy, flask
Resume-Generator
A Resume builder which allows users to build their own custom resumes with details like experience,projects , skills ,education etc. Users can also have the feature to download their resumes . To contribute send PR at development branch from where it will be merged in master once checked.
Stars: ✭ 28 (-99.23%)
Mutual labels:  sqlalchemy, flask-sqlalchemy

Flask-SQLAlchemy

Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application. It aims to simplify using SQLAlchemy with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks.

Installing

Install and update using pip:

$ pip install -U Flask-SQLAlchemy

A Simple Example

from flask import Flask
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///example.sqlite"
db = SQLAlchemy(app)


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String, unique=True, nullable=False)
    email = db.Column(db.String, unique=True, nullable=False)


db.session.add(User(username="Flask", email="[email protected]"))
db.session.commit()

users = User.query.all()

Contributing

For guidance on setting up a development environment and how to make a contribution to Flask-SQLAlchemy, see the contributing guidelines.

Donate

The Pallets organization develops and supports Flask-SQLAlchemy and other popular packages. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, please donate today.

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].