{"id":13725593,"url":"https://github.com/wichert/pyramid_sqlalchemy","last_synced_at":"2025-09-22T05:32:47.847Z","repository":{"id":138466641,"uuid":"21774214","full_name":"wichert/pyramid_sqlalchemy","owner":"wichert","description":"SQLAlchemy integration for pyramid","archived":false,"fork":false,"pushed_at":"2020-03-31T12:18:26.000Z","size":78,"stargazers_count":26,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-29T14:52:03.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pyramid-sqlalchemy.readthedocs.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wichert.png","metadata":{"files":{"readme":"README.rst","changelog":"changes.rst","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2014-07-12T18:55:51.000Z","updated_at":"2021-03-05T18:17:05.000Z","dependencies_parsed_at":"2024-01-03T01:20:40.620Z","dependency_job_id":"a8ba7f4a-cd1b-410c-a4df-84fa6a379cd8","html_url":"https://github.com/wichert/pyramid_sqlalchemy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_sqlalchemy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_sqlalchemy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_sqlalchemy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichert%2Fpyramid_sqlalchemy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wichert","download_url":"https://codeload.github.com/wichert/pyramid_sqlalchemy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233670664,"owners_count":18711696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T01:02:28.418Z","updated_at":"2025-09-22T05:32:42.571Z","avatar_url":"https://github.com/wichert.png","language":"Python","funding_links":[],"categories":["Python","Storage"],"sub_categories":[],"readme":".. image:: https://travis-ci.org/wichert/pyramid_sqlalchemy.svg?branch=master\n    :target: https://travis-ci.org/wichert/pyramid_sqlalchemy\n\n`pyramid_sqlalchemy` provides some basic glue to facilitate using\n`SQLAlchemy \u003chttp://www.sqlalchemy.org/\u003e`_ with `Pyramid\n\u003chttp://docs.pylonsproject.org/projects/pyramid/en/latest/\u003e`_.\n\nSQLAlchemy relies on global state for a few things: \n\n* A ``MetaData`` instance which tracks all known SQL tables.\n* A base class for all models using the ORM.\n* A session factory.\n\nEvery application using SQLAlchemy must provides its own instance of these.\nThis makes it hard create add-on packages that also use SQLAlchemy, since they\neither need to have their own SQLAlchemy state, which makes it hard to\nintegrate them into your application, or they need to jump through multiple\ncomplex hoops to allow them share state with your application.\n\npyramid_sqlalchemy helps by providing a canonical location for the global\nSQLAlchemy state. In addition it provides a convenient way to configure\nSQLAlchemy in a Pyramid application.\n\n::\n\n    from pyramid.config import Configurator\n    from pyramid_sqlalchemy import BaseObject\n\n    class MyModel(BaseObject):\n        __tablename__ = 'my_model'\n        ...\n\n    def main():\n        config = Configurator()\n        # Configure SQLAlchemy using settings from the .ini file\n        config.include('pyramid_sqlalchemy')\n        ...\n        return config.make_wsgi_app()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichert%2Fpyramid_sqlalchemy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwichert%2Fpyramid_sqlalchemy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichert%2Fpyramid_sqlalchemy/lists"}