{"id":20789570,"url":"https://github.com/victorqribeiro/splitdjangomodels","last_synced_at":"2025-05-05T19:50:42.368Z","repository":{"id":128647151,"uuid":"207673838","full_name":"victorqribeiro/splitDjangoModels","owner":"victorqribeiro","description":" Split Django generated models into separated files, with proper names, classes and imports","archived":false,"fork":false,"pushed_at":"2019-09-12T22:34:47.000Z","size":8,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T23:11:27.514Z","etag":null,"topics":["bash","django","models","script","split"],"latest_commit_sha":null,"homepage":"","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/victorqribeiro.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-10T22:24:24.000Z","updated_at":"2025-03-18T08:05:14.000Z","dependencies_parsed_at":"2023-04-15T20:57:22.651Z","dependency_job_id":null,"html_url":"https://github.com/victorqribeiro/splitDjangoModels","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/victorqribeiro%2FsplitDjangoModels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2FsplitDjangoModels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2FsplitDjangoModels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorqribeiro%2FsplitDjangoModels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorqribeiro","download_url":"https://codeload.github.com/victorqribeiro/splitDjangoModels/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252565635,"owners_count":21768893,"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":["bash","django","models","script","split"],"created_at":"2024-11-17T15:24:57.489Z","updated_at":"2025-05-05T19:50:42.363Z","avatar_url":"https://github.com/victorqribeiro.png","language":"Python","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=victorqribeiro%40gmail%2ecom\u0026lc=BR\u0026item_name=Victor%20Ribeiro\u0026item_number=donation\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"],"categories":[],"sub_categories":[],"readme":"# Split Django Models\n\nSplit Django generated models into separated files, with proper names, classes and imports.\n\n## Usage\n\nGenerate your models:  \n```bash\npython3 manage.py inspectdb \u003e models.py\n```\n\nRun the script:  \n```bash\n./split_django_models.sh models.py\n```\n\nPut them all into a folder so you can enjoy the step bellow:  \n\nThe script also creates a *\\_\\_init\\_\\_.py* file, so you can import them all at once:  \n```python\nfrom yourapp.models import *\n```\n\nDone!\n\n## Buy me a coffee\n[![Donations](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=victorqribeiro%40gmail%2ecom\u0026lc=BR\u0026item_name=Victor%20Ribeiro\u0026item_number=donation\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Fsplitdjangomodels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorqribeiro%2Fsplitdjangomodels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorqribeiro%2Fsplitdjangomodels/lists"}