https://github.com/natorsc/py-databases
How to use the Python programming language with various databases.
https://github.com/natorsc/py-databases
access banco-de-dados mariadb mongodb mssql mysql postgresql python3 redis sqlachemy sqlite3
Last synced: 10 months ago
JSON representation
How to use the Python programming language with various databases.
- Host: GitHub
- URL: https://github.com/natorsc/py-databases
- Owner: natorsc
- License: mit
- Created: 2019-05-04T13:05:21.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-02-02T22:27:13.000Z (about 1 year ago)
- Last Synced: 2025-04-23T03:09:08.578Z (10 months ago)
- Topics: access, banco-de-dados, mariadb, mongodb, mssql, mysql, postgresql, python3, redis, sqlachemy, sqlite3
- Language: Python
- Homepage: https://justcode.com.br/
- Size: 101 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Como utilizar Python com diversos bancos de dados
[](https://github.com/natorsc/databases-with-python "Ir para o repositório.")
[](https://github.com/natorsc/databases-with-python)
[](https://github.com/natorsc/databases-with-python)
[](./LICENSE)
[](https://github.com/astral-sh/uv)
## 📝 Descrição
Como utilizar a linguagem de programação Python com diversos bancos de dados.
---
## 🤓 Author
Repository created with 💙 by [Renato Cruz](https://github.com/natorsc) 🤜🤛 Feel free to reach out!
[](mailto:natorsc@gmail.com "Send an email.")
Check out programming and technology content on:
[](https://www.justcode.com.br "Visit the justCode blog.")
[](www.swift.dev.br "Visit the Swift Dev BR blog.")
A playlist I often listen to while studying or coding 😁:
[](https://open.spotify.com/playlist/1xf3u29puXlnrWO7MsaHL5?si=A-LgwRJXSvOno_e6trpi5w&utm_source=copy-link "Access the playlist.")
---
## 💝 Doações
Obrigado por sua doação, é através dela que consigo manter este conteúdo 😊.
### Pix
**Chave**: `b1839493-2afe-484d-9272-82a3e402b36f`
---
## Conteúdo
### MariaDB
- [docker-compose](src/mariadb/docker-compose.yml).
- [MariaDB Connector](src/mariadb/main.py).
- [MariaDB Connector + SQLAlchemy](src/mariadb/main_sqlalchemy.py).
- [MySQL Connector](src/mariadb/mysql_connector.py).
- [MySQL Connector + SQLAlchemy](src/mariadb/mysql_connector_sqlalchemy.py).
### MongoDB
- [docker-compose](src/mongodb/docker-compose.yml).
- [PyMongo](src/mongodb/main.py).
- [MongoEngine](src/mongodb/main_mongoengine.py).
### Microsoft Access
- [Pyodbc Connector](src/ms-access/main.py).
### Microsoft SQL Server
- [docker-compose](src/mssql-server/docker-compose.yml).
- [Pyodbc Connector](src/mssql-server/main.py).
- [Pyodbc Connector + SQLAlchemy](src/mssql-server/main_sqlalchemy.py).
### MySQL
- [docker-compose](src/mysql/docker-compose.yml).
- [MySQL Connector](src/mysql/main.py).
- [MySQL Connector + SQLAlchemy](src/mysql/main_sqlalchemy.py).
### PostgreSQL
- [docker-compose](src/postgresql/docker-compose.yml).
- [Psycopg](src/postgresql/main.py).
- [Psycopg + SQLAlchemy](src/postgresql/main_sqlalchemy.py).
### Redis
- [docker-compose](src/redis/docker-compose.yml).
- [Redis Connector](src/redis/main.py).
### SQLite
- [SQLite3](src/sqlite-3/main.py).
- [SQLite3 + SQLAlchemy](src/sqlite-3/main_sqlalchemy.py).
---
## Links úteis
- [SQLAlchemy](https://www.sqlalchemy.org/).
### Bancos de dados
- [MariaDB](https://mariadb.org/).
- [MongoDB](https://www.mongodb.com/).
- [Microsoft Access](https://www.microsoft.com/pt-br/microsoft-365/access).
- [Microsoft SQL Server](https://www.microsoft.com/pt-br/sql-server/sql-server-downloads).
- [MySQL](https://www.mysql.com/).
- [PostgreSQL](https://www.postgresql.org/).
- [Redis](https://redis.io/).
- [SQLite](https://www.sqlite.org/).
### Conectores
- [MariaDB Connector](https://pypi.org/project/mariadb/).
- [PyMongo](https://pypi.org/project/pymongo/).
- [Pyodbc](https://pypi.org/project/pymongo/).
- [MySQL Connector](https://pypi.org/project/mysql-connector-python/).
- [Redis Connector](https://pypi.org/project/redis/).
---