Flask-Script
Scripting support for Flask
What it is and what it does
Flask-Script is a deprecated utility library that adds command-line scripting capabilities to Flask applications. It provides decorators and helper classes to define custom management commands that run outside the web server context—useful for administrative tasks, scheduled jobs, and one-off scripts. The package has been abandoned since 2017, with the repository now archived and no active development.
Flask itself incorporated command-line tooling as of version 0.11, making Flask-Script largely obsolete. While the maintainers accept pull requests, they explicitly recommend evaluating Flask's built-in CLI before adopting this package. If you are working with an existing Flask-Script codebase or have specific legacy requirements, the package remains available, but new projects should consider Flask's native CLI support instead.
Use it for:
- Manage administrative tasks in legacy Flask applications that predate Flask's built-in CLI
- Run scheduled cronjobs or batch operations tied to a Flask application context
- Define custom management commands for database migrations or data seeding in older Flask projects
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Flask-Script provides command-line interface decorators and utilities for Flask applications, enabling you to write custom script commands for tasks outside your web application.
No. The package is abandoned (last release 2017-09-06, repository archived since 2020-03-09), and Flask has included a built-in CLI tool since version 0.11 that supersedes Flask-Script. Install only if maintaining legacy code that already depends on it; for new projects, use Flask's native CLI support.
Install
flask-script on PyPI
pip
pip install flask-scriptuv
uv add flask-scriptpoetry
poetry add flask-scriptInstalling Flask-Script
Before you install
High install friction due to age and abandonment. The repository is archived, last commit was 2020-03-09, and the maintainers explicitly state they are not actively developing features.
License in practice
BSD license is permissive, imposing no significant restrictions on use or redistribution.
Quickstart
pip install Flask-Script==2.0.6
from flask_script import Manager
manager = Manager(app)
manager.run()
Requires Flask framework to be installed and configured; package is abandoned and no longer maintained
Verify before relying
- Whether the package works reliably with modern Python versions beyond 3.5
- Whether Flask's built-in CLI fully replaces Flask-Script's functionality for your use case
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,264 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 424,923/month — #6,763 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Flask-Script-2.0.6.tar.gz
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
Flask-MigrateFlask-Migrate handles SQLAlchemy database…
permissive · top 5,000 on PyPI
flask-restplusFlask-RESTPlus adds decorators and tools to…
permissive · top 15,000 on PyPI
Flask-TestingProvides unit testing utilities and helpers for…
permissive · top 15,000 on PyPI
Flask-RESTfulFlask-RESTful provides decorators and utilities…
permissive · top 5,000 on PyPI
Flask-SQLAlchemyFlask-SQLAlchemy integrates SQLAlchemy database…
permissive · top 1,000 on PyPI
Flask-SecurityFlask-Security adds authentication,…
permissive · top 15,000 on PyPI
django-crontabIntegrates system crontab scheduling into…
permissive · top 15,000 on PyPI
flask-appbuilderFlask App Builder is a framework that generates…
permissive · top 5,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
Flask-SessionFlask-Session adds server-side session storage…
permissive · top 5,000 on PyPI