{"id":13725452,"url":"https://github.com/Pylons/pyramid-cookiecutter-alchemy","last_synced_at":"2025-05-07T20:32:25.098Z","repository":{"id":66071839,"uuid":"60289956","full_name":"Pylons/pyramid-cookiecutter-alchemy","owner":"Pylons","description":"[DEPRECATED - Please use https://github.com/pylons/pyramid-cookiecutter-starter instead] A Cookiecutter (project template) for creating a Pyramid project using SQLite for persistent storage, SQLAlchemy for an ORM, Alembic for database migrations, URL dispatch for routing, and Jinja2 for templating.","archived":false,"fork":false,"pushed_at":"2018-10-31T06:19:18.000Z","size":105,"stargazers_count":40,"open_issues_count":0,"forks_count":23,"subscribers_count":11,"default_branch":"latest","last_synced_at":"2024-05-02T00:42:03.861Z","etag":null,"topics":["alembic","cookiecutter-template","jinja2","pyramid","sqlalchemy","sqlite","url-dispatch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pylons.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-02T19:02:29.000Z","updated_at":"2024-08-03T01:28:18.258Z","dependencies_parsed_at":"2023-02-20T19:00:56.994Z","dependency_job_id":null,"html_url":"https://github.com/Pylons/pyramid-cookiecutter-alchemy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pylons%2Fpyramid-cookiecutter-alchemy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pylons%2Fpyramid-cookiecutter-alchemy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pylons%2Fpyramid-cookiecutter-alchemy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pylons%2Fpyramid-cookiecutter-alchemy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pylons","download_url":"https://codeload.github.com/Pylons/pyramid-cookiecutter-alchemy/tar.gz/refs/heads/latest","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252953716,"owners_count":21830890,"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":["alembic","cookiecutter-template","jinja2","pyramid","sqlalchemy","sqlite","url-dispatch"],"created_at":"2024-08-03T01:02:23.882Z","updated_at":"2025-05-07T20:32:24.592Z","avatar_url":"https://github.com/Pylons.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"============================\npyramid-cookiecutter-alchemy\n============================\n\nDeprecation notice\n------------------\n\nThis cookiecutter has been deprecated in favor of the unified cookiecutter `pyramid-cookiecutter-starter \u003chttps://github.com/pylons/pyramid-cookiecutter-starter\u003e`_ effective with the release of Pyramid 1.10.\n``pyramid-cookiecutter-starter`` combines all features of ``pyramid-cookiecutter-alchemy`` and ``pyramid-cookiecutter-zodb``.\nPlease use `pyramid-cookiecutter-starter \u003chttps://github.com/pylons/pyramid-cookiecutter-starter\u003e`_ instead of this one.\nThis cookiecutter may not receive further updates.\n\n.. image:: https://travis-ci.org/Pylons/pyramid-cookiecutter-alchemy.png?branch=latest\n        :target: https://travis-ci.org/Pylons/pyramid-cookiecutter-alchemy\n        :alt: latest Travis CI Status\n\nA Cookiecutter (project template) for creating a Pyramid project using SQLite for persistent storage, SQLAlchemy for an ORM, Alembic for database migrations, URL dispatch for routing, and Jinja2 for templating.\n\nRequirements\n------------\n\n* Python 2.7 or 3.4+\n* `cookiecutter \u003chttps://cookiecutter.readthedocs.io/en/latest/installation.html\u003e`_\n\nVersions\n--------\n\nThis cookiecutter has several branches to support new features in Pyramid or avoid incompatibilities.\n\n* ``latest`` aligns with the latest stable release of Pyramid, and is the default branch on GitHub.\n* ``master`` aligns with the ``master`` branch of Pyramid, and is where development takes place.\n* ``x.y-branch`` aligns with the ``x.y-branch`` branch of Pyramid.\n\n\nUsage\n-----\n\n1.  Generate a Pyramid project, following the prompts from the command.\n\n    .. code-block:: bash\n\n        $ cookiecutter gh:Pylons/pyramid-cookiecutter-alchemy\n\n    Optionally append a specific branch checkout to the command:\n\n    .. code-block:: bash\n\n        $ cookiecutter gh:Pylons/pyramid-cookiecutter-alchemy --checkout master\n\n2.  Finish configuring the project by creating a virtual environment and installing your new project. These steps are output as part of the cookiecutter command above and are slightly different for Windows.\n\n    .. code-block:: bash\n\n        # Change directory into your newly created project.\n        $ cd myproj\n        # Create a virtual environment...\n        $ python3 -m venv env\n        # ...where we upgrade packaging tools...\n        $ env/bin/pip install --upgrade pip setuptools\n        # ...and into which we install our project and its testing requirements.\n        $ env/bin/pip install -e \".[testing]\"\n\n3.  Initialize and upgrade the database using Alembic.\n\n    .. code-block:: bash\n\n        # Generate your first revision.\n        $ env/bin/alembic -c development.ini revision --autogenerate -m \"init\"\n        # Upgrade to that revision.\n        $ env/bin/alembic -c development.ini upgrade head\n\n4.  Load default data into the database using a script.\n\n    .. code-block:: bash\n\n        $ env/bin/initialize_tutorial_db development.ini\n\n5.  Run your project's tests.\n\n    .. code-block:: bash\n\n        $ env/bin/pytest\n\n6.  Run your project.\n\n    .. code-block:: bash\n\n        $ env/bin/pserve development.ini\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPylons%2Fpyramid-cookiecutter-alchemy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPylons%2Fpyramid-cookiecutter-alchemy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPylons%2Fpyramid-cookiecutter-alchemy/lists"}