{"id":16509619,"url":"https://github.com/righ/d2a","last_synced_at":"2025-10-28T03:31:40.195Z","repository":{"id":46856932,"uuid":"115495380","full_name":"righ/d2a","owner":"righ","description":"A translator Django  into SQLAlchemy.","archived":false,"fork":false,"pushed_at":"2021-10-14T16:45:14.000Z","size":276,"stargazers_count":23,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-01T11:04:03.324Z","etag":null,"topics":["code-generator","codegen","codegenerator","django","geoalchemy","geodjango","python","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://docs.walkframe.com/products/d2a/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/righ.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-27T07:39:32.000Z","updated_at":"2024-08-31T15:21:26.000Z","dependencies_parsed_at":"2022-08-21T06:10:53.155Z","dependency_job_id":null,"html_url":"https://github.com/righ/d2a","commit_stats":null,"previous_names":["walkframe/d2a"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/righ%2Fd2a","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/righ%2Fd2a/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/righ%2Fd2a/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/righ%2Fd2a/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/righ","download_url":"https://codeload.github.com/righ/d2a/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238590595,"owners_count":19497350,"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":["code-generator","codegen","codegenerator","django","geoalchemy","geodjango","python","sqlalchemy"],"created_at":"2024-10-11T15:51:25.308Z","updated_at":"2025-10-28T03:31:39.601Z","avatar_url":"https://github.com/righ.png","language":"Python","readme":"\n.. image:: https://badge.fury.io/py/d2a.svg\n  :target: https://badge.fury.io/py/d2a\n\n.. image:: https://github.com/walkframe/d2a/workflows/build/badge.svg?branch=master\n  :target: https://github.com/walkframe/d2a/actions\n\n.. image:: https://img.shields.io/pypi/dm/d2a.svg\n  :target: https://pypi.org/project/d2a/\n\n.. image:: https://img.shields.io/badge/License-MIT-blue.svg\n  :target: https://opensource.org/licenses/MIT\n\n.. image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2Fwalkframe%2Fd2a.svg?type=large\n   alt: https://app.fossa.com/projects/git%2Bgithub.com%2Fwalkframe%2Fd2a?ref=badge_large\n\nRequirements\n============\n- Python: 3.5 or later.\n\n  - Tested with 3.6, 3.9\n\n- Django: 2.x, 3.x\n  \n  - Tested with 2.2.9, 3.0.1, 3.1.1\n\n- SQLAlchemy: 1.1 or later.\n\n  - Tested with 1.1.0, 1.4.1\n\n2 STEPS TO USE\n==============\n\nInstallation\n-------------\n\n.. code-block:: shell\n\n  $ pip install d2a -U\n\n\nAdd d2a to settings.INSTALLED_APPS.\n\n.. code-block:: python3\n\n  INSTALLED_APPS = [\n      'django.contrib.admin',\n      'django.contrib.auth',\n      'django.contrib.contenttypes',\n      'django.contrib.sessions',\n      'django.contrib.messages',\n      'django.contrib.staticfiles',\n      # :\n      # :\n      'd2a',\n  ]\n\nCode generation\n---------------\n\n.. code-block:: shell\n\n  $ ./manage.py sqla_codegen\n\n\nLink\n==================\n\n- `PyPI \u003chttps://pypi.org/project/d2a\u003e`__\n- See more details on `walkframe docs \u003chttps://docs.walkframe.com/products/d2a/\u003e`__\n\n  - `History \u003chttps://docs.walkframe.com/products/d2a/history/\u003e`__\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frigh%2Fd2a","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frigh%2Fd2a","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frigh%2Fd2a/lists"}