文件名称:marshmallow-sqlalchemy:SQLAlchemy 与棉花糖的集成
文件大小:58KB
文件格式:ZIP
更新时间:2024-08-24 02:09:22
python sqlalchemy marshmallow python-3 hacktoberfest
棉花糖-sqlalchemy 主页: : 与(反)序列化库的集成。 声明你的模型 import sqlalchemy as sa from sqlalchemy . ext . declarative import declarative_base from sqlalchemy . orm import scoped_session , sessionmaker , relationship , backref engine = sa . create_engine ( "sqlite:///:memory:" ) session = scoped_session ( sessionmaker ( bind = engine )) Base = declarative_base () class Author ( Base ): __tablename__ = "aut
【文件预览】:
marshmallow-sqlalchemy-dev
----setup.py(2KB)
----.gitignore(417B)
----.readthedocs.yml(169B)
----src()
--------marshmallow_sqlalchemy()
----MANIFEST.in(209B)
----.pre-commit-config.yaml(496B)
----LICENSE(1KB)
----setup.cfg(368B)
----.github()
--------dependabot.yml(125B)
----README.rst(5KB)
----tests()
--------conftest.py(6KB)
--------test_sqlalchemy_schema.py(16KB)
--------__init__.py(0B)
--------test_conversion.py(12KB)
----pytest.ini(180B)
----AUTHORS.rst(2KB)
----CONTRIBUTING.rst(3KB)
----azure-pipelines.yml(845B)
----CHANGELOG.rst(16KB)
----docs()
--------_templates()
--------Makefile(7KB)
--------index.rst(3KB)
--------conf.py(2KB)
--------_static()
--------authors.rst(28B)
--------make.bat(6KB)
--------recipes.rst(10KB)
--------changelog.rst(46B)
--------license.rst(56B)
--------api_reference.rst(566B)
--------contributing.rst(33B)
----tox.ini(861B)