skillfed

Flask-Script

Scripting support for Flask

flask-script v2.0.6 424.9K downloads/30d#6,763 on PyPI671
Permissive license BSD Abandoned released

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-script

uv

uv add flask-script

poetry

poetry add flask-script

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules

Tags

flask command line interfaceflask script commandsflask cli decoratorsflask cronjob utilitiesflask management commands
deprecatedlegacy

More Python Modules packages