{"id":51260213,"url":"https://github.com/douglasdrake/sakila","last_synced_at":"2026-06-29T11:32:20.480Z","repository":{"id":294297500,"uuid":"183707876","full_name":"douglasdrake/sakila","owner":"douglasdrake","description":"SQL queries also performed in SQLAlchemy and pandas","archived":false,"fork":false,"pushed_at":"2019-09-27T19:47:31.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T19:55:55.354Z","etag":null,"topics":["pandas","python","sql","sqlalchemy"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/douglasdrake.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-04-26T23:58:43.000Z","updated_at":"2020-07-26T14:50:29.000Z","dependencies_parsed_at":"2025-05-20T19:48:37.139Z","dependency_job_id":null,"html_url":"https://github.com/douglasdrake/sakila","commit_stats":null,"previous_names":["douglasdrake/sakila"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/douglasdrake/sakila","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fsakila","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fsakila/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fsakila/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fsakila/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douglasdrake","download_url":"https://codeload.github.com/douglasdrake/sakila/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fsakila/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34925718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["pandas","python","sql","sqlalchemy"],"created_at":"2026-06-29T11:32:19.690Z","updated_at":"2026-06-29T11:32:20.471Z","avatar_url":"https://github.com/douglasdrake.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sakila\n\n# Description\nThe Sakila sample database ships with MySQL.  We show three ways to query the database:\n1.  With MySQL.  Several queries in MySQL are given in `sakila-sample-queries.sql`.\n2.  With Pandas.  While one could always pass the SQL statements in 1 with, `pandas.read_sql`, we choose to \nuse the functionality of the Pandas DataFrame to perform the same queries and joins as in 1.  The \nrequests and results are given in the notebook `python-sakila.ipynb`.\n3.  With SQLAlchemy in Python.  The queries in 1 are performed using SQLAlchemy's Object Relational Mapper and CORE language.  Again, these queries could have been performed using the 'pass-through' option of directly passing \nSQL statements; however, we choose to demonstrate the use of SQLAlchemy for these tasks.\nThese queries are given in `sqlalchemy-sakila.ipynb`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasdrake%2Fsakila","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouglasdrake%2Fsakila","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasdrake%2Fsakila/lists"}