$npx skillfedfor your agent

peewee-migrate

Support for migrations in Peewee ORM

Worth itPyPI Python ModulesReleased Mar 2026229.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — peewee_migrate-1.15.0-py3-none-any.whl
v1.15.0 · released 2026-03-12 · Python <4,>=3.10 · 2 runtime deps: peewee, click

Yes. Peewee Migrate is actively maintained, has no known vulnerabilities, and provides a straightforward migration workflow for Peewee ORM users. The low install friction and permissive MIT license make it a practical choice for projects using Peewee. Install it if you need reliable schema versioning for a Peewee application.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires peewee >= 3.10 and Python >= 3.10; migration files must define a migrate() function in the migrations directory.
  • Low install friction with a pure-Python wheel distribution.
  • The package is actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute the package freely provided you include the license notice.

last release 2026-03-12 (155 days) · last repo commit 2026-04-14 · 379 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 229,713 downloads/mo, #9,125 on PyPI

Verify before relying

pip install peewee-migrate

from peewee_migrate import Router
from peewee import SqliteDatabase

router = Router(SqliteDatabase('test.db'))
router.create('migration_name')
router.run()
  • Whether autodiscovery of model changes works reliably across all project structures and import patterns.
  • Performance characteristics when managing large numbers of migrations or complex schema changes.
Same gist for agents: .md · .json

What it is and what it does

Peewee Migrate is a migration management tool for Peewee ORM that handles database schema versioning through timestamped migration files. It works by storing migration state in your database and applying or rolling back changes in order, supporting both automatic schema detection and manual migration writing.

You can use it either as a command-line tool (pw_migrate) or programmatically via the Router class. The package handles the common workflow of creating new migrations, running pending migrations, and rolling back applied migrations. It integrates with click for CLI functionality and depends only on peewee itself, keeping the dependency footprint minimal.

Use it for

  • Track and version database schema changes across development, staging, and production environments.
  • Automatically generate migration files by scanning model definitions for changes.
  • Roll back failed migrations or revert to earlier schema versions when needed.
  • Manage migrations for Peewee-based applications without manual SQL scripting.
  • Integrate migrations into deployment pipelines via the command-line interface.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Peewee Migrate is actively maintained, has no known vulnerabilities, and provides a straightforward migration workflow for Peewee ORM users. The low install friction and permissive MIT license make it a practical choice for projects using Peewee. Install it if you need reliable schema versioning for a Peewee application.

Install

peewee-migrate on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and no known vulnerabilities. Requires peewee >= 3.10 and Python >= 3.10.

Requires peewee >= 3.10 and Python >= 3.10; migration files must define a migrate() function in the migrations directory.

License in practice

MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute the package freely provided you include the license notice.

Quickstart

pip install peewee-migrate

from peewee_migrate import Router
from peewee import SqliteDatabase

router = Router(SqliteDatabase('test.db'))
router.create('migration_name')
router.run()

Verify before relying

  • Whether autodiscovery of model changes works reliably across all project structures and import patterns.
  • Performance characteristics when managing large numbers of migrations or complex schema changes.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
peeweeclick
MaintenanceActively maintained 155 days since the last release
Last repo commit
First released
Downloads229,713 / month, #9,125 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Evidence: peewee_migrate-1.15.0-py3-none-any.whl

Tags

Capabilities
peewee database migrationsorm migration tooldatabase schema versioningpeewee migration cliautomatic schema generationdatabase rollback managementpeewee migration engine
Topics
database-migrationspeewee-ormschema-versioning
PyPI keywords
peeweemigrationsorm

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 › “peewee database migrations”

  • peewee-migratePeewee Migrate provides a command-line and programmatic interface for…
  • types-peeweeProvides type annotations for the peewee ORM library, enabling type…
  • peeweePeewee is a lightweight ORM that maps Python classes to database…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also peewee · yoyo-migrations · Flask-Migrate · aerich · sqlite-migrate · django-test-migrations · sqlalchemy-migrate · Flask-Alembic · alembic · mongodb-migrations