SHORTLIST20
한국어
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
프로그래밍

파이썬 ORM·데이터베이스 드라이버 톱 20

SQLAlchemy, psycopg, redis-py and other ways to talk to a database from Python

업데이트 · GitHub stars (stars)

왜 이 20개인가

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence, the last push and the section of the community list it sits in. ORMs (SQLAlchemy, Peewee, SQLModel) and plain drivers (psycopg, asyncpg, PyMySQL) answer different needs and are in one list, so check the 'listed under' column. Drivers are often used through an ORM, so their stars undercount how much they run. Python's built-in sqlite3 has no repository of its own and can't be ranked.

이 리스트가 유용한가요?
  1. 1

    sqlmodel

    SQLModel is based on Python type annotations, and powered by Pydantic and SQLAlchemy.

    18,722 stars 901 forkslast push 2026-11-26PythonMIT

  2. 2

    redis

    The Python client for Redis.

    13,668 stars 2,848 forkslast push 2026-11-30PythonMIT

  3. 3

    sqlalchemy

    The Python SQL Toolkit and Object Relational Mapper.

    12,314 stars 1,996 forkslast push 2026-11-30PythonMIT

  4. 4

    peewee

    A small, expressive ORM.

    12,013 stars 1,394 forkslast push 2026-11-26PythonMIT

  5. 5

    asyncpg

    A fast PostgreSQL database client library for Python/asyncio.

    8,123 stars 487 forkslast push 2026-10-08PythonApache-2.0

  6. 6

    pymysql

    A pure-Python MySQL and MariaDB client library, based on PEP 249.

    7,856 stars 1,451 forkslast push 2026-11-09PythonMIT

  7. 7

    PyMongo

    Official Python driver

    4,363 stars 1,171 forkslast push 2026-11-30PythonApache-2.0

    다른 리스트: #6 MongoDB libraries

  8. 8

    MongoEngine

    ODM on top of PyMongo

    4,343 stars 1,224 forkslast push 2026-09-06PythonMIT

    다른 리스트: #3 FastAPI extensions#7 MongoDB libraries

  9. 9

    pyodbc

    An ODBC bridge for connecting to SQL Server and any other ODBC-accessible database.

    3,088 stars 571 forkslast push 2026-11-29C++MIT-0

  10. 10

    beanie

    An asynchronous Python object-document mapper (ODM) for MongoDB.

    2,713 stars 309 forkslast push 2026-11-28PythonApache-2.0

    다른 리스트: #8 FastAPI extensions

  11. 11

    pynamodb

    A Pythonic interface for Amazon DynamoDB.

    2,644 stars 432 forkslast push 2026-05-29PythonMIT

    다른 리스트: #9 FastAPI extensions

  12. 12

    psycopg ▲1

    A PostgreSQL adapter for Python, the successor to psycopg2.

    2,545 stars 318 forkslast push 2026-11-29PythonLGPL-3.0

  13. 13

    mysqlclient ▼1

    MySQL and MariaDB connector (MySQLdb1 fork).

    2,544 stars 445 forkslast push 2026-11-18PythonGPL-2.0

  14. 14

    sqlite-utils

    Python CLI utility and library for manipulating SQLite databases.

    2,270 stars 249 forkslast push 2026-11-30PythonApache-2.0

    다른 리스트: #7 database command-line clients

  15. 15

    pgvector

    pgvector support for Python, adding vector types and similarity search to psycopg, asyncpg, SQLAlchemy, and Django.

    1,548 stars 106 forkslast push 2026-11-05PythonMIT

  16. 16

    cassandra-driver

    The Python driver for Apache Cassandra.

    1,427 stars 602 forkslast push 2026-11-20PythonApache-2.0

  17. 17

    clickhouse-driver

    Python driver with native interface for ClickHouse.

    1,306 stars 249 forkslast push 2026-07-22PythonNOASSERTION

  18. 18

    apsw

    Another Python SQLite Wrapper, exposing the complete SQLite C API.

    958 stars 111 forkslast push 2026-11-23CNOASSERTION

  19. 19

    clickhouse-connect

    The official ClickHouse client, with SQLAlchemy and Superset connectors.

    535 stars 184 forkslast push 2026-11-30PythonApache-2.0

  20. 20

    mssql-python

    Official Microsoft driver for SQL Server and Azure SQL.

    485 stars 64 forkslast push 2026-11-30PythonNOASSERTION

나란히 비교

LicencePlatformsWhat it doesPython versionsAsync supportType hintsPlugins and ecosystemBest for
sqlmodelMIT LicenseCross-platform (Linux, macOS, Windows)SQL database library combining SQLAlchemy ORM and Pydantic validation modelsPython >= 3.8––––
redisMIT LicenseCross-platform (Linux, macOS, Windows)Official Python client library for connecting to Redis databasesPython >= 3.10Yes, provides a built-in asyncio client moduleYes, fully type annotated with PEP 561 py.typed markerCelery, hiredis, redis-om-python, Django RedisConnecting Python applications to Redis for caching, queues, and storage
sqlalchemyMIT LicenseCross-platform (Linux, macOS, Windows)SQL toolkit and Object Relational Mapper for PythonPython >= 3.8Yes, provides an asyncio extension for asynchronous engines and sessionsYes, full native type hints and PEP 484 supportAlembic, Flask-SQLAlchemy, SQLModel, GeoAlchemy2Enterprise-grade relational database modeling and complex SQL generation
peeweeMIT LicenseCross-platform (Linux, macOS, Windows)Small, expressive Object Relational Mapper supporting SQLite, MySQL, and PostgreSQLPython >= 3.8No native async; available via community package peewee-asyncPartial; lacks comprehensive native type annotations–Lightweight applications, microservices, and rapid relational database scripting
asyncpgApache License 2.0Cross-platform (Linux, macOS, Windows)Fast asynchronous PostgreSQL client library for Python and asyncioPython >= 3.8Yes, designed natively for asyncio without synchronous blocking operationsYes, ships with py.typed marker and type annotationsSQLAlchemy asyncio, Tortoise ORM, Gino, asyncpg-listenHigh-throughput asynchronous PostgreSQL operations in asyncio applications
pymysqlMIT LicenseCross-platform (Linux, macOS, Windows)Pure-Python client library for MySQL and MariaDB, based on PEP 249Python >= 3.8No, synchronous DB-API 2.0 driverPartial; available via third-party package types-PyMySQLSQLAlchemy, Django, cryptography, DB-API 2.0 toolsPure-Python MySQL connectivity without C compiler or client library dependencies
PyMongoApache License 2.0Cross-platform (Linux, macOS, Windows)Official Python driver and toolset for MongoDB databasesPython >= 3.9Yes, native async support in modern versions and Motor integrationYes, includes comprehensive inline typing and py.typed markerMotor, MongoEngine, PyMongoArrow, BSON toolsStandard MongoDB interactions and general document database connectivity in Python
MongoEngineMIT LicenseCross-platform (Linux, macOS, Windows)Document-Object Mapper for working with MongoDB from PythonPython >= 3.8No, operates synchronously on top of PyMongoPartial; limited native typing support across document fieldsFlask-MongoEngine, Marshmallow-MongoEngine, Django integration, PyMongoSynchronous applications needing declarative MongoDB document models and validation
pyodbcMIT LicenseCross-platform (Linux, macOS, Windows)Python DB-API 2.0 module for connecting to ODBC-accessible databasesPython >= 3.8No, synchronous DB-API 2.0 driverPartial; available via third-party package types-pyodbcSQLAlchemy, unixODBC, Microsoft ODBC drivers, FreeTDSAccessing enterprise databases like SQL Server via standard ODBC drivers
beanieApache License 2.0Cross-platform (Linux, macOS, Windows)Asynchronous Python ODM for MongoDB based on Motor and PydanticPython >= 3.8Yes, natively asynchronous built directly on top of MotorYes, built natively on Pydantic type annotationsFastAPI, Pydantic, Motor, MongoDB migrationsAsynchronous MongoDB applications using FastAPI and Pydantic schemas
pynamodbMIT LicenseCross-platform (Linux, macOS, Windows)Pythonic object-mapper interface for Amazon DynamoDBPython >= 3.8No, synchronous interface built over BotocoreYes, includes py.typed marker and model type annotationsBotocore, AWS SDK, Marshmallow, signalsDeclarative modeling and querying of Amazon DynamoDB tables in Python
mysqlclientGPLv2 LicenseCross-platform (Linux, macOS, Windows)C-extension MySQL and MariaDB client library implementing DB-API 2.0Python >= 3.8No, synchronous C-based DB-API 2.0 driverPartial; provided via third-party package types-mysqlclientDjango MySQL backend, SQLAlchemy, libmysqlclientHigh-performance MySQL and MariaDB database connectivity in Django and SQLAlchemy
psycopgLGPLv3 LicenseCross-platform (Linux, macOS, Windows)PostgreSQL database adapter for Python offering sync and async capabilitiesPython >= 3.8Yes, native async connection and cursor support via asyncioYes, fully type-annotated with PEP 484 and py.typedSQLAlchemy, Django, connection pooling (psycopg-pool), pgvectorModern PostgreSQL connectivity supporting concurrent sync, async, and binary protocols
sqlite-utilsApache License 2.0Cross-platform (Linux, macOS, Windows)CLI utility and Python library for manipulating SQLite databasesPython >= 3.8–Yes, includes type annotations in codebase––
pgvectorMIT LicenseCross-platform (Linux, macOS, Windows)Provides pgvector extension support and vector types for Python driversPython >= 3.10Yes, supports asyncpg and psycopg async connectionsYes, type annotated with strict mypy and pyright verificationSQLAlchemy, psycopg, asyncpg, Django, Peewee, NumPyVector similarity search and embedding storage in PostgreSQL with Python
cassandra-driverApache License 2.0Cross-platform (Linux, macOS, Windows)Official client driver for Apache Cassandra and DataStax EnterprisePython >= 3.8–Partial; limited inline typing annotationsCython, Twisted, Gevent, Eventlet, Apache CassandraDistributed high-throughput read and write operations on Cassandra clusters
clickhouse-driverMIT LicenseCross-platform (Linux, macOS, Windows)Python driver with native binary interface for ClickHouse databasePython >= 3.7No native async; available through external library asynchPartial; basic type annotations present without complete typing stubsCython, clickhouse-sqlalchemy, Pandas, NumPy, LZ4High-throughput binary protocol queries and ingestion into ClickHouse
apswzlib/libpng LicenseCross-platform (Linux, macOS, Windows)Python wrapper providing direct access to the SQLite C APIPython >= 3.8No, synchronous C-level bindings directly tracking SQLite C APIYes, full type hints and complete typing stub files includedSQLite C extensions, Virtual Table mechanism, custom VFSAdvanced SQLite features requiring direct C API access and custom extensions
clickhouse-connectApache License 2.0Cross-platform (Linux, macOS, Windows)Official ClickHouse client with HTTP interface, SQLAlchemy dialect, and Superset connectorPython >= 3.8No, synchronous client utilizing ClickHouse HTTP APIYes, type annotations provided across the codebasePandas, PyArrow, NumPy, Apache Superset, SQLAlchemyData science analytics workflows connecting ClickHouse to Pandas and Superset
mssql-pythonMIT LicenseCross-platform (Windows, Linux, macOS)Official Microsoft DB-API driver for SQL Server and Azure SQLPython >= 3.10No, synchronous PEP 249 DB-API implementationYes, provides type annotations compliant with DB-API specificationsSQLAlchemy dialect, Microsoft Entra ID, Apache ArrowConnecting Python to SQL Server and Azure SQL without external pyodbc setup

각 칸은 도구의 공식 사이트, 문서 또는 저장소에서 가져왔습니다. 페이지는 참고 자료에 있습니다.

측정 방법

Every library in the ORM and Database Drivers sections of the community list vinta/awesome-python on GitHub that has a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Refreshed every 6 hours. The Django ORM is left out (its repository is all of Django, see the web frameworks list).

참고 자료

  1. vinta/awesome-python: ORM and Database Drivers, GitHub community list (list text CC BY 4.0; star counts from the GitHub API). Checked 2026-11-30 18:09 UTC.
  2. vinta/awesome-python (ORM, Database Drivers), GitHub community list, 22 tools with a public repository.
  3. sqlmodel: licence, github.com, checked 2026-11-15.
  4. sqlmodel: platforms, pypi.org, checked 2026-11-15.
  5. sqlmodel: what it does, github.com, checked 2026-11-15.
  6. redis: licence, github.com, checked 2026-11-15.
  7. redis: platforms, pypi.org, checked 2026-11-15.
  8. redis: what it does, github.com, checked 2026-11-15.
  9. redis: python versions, github.com, checked 2026-11-15.
  10. sqlalchemy: licence, github.com, checked 2026-11-15.
  11. sqlalchemy: platforms, pypi.org, checked 2026-11-15.
  12. sqlalchemy: what it does, sqlalchemy.org, checked 2026-11-15.
  13. sqlalchemy: async support, docs.sqlalchemy.org, checked 2026-11-15.
  14. sqlalchemy: type hints, docs.sqlalchemy.org, checked 2026-11-15.
  15. peewee: licence, github.com, checked 2026-11-15.
  16. peewee: platforms, pypi.org, checked 2026-11-15.
  17. peewee: what it does, github.com, checked 2026-11-15.
  18. asyncpg: licence, github.com, checked 2026-11-15.
  19. asyncpg: platforms, pypi.org, checked 2026-11-15.
  20. asyncpg: what it does, github.com, checked 2026-11-15.
  21. pymysql: licence, github.com, checked 2026-11-15.
  22. pymysql: platforms, pypi.org, checked 2026-11-15.
  23. pymysql: what it does, github.com, checked 2026-11-15.
  24. PyMongo: licence, github.com, checked 2026-11-15.
  25. PyMongo: platforms, pypi.org, checked 2026-11-15.
  26. PyMongo: what it does, github.com, checked 2026-11-15.
  27. PyMongo: async support, pymongo.readthedocs.io, checked 2026-11-15.
  28. MongoEngine: licence, github.com, checked 2026-11-15.
  29. MongoEngine: platforms, pypi.org, checked 2026-11-15.
  30. MongoEngine: what it does, github.com, checked 2026-11-15.
  31. MongoEngine: plugins and ecosystem, mongoengine-odm.readthedocs.io, checked 2026-11-15.
  32. pyodbc: licence, github.com, checked 2026-11-15.
  33. pyodbc: platforms, pypi.org, checked 2026-11-15.
  34. pyodbc: what it does, github.com, checked 2026-11-15.
  35. Beanie: licence, github.com, checked 2026-11-15.
  36. Beanie: platforms, pypi.org, checked 2026-11-15.
  37. Beanie: what it does, github.com, checked 2026-11-15.
  38. Beanie: async support, beanie-odm.dev, checked 2026-11-15.
  39. PynamoDB: licence, github.com, checked 2026-11-15.
  40. PynamoDB: platforms, pypi.org, checked 2026-11-15.
  41. PynamoDB: what it does, github.com, checked 2026-11-15.
  42. PynamoDB: async support, pynamodb.readthedocs.io, checked 2026-11-15.
  43. mysqlclient: licence, github.com, checked 2026-11-15.
  44. mysqlclient: platforms, pypi.org, checked 2026-11-15.
  45. mysqlclient: what it does, github.com, checked 2026-11-15.
  46. psycopg: licence, github.com, checked 2026-11-15.
  47. psycopg: platforms, pypi.org, checked 2026-11-15.
  48. psycopg: what it does, psycopg.org, checked 2026-11-15.
  49. psycopg: async support, psycopg.org, checked 2026-11-15.
  50. psycopg: type hints, psycopg.org, checked 2026-11-15.
  51. sqlite-utils: licence, github.com, checked 2026-11-15.
  52. sqlite-utils: platforms, pypi.org, checked 2026-11-15.
  53. sqlite-utils: what it does, github.com, checked 2026-11-15.
  54. pgvector: licence, github.com, checked 2026-11-15.
  55. pgvector: platforms, pypi.org, checked 2026-11-15.
  56. pgvector: what it does, github.com, checked 2026-11-15.
  57. pgvector: python versions, github.com, checked 2026-11-15.
  58. cassandra-driver: licence, github.com, checked 2026-11-15.
  59. cassandra-driver: platforms, pypi.org, checked 2026-11-15.
  60. cassandra-driver: what it does, github.com, checked 2026-11-15.
  61. clickhouse-driver: licence, github.com, checked 2026-11-15.
  62. clickhouse-driver: platforms, pypi.org, checked 2026-11-15.
  63. clickhouse-driver: what it does, github.com, checked 2026-11-15.
  64. apsw: licence, github.com, checked 2026-11-15.
  65. apsw: platforms, pypi.org, checked 2026-11-15.
  66. apsw: what it does, rogerbinns.github.io, checked 2026-11-15.
  67. clickhouse-connect: licence, github.com, checked 2026-11-15.
  68. clickhouse-connect: platforms, pypi.org, checked 2026-11-15.
  69. clickhouse-connect: what it does, github.com, checked 2026-11-15.
  70. mssql-python: licence, github.com, checked 2026-11-15.
  71. mssql-python: platforms, pypi.org, checked 2026-11-15.
  72. mssql-python: what it does, github.com, checked 2026-11-15.
  73. mssql-python: python versions, learn.microsoft.com, checked 2026-11-15.