{"id":19431466,"url":"https://github.com/blooser/dynatable","last_synced_at":"2026-04-08T11:32:46.990Z","repository":{"id":230927695,"uuid":"780468744","full_name":"blooser/DynaTable","owner":"blooser","description":"Dynamic models for django","archived":false,"fork":false,"pushed_at":"2024-04-01T22:52:56.000Z","size":869,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T08:16:19.063Z","etag":null,"topics":["django","django-rest","docker","docker-compose","mypy","poetry","postgresql","pytest","ruff"],"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/blooser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-04-01T14:49:33.000Z","updated_at":"2024-04-01T21:48:01.000Z","dependencies_parsed_at":"2024-11-10T14:42:04.656Z","dependency_job_id":null,"html_url":"https://github.com/blooser/DynaTable","commit_stats":null,"previous_names":["blooser/dynatable"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blooser/DynaTable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blooser%2FDynaTable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blooser%2FDynaTable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blooser%2FDynaTable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blooser%2FDynaTable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blooser","download_url":"https://codeload.github.com/blooser/DynaTable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blooser%2FDynaTable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["django","django-rest","docker","docker-compose","mypy","poetry","postgresql","pytest","ruff"],"created_at":"2024-11-10T14:29:48.103Z","updated_at":"2026-04-08T11:32:46.956Z","avatar_url":"https://github.com/blooser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# DynaTable 🚀\n\n![CI Status](https://github.com/blooser/DynaTable/actions/workflows/docker-image.yml/badge.svg)\n\n**DynaTable** is an innovative dynamic model builder tailored for Django, equipped with a potent REST API interface. It facilitates the on-the-fly creation, updating, and management of database models 🌟. Crafted meticulously using Django, Django REST Framework, and PostgreSQL, DynaTable stands as an indispensable asset for applications necessitating versatile and dynamic database schema management.\n\n---\n\n\u003cimg  width=\"400\" align=\"center\" src=\"https://raw.githubusercontent.com/blooser/DynaTable/master/images/logo.webp\"\u003e\n\n## Technologies 💻\n- [Python](https://www.python.org/)\n- [Django](https://www.djangoproject.com/) + [Django REST Framework](https://www.django-rest-framework.org/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Docker](https://www.docker.com/)\n- [Swagger](https://swagger.io/) and [Redoc](https://redoc.ly/)\n- [Pytest](https://docs.pytest.org/en/stable/)\n- [Poetry](https://python-poetry.org/)\n\n## Core Features 🌈\n\n- **Dynamic Model Creation** 🛠️: Intuitively define and instantiate new database models via a RESTful interface.\n- **Model Schema Updates** 🔧: Seamlessly modify existing models' schemas without the need to adjust the underlying codebase.\n- **Efficient Data Manipulation** 📊: Dynamically insert and retrieve data rows for any constructed model.\n- **RESTful API Excellence** 🌐: Capitalize on the robust functionality of Django REST Framework for streamlined API interactions.\n- **PostgreSQL Integration** 💾: Guarantee strong and dependable data storage solutions with PostgreSQL.\n\n## Build and Run 🏗️\n\n### Building the Application\n\n```bash\n$ docker-compose build\n```\n\n###  Running the Application\n\n```bash\n$ docker-compose up -d\n```\n\n## Multi-stage Build 🛠️\n\nDynaTable employs a sophisticated multi-stage building process, encapsulated within Docker for optimal efficiency and performance.\n\nThis advanced approach offers several significant benefits:\n-  Reduced Image Size\n- Improved Security\n- Optimized Build Caching\n\n## Exploring API Documentation with Swagger/Redoc 📚\n\nDynaTable simplifies API documentation exploration by utilizing both Swagger and Redoc.\n\nNavigate to:\n\n- Swagger UI\n\n```bash\nhttp://localhost:8000/swagger\n```\n\n- Redoc\n\n```bash\nhttp://localhost:8000/redoc\n```\n---\n\u003cimg src=\"https://github.com/blooser/DynaTable/blob/master/images/swagger.png?raw=true\" /\u003e\n\n## Unit Testing with Pytest 🧪\n\nThe application boasts comprehensive unit test coverage utilizing Pytest.\n\nExecute unit tests with:\n\n```bash\n$ docker-compose run test\n```\n\nOr run bash script\n\n```\n$ ./run_tests.sh\n```\n\n## Advanced Data Generation and Testing 🔍\n\n**DynaTable** rigorously tests its functionalities using Pytest alongside generated data, ensuring maximum effectiveness. The bespoke [generator](https://github.com/blooser/DynaTable/blob/master/src/tests/generator.py) module proficiently produces random model fields and data rows for database population. This ensures diverse testing scenarios and enhances the overall quality and reliability of the functions.\n\n## Simulation 🌐\n\nThe **DynaTable** includes a comprehensive [simulation](https://github.com/blooser/DynaTable/blob/master/src/simulation/__main__.py) module designed to show interactions with the server. \n\nTo invoke simulation, run\n\n```bash\n$ poetry run python src/simulation -t \u003cnumber_of_tables:[1, 10]\u003e --host \u003chost:http://localhost:8000/\u003e\n```\n\nOr use script\n\n```bash\n$ ./run_simulation.sh\n```\n\n---\n\n![sim2](https://github.com/blooser/DynaTable/blob/master/images/sim2.png?raw=true)\n\n\n# License\n\nThis project is licensed under the MIT License - view the [LICENSE.md](https://github.com/blooser/DynaTable/blob/master/LICENSE.md) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblooser%2Fdynatable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblooser%2Fdynatable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblooser%2Fdynatable/lists"}