This module extends the functionality of Maya's "AbcExport" command, to alleviate tedious string formatting and work easier with mayapy.
To install, download alembic_export.py and place it in a directory where Maya can find it.
import alembic_export
alembic_export.export("/output/path/for/alembicFile.abc")
Alembic export with Mayapy
$ "path/to/mayapy" "path/to/alembic_export.py" -mayaFile "path/to/mayaFile.mb" -alembicFile "/output/path/for/alembicFile.abc"