API Reference¶
Welcome to the AEP Parser API reference. This section provides detailed documentation for all modules, classes, and functions in the library.
Main Entry Point¶
The primary function you'll use is:
parse_project
¶
parse_project(aep_file_path: str | PathLike[str]) -> Project
Parse an After Effects (.aep) project file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aep_file_path
|
str | PathLike[str]
|
path to the project file |
required |
Source code in src/aep_parser/parsers/project.py
Core Modules¶
Project¶
The main Project dataclass containing all project information.
Items¶
Project items represent different types of content in the project panel:
- Base Item - Base class for all items
- Composition - Composition items
- Footage - Footage items
- Folder - Folder items
Layers¶
Layers are the building blocks of compositions:
- Base Layer - Base class for all layers
- AV Layer - Audio/Video layers
- Text Layer - Text layers
- Shape Layer - Shape layers
- Camera Layer - Camera layers
- Light Layer - Light layers
Properties¶
Properties control layer appearance and behavior:
- Property - Individual properties
- Property Group - Property containers
- Keyframe - Animation keyframes
- Marker - Timeline markers
Sources¶
Sources provide the content for footage items:
- File Source - File-based sources
- Solid Source - Solid color sources
- Placeholder Source - Placeholder sources
Enums¶
Enumerations for various After Effects settings and modes.
Parsers¶
Internal parsing functions for converting binary data to Python objects.