15 best Python Database libraries in 2022
by Open Weaver kits ✔ Updated: Jun 17, 2022
Guide Kit
The Python database libraries are a set of packages that abstract away the complexity of database access, so you can focus on what your application requires. SQLmap is an open source tool that automates the process of finding vulnerabilities in web applications by listening on port 80 and searching for specific strings in web pages. It can be used to find any type of issue in the database and even inject commands into the application, resulting in a successful exploitation. But there are other tools like edgedb or sqlmodel that can help you automate the entire process of finding vulnerabilities in your database. Popular open source Python database libraries among developers include
sqlmapby sqlmapproject
Automatic SQL injection and database takeover tool
sqlmapby sqlmapproject
Python
26451
Version:1.7
License: Others (Non-SPDX)
fashion-mnistby zalandoresearch
A MNIST-like fashion product database. Benchmark :point_down:
fashion-mnistby zalandoresearch
Python
10660
Version:Current
License: Permissive (MIT)
qby harelba
q - Run SQL directly on delimited files and multi-file sqlite databases
qby harelba
Python
9799
Version:latest
License: Strong Copyleft (GPL-3.0)
edgedbby edgedb
A graph-relational database with declarative schema, built-in migration system, and a next-generation query language
edgedbby edgedb
Python
10690
Version:v2.12
License: Permissive (Apache-2.0)
sqlmodelby tiangolo
SQL databases in Python, designed for simplicity, compatibility, and robustness.
sqlmodelby tiangolo
Python
9579
Version:0.0.8
License: Permissive (MIT)
mindsdbby mindsdb
A low-code Machine Learning platform to help developers build #AI solutions
mindsdbby mindsdb
Python
14412
Version:v23.3.4.0
License: Strong Copyleft (GPL-3.0)
asyncpgby MagicStack
A fast PostgreSQL Database Client Library for Python/asyncio.
asyncpgby MagicStack
Python
5896
Version:v0.27.0
License: Permissive (Apache-2.0)
sqlalchemyby sqlalchemy
The Database Toolkit for Python
sqlalchemyby sqlalchemy
Python
6936
Version:rel_2_0_6
License: Permissive (MIT)
tinydbby msiemens
TinyDB is a lightweight document oriented database optimized for your happiness :)
tinydbby msiemens
Python
5699
Version:v4.7.1
License: Permissive (MIT)
bigchaindbby bigchaindb
Meet BigchainDB. The blockchain database.
bigchaindbby bigchaindb
Python
3969
Version:v2.2.2
License: Permissive (Apache-2.0)
dj-database-urlby jacobian
Use Database URLs in your Django Application.
dj-database-urlby jacobian
Python
1184
Version:Current
License: Permissive (BSD-2-Clause)
safety-dbby pyupio
A curated database of insecure Python packages
safety-dbby pyupio
Python
636
Version:Current
License: Others (Non-SPDX)
django-db-mailerby LPgenerator
Django module to easily send emails/sms/tts/push using django templates stored on database and managed through the Django Admin
django-db-mailerby LPgenerator
Python
241
Version:2.4.0
License: Strong Copyleft (GPL-2.0)
db-to-sqliteby simonw
CLI tool for exporting tables or queries from any SQL database to a SQLite file
db-to-sqliteby simonw
Python
292
Version:1.5
License: Permissive (Apache-2.0)
osrsbox-dbby osrsbox
A complete and up-to-date database of Old School Runescape (OSRS) items, monsters and prayers
osrsbox-dbby osrsbox
Python
191
Version:Current
License: Strong Copyleft (GPL-3.0)