.. _alembic.script.toplevel:

================
Script Directory
================

The :class:`.ScriptDirectory` object provides programmatic access
to the Alembic version files present in the filesystem.

.. automodule:: alembic.script
    :members:

Revision
========

The :class:`.RevisionMap` object serves as the basis for revision
management, used exclusively by :class:`.ScriptDirectory`.

.. automodule:: alembic.script.revision
    :members:

Write Hooks
===========

.. automodule:: alembic.script.write_hooks
    :members:
