PySql-ORM 2.5.8

Creator: bradpython12

Last updated:

0 purchases

PySql-ORM 2.5.8 Image
PySql-ORM 2.5.8 Images
Add to Cart

Description:

PySqlORM 2.5.8

Adapt to Support SQLAlchemy-ROM forweb application,
include flask, django, or any other web frameworks.

It is based on Flask-SQLAlchemy==2.5.1. which is 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 pysql-orm


A Simple Example
from flask import Flask
from pysql_orm 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(name="Flask", email="[email protected]"))
db.session.commit()

users = User.query.all()


Links

Documentation: https://flask-sqlalchemy.palletsprojects.com/
Releases: https://pypi.org/project/Pysql-ORM/
Code: https://github.com/pallets/flask-sqlalchemy
Issue tracker: https://github.com/pallets/flask-sqlalchemy/issues
Test status: https://travis-ci.org/pallets/flask-sqlalchemy
Test coverage: https://codecov.io/gh/pallets/flask-sqlalchemy

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.