{"id":18990516,"url":"https://github.com/legendarym4x/sqlalchemy_with_alembic","last_synced_at":"2026-05-16T15:35:14.422Z","repository":{"id":212979668,"uuid":"732708575","full_name":"legendarym4x/SQLAlchemy_with_Alembic","owner":"legendarym4x","description":"SQLalchemy learn","archived":false,"fork":false,"pushed_at":"2024-02-12T13:10:07.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T14:29:16.798Z","etag":null,"topics":["alembic","postgresql","python","sql","sqlalchemy"],"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/legendarym4x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2023-12-17T15:27:29.000Z","updated_at":"2024-02-12T13:08:59.000Z","dependencies_parsed_at":"2024-02-12T15:08:46.524Z","dependency_job_id":null,"html_url":"https://github.com/legendarym4x/SQLAlchemy_with_Alembic","commit_stats":null,"previous_names":["legendarym4x/web-hw-07","legendarym4x/sqlalchemy_with_alembic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legendarym4x%2FSQLAlchemy_with_Alembic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legendarym4x%2FSQLAlchemy_with_Alembic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legendarym4x%2FSQLAlchemy_with_Alembic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/legendarym4x%2FSQLAlchemy_with_Alembic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/legendarym4x","download_url":"https://codeload.github.com/legendarym4x/SQLAlchemy_with_Alembic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002228,"owners_count":19732165,"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","postgresql","python","sql","sqlalchemy"],"created_at":"2024-11-08T17:10:05.258Z","updated_at":"2026-04-13T23:30:22.463Z","avatar_url":"https://github.com/legendarym4x.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## SQLAlchemy with Alembic\n\nWe implemented our SQLAlchemy models for tables:\n\n     Table of students;\n     Table of groups;\n     Table of teachers;\n     Table of subjects with the indication of the teacher who reads the subject;\n     A table where each student has grades in subjects with an indication of when the grade was received.\n\nWe then used `alembic` to create migrations in the database.\n\nWe wrote the `seed.py` script and filled the resulting database with random data (~30-50 students, 3 groups, \n5-8 subjects, 3-5 teachers, up to 20 grades for each student from all subjects). We used the `Faker` package \nfor filling. SQLAlchemy `session` mechanism was used when filling.\n\nWe also made the necessary selections from the obtained database.\nFor requests, a separate file `my_select.py` was created, where there are 10 functions from `select_1` to `select_10`. \nExecution of the functions returns a result similar to the previous homework. For requests, we use the SQLAlchemy \n`session` mechanism.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flegendarym4x%2Fsqlalchemy_with_alembic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flegendarym4x%2Fsqlalchemy_with_alembic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flegendarym4x%2Fsqlalchemy_with_alembic/lists"}