{"id":19065271,"url":"https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial","last_synced_at":"2025-04-16T01:16:24.292Z","repository":{"id":40791425,"uuid":"201548579","full_name":"hackersandslackers/pandas-sqlalchemy-tutorial","owner":"hackersandslackers","description":":panda_face: :computer: Load or insert data into a SQL database using Pandas DataFrames.","archived":false,"fork":false,"pushed_at":"2025-03-07T14:45:43.000Z","size":3145,"stargazers_count":29,"open_issues_count":24,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T01:16:18.975Z","etag":null,"topics":["data-analysis","data-science","dataframes","pandas","pandas-sqlalchemy-tutorial","python","sql-database","sqlalchemy","tutorial"],"latest_commit_sha":null,"homepage":"https://hackersandslackers.com/connecting-pandas-to-a-sql-database-with-sqlalchemy/","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/hackersandslackers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"custom":["https://www.buymeacoffee.com/hackersslackers"]}},"created_at":"2019-08-09T22:29:40.000Z","updated_at":"2023-10-20T03:57:02.000Z","dependencies_parsed_at":"2023-12-19T16:02:44.418Z","dependency_job_id":"ce7369ca-465a-4f8b-9029-1256896ceb29","html_url":"https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial","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/hackersandslackers%2Fpandas-sqlalchemy-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fpandas-sqlalchemy-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fpandas-sqlalchemy-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hackersandslackers%2Fpandas-sqlalchemy-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hackersandslackers","download_url":"https://codeload.github.com/hackersandslackers/pandas-sqlalchemy-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249178223,"owners_count":21225350,"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":["data-analysis","data-science","dataframes","pandas","pandas-sqlalchemy-tutorial","python","sql-database","sqlalchemy","tutorial"],"created_at":"2024-11-09T00:49:16.611Z","updated_at":"2025-04-16T01:16:24.275Z","avatar_url":"https://github.com/hackersandslackers.png","language":"Python","funding_links":["https://www.buymeacoffee.com/hackersslackers"],"categories":[],"sub_categories":[],"readme":"# Pandas SQLAlchemy Tutorial\n\n![Python](https://img.shields.io/badge/Python-v^3.8-blue.svg?logo=python\u0026longCache=true\u0026logoColor=white\u0026colorB=5e81ac\u0026style=flat-square\u0026colorA=4c566a)\n![Pandas](https://img.shields.io/badge/Pandas-v^1.0.0-blue.svg?logo=python\u0026longCache=true\u0026logoColor=white\u0026colorB=5e81ac\u0026style=flat-square\u0026colorA=4c566a)\n![SQLAlchemy](https://img.shields.io/badge/SQLAlchemy-^1.3.6-red.svg?longCache=true\u0026style=flat-square\u0026logo=python\u0026logoColor=white\u0026colorA=4c566a\u0026colorB=bf616a)\n![PyMySQL](https://img.shields.io/badge/PyMySQL-v0.9.3-red.svg?longCache=true\u0026style=flat-square\u0026logo=mysql\u0026logoColor=white\u0026colorA=4c566a\u0026colorB=bf616a)\n![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=a3be8c)\n[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/pandas-sqlalchemy-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial/issues)\n[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/pandas-sqlalchemy-tutorial.svg?style=flat-square\u0026colorB=ebcb8b\u0026colorA=4c566a)](https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial/stargazers)\n[![GitHub Forks](https://img.shields.io/github/forks/hackersandslackers/pandas-sqlalchemy-tutorial.svg?style=flat-square\u0026colorA=4c566a\u0026colorB=ebcb8b)](https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial/network)\n\n![Pandas SQLAlchemy Tutorial](https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial/blob/master/.github/pandas-sqlalchemy@2x.jpg?raw=true)\n\nEasily drop data into Pandas from a SQL database, or upload your DataFrames to a SQL table. Tutorial found here: https://hackersandslackers.com/connecting-pandas-to-a-sql-database-with-sqlalchemy/\n\n\n## Installation\n\n**Installation via `requirements.txt`**:\n\n```shell\n$ git clone https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial.git\n$ cd pandas-sqlalchemy-tutorial\n$ python3 -m venv myenv\n$ source myenv/bin/activate\n$ pip3 install -r requirements.txt\n$ python3 main.py\n```\n\n**Installation via [Pipenv](https://pipenv-fork.readthedocs.io/en/latest/)**:\n\n```shell\n$ git clone https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial.git\n$ cd pandas-sqlalchemy-tutorial\n$ pipenv shell\n$ pipenv update\n$ python3 main.py\n```\n\n**Installation via [Poetry](https://python-poetry.org/)**:\n\n```shell\n$ git clone https://github.com/hackersandslackers/pandas-sqlalchemy-tutorial.git\n$ cd pandas-sqlalchemy-tutorial\n$ poetry shell\n$ poetry update\n$ poetry run\n```\n\n## Usage\n\nReplace the values in **.env.example** with your values and rename this file to **.env**:\n\n* `SQLALCHEMY_DATABASE_URI`: Connection URI of a SQL database.\n\n*Remember never to commit secrets saved in .env files to Github.*\n\n------------------\n\n**Hackers and Slackers** tutorials are free of charge. If you found this tutorial helpful, a [small donation](https://www.buymeacoffee.com/hackersslackers) would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackersandslackers%2Fpandas-sqlalchemy-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackersandslackers%2Fpandas-sqlalchemy-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackersandslackers%2Fpandas-sqlalchemy-tutorial/lists"}