prisma
Prisma Client Python is an auto-generated and fully type-safe database client
Decision gist · record as of 2026-08-14
Yes-with-conditions. Prisma Client Python is well-designed and offers genuine advantages in type safety and autocompletion if your team uses Pylance/Pyright. However, the repository is archived and abandoned—install only if you are maintaining an existing project or willing to fork and maintain it yourself. For new projects, strongly consider an actively maintained alternative like SQLAlchemy or Tortoise ORM to avoid future compatibility and security risks.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Prisma schema file (schema.prisma) in your project root defining data models and database connection; the repository is archived and no longer maintained.
- Low install friction with a pure-Python wheel and ten runtime dependencies.
- However, the repository is archived and marked abandoned as of the fact sheet date, with the last commit in April 2025 and no active maintenance—a significant concern for a database tool where schema compatibility and bug fixes matter.
License · maintenance · safety
APACHE (permissive) — Licensed under Apache 2.0 (permissive), which allows commercial and private use without restriction, though you should verify compatibility with your project's license stack.
last release 2024-08-16 (728 days) · last repo commit 2025-04-10 · 2,098 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 865,075 downloads/mo, #4,865 on PyPI
Alternatives
Verify before relying
pip install prisma
# Create schema.prisma with your models, then:
prisma db push
# In your code:
import asyncio
from prisma import Prisma
async def main():
db = Prisma()
await db.connect()
user = await db.user.create(data={'name': 'Alice', 'email': 'alice@example.com'})
await db.disconnect()
asyncio.run(main())- Whether the abandoned status affects real-world stability or if the package remains functional for existing projects.
- Current compatibility with modern Python 3.12+ and recent database driver versions.
- Whether security patches or critical bug fixes are still being backported or if the codebase is truly frozen.
What it is and what it does
Prisma Client Python is a code-generated ORM that reads a declarative schema file and produces a fully type-hinted database client. Unlike traditional ORMs where you write queries in Python, Prisma generates the client from your schema, enabling IDE autocompletion and compile-time type checking. It supports both async and sync workflows, atomic updates, relational queries, and batching, with backends for PostgreSQL, MySQL, SQLite, CockroachDB, and experimental support for MongoDB and SQL Server.
The package is built on Rust-based Prisma internals but requires no Node.js or TypeScript knowledge—you define your models in a simple schema language and run `prisma db push` to sync and generate. However, the repository is now archived and abandoned, with the last commit in April 2025 and no ongoing maintenance. This means no new features, no active bug fixes, and potential incompatibility with future Python or database versions.
Use it for
- Building REST or GraphQL APIs where type safety and IDE autocompletion for database queries reduce errors and development time.
- Projects requiring both async and sync database access patterns without switching ORMs or writing dual code paths.
- Applications needing schema-driven migrations and type-safe relational queries across PostgreSQL, MySQL, or SQLite.
- Teams using Pylance or Pyright where Prisma's autocompletion support provides a significant developer experience advantage.
- Prototyping or maintaining existing Prisma Python projects, though new projects should consider actively maintained alternatives.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes-with-conditions.
Prisma Client Python is well-designed and offers genuine advantages in type safety and autocompletion if your team uses Pylance/Pyright. However, the repository is archived and abandoned—install only if you are maintaining an existing project or willing to fork and maintain it yourself. For new projects, strongly consider an actively maintained alternative like SQLAlchemy or Tortoise ORM to avoid future compatibility and security risks.
Install
prisma on PyPI
Before you install
Low install friction with a pure-Python wheel and ten runtime dependencies. However, the repository is archived and marked abandoned as of the fact sheet date, with the last commit in April 2025 and no active maintenance—a significant concern for a database tool where schema compatibility and bug fixes matter.
Requires a Prisma schema file (schema.prisma) in your project root defining data models and database connection; the repository is archived and no longer maintained.
License in practice
Licensed under Apache 2.0 (permissive), which allows commercial and private use without restriction, though you should verify compatibility with your project's license stack.
Quickstart
pip install prisma
# Create schema.prisma with your models, then:
prisma db push
# In your code:
import asyncio
from prisma import Prisma
async def main():
db = Prisma()
await db.connect()
user = await db.user.create(data={'name': 'Alice', 'email': 'alice@example.com'})
await db.disconnect()
asyncio.run(main())
Verify before relying
- Whether the abandoned status affects real-world stability or if the package remains functional for existing projects.
- Current compatibility with modern Python 3.12+ and recent database driver versions.
- Whether security patches or critical bug fixes are still being backported or if the codebase is truly frozen.
Package facts
| License | APACHE permissive |
| Python support | Supports the current Python release >=3.8.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packageshttpxjinja2pydanticclickpython-dotenvtyping-extensionstomlkitnodeenvStrEnumcached-property |
| Maintenance | Abandoned 728 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 865,075 / month, #4,865 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Database :: Database Engines/ServersTopic :: Database :: Front-EndsTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: prisma-0.15.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type-safe ORM Python”
- prismaPrisma Client Python is a type-safe ORM that generates a fully typed…
- dyntasticDyntastic is a DynamoDB object-relational mapper built on Pydantic…
- pydantic-mongoProvides a Repository pattern for MongoDB with Pydantic model…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also prisma-sase · tortoise-orm · sqlalchemy-cockroachdb · ormar · sqlalchemy-jdbcapi · sqlmodel · databases · pysqlsync · pony · marshmallow-sqlalchemy