fastxtend (fastai extended) is a collection of tools, extensions, and addons for fastai


To install, run:

pip install fastxtend

Or to create an editable install:

git clone
cd fastxtend
pip install -e ".[dev]"


fastxtend requires fastai to be installed. See for installation instructions.

To install with dependencies for vision, audio, or all tasks run one of:

pip install fastxtend[vision]

pip install fastxtend[audio]

pip install fastxtend[all]


Like fastai, fastxtend provides safe wildcard imports using python’s __all__.

from import *
from import *

In general, import fastxtend after all fastai imports, as fastxtend modifies fastai. Any method modified by fastxtend is backwards compatible with the original fastai code.