You are here: Home / LBN / Up2date / Core Linux / BastionLinux 36 / python3-flask-marshmallow-1.2.1-1.lbn36.noarch

python3-flask-marshmallow-1.2.1-1.lbn36.noarch

Package Attributes
RPM  python3-flask-marshmallow-1.2.1-1.lbn36.noarch.rpm Architecture  noarch Size  55266 Created  2025/05/19 12:49:45 UTC
Package Specification
Summary Flask + marshmallow for beautiful APIs
Group Unspecified
License ZPL
Home Page https://pypi.org/project/flask-marshmallow
Description

Flask + marshmallow for beautiful APIs Flask-Marshmallow is a thin integration layer for Flask (a Python web framework) and marshmallow (an object serialization/deserialization library) that adds additional features to marshmallow, including URL and Hyperlinks fields for HATEOAS-ready APIs. It also (optionally) integrates with Flask-SQLAlchemy.

Get it now pip install flask-marshmallow Create your app. from flask import Flask from flask_marshmallow import Marshmallow

app = Flask(__name__) ma = Marshmallow(app) Write your models. from your_orm import Model, Column, Integer, String, DateTime

class User(Model): email = Column(String) password = Column(String) date_created = Column(DateTime, auto_now_add=True) Define your output format with marshmallow. class UserSchema(ma.Schema): class Meta:

fields = ("email", "date_created", "_links")

links = ma.Hyperlinks( { "self": ma.URLFor("user

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python-flask-marshmallow
python3-flask-marshmallow
python3.10-flask-marshmallow
python3.10dist(flask-marshmallow)
python3dist(flask-marshmallow)
Obsoletes
python-flask-marshmallow

Document Actions