A .aep (After Effects Project) parser
Project description
aep_parser
An After Effects file parser in Python!
Explore the docs »
About The Project
This as a .aep (After Effects Project) parser in Python. After Effects files (.aep) are mostly binary files, encoded in RIFX format. This parser uses Kaitai Struct to parse .aep files and return a Project object containing items, layers, effects and properties. The API is as close as possible to the ExtendScript API, with a few nice additions like iterators instead of collection items.
Installation
pip install aep-parser
Usage
import aep_parser
# Parse an After Effects project
app = aep_parser.parse("path/to/project.aep")
project = app.project
# Access application-level info
print(f"AE Version: {app.version}")
# Access every item
for item in project:
print(f"{item.name} ({type(item).__name__})")
# Get a composition by name and its layers
comp = next(c for c in project.compositions if c.name == "Comp 1")
for layer in comp.layers:
print(f" Layer: {layer.name}, in={layer.in_point}s, out={layer.out_point}s")
# Access layer's source (for AVLayer)
if hasattr(layer, "source") and layer.source:
print(f" Source: {layer.source.name}")
# Get file path if source is footage with a file
if hasattr(layer.source, "file"):
print(f" File: {layer.source.file}")
# Access render queue
for rq_item in project.render_queue.items:
print(f"Render: {rq_item.comp_name}")
for om in rq_item.output_modules:
# Settings are a dict with ExtendScript keys
video_on = om.settings.get("Video Output", False)
print(f" Output: {om.name}, video={video_on}")
Roadmap
See the open issues for a full list of proposed features and known issues.
If you encounter a bug, please submit an issue and attach a basic scene to reproduce your issue.
Contributing
See the full Contributing Guide on GitHub.
License
Distributed under the MIT License.
Contact
Aurore Delaunay - del-github@blurme.net
Acknowledgments
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aep_parser-0.3.0.tar.gz.
File metadata
- Download URL: aep_parser-0.3.0.tar.gz
- Upload date:
- Size: 533.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84036dd219cbd4c6da588c4fde456c488bfda95534ebf0bee5248eb8ed7362bd
|
|
| MD5 |
e7684c92c4cb5bd4c2e1c4734ef73048
|
|
| BLAKE2b-256 |
2bde8bf999fddd353043a0f15760cca75c8cffa78ddc695bf34a57fb79d04c07
|
Provenance
The following attestation bundles were made for aep_parser-0.3.0.tar.gz:
Publisher:
release.yml on forticheprod/aep_parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aep_parser-0.3.0.tar.gz -
Subject digest:
84036dd219cbd4c6da588c4fde456c488bfda95534ebf0bee5248eb8ed7362bd - Sigstore transparency entry: 973500615
- Sigstore integration time:
-
Permalink:
forticheprod/aep_parser@978345ff892129cf8afca8ba4b24c0ee2bae9e63 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/forticheprod
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@978345ff892129cf8afca8ba4b24c0ee2bae9e63 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aep_parser-0.3.0-py3-none-any.whl.
File metadata
- Download URL: aep_parser-0.3.0-py3-none-any.whl
- Upload date:
- Size: 154.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa25a35666db12eb672f843a135a49902b4b5287118fea57294e24470385ca2f
|
|
| MD5 |
536b8bed605d47d1d03504a765b05838
|
|
| BLAKE2b-256 |
5795bd8fa5b84cf23bed32f11ac6481f98e2b442f9b8e82f4e1302fe74e69fea
|
Provenance
The following attestation bundles were made for aep_parser-0.3.0-py3-none-any.whl:
Publisher:
release.yml on forticheprod/aep_parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aep_parser-0.3.0-py3-none-any.whl -
Subject digest:
fa25a35666db12eb672f843a135a49902b4b5287118fea57294e24470385ca2f - Sigstore transparency entry: 973500617
- Sigstore integration time:
-
Permalink:
forticheprod/aep_parser@978345ff892129cf8afca8ba4b24c0ee2bae9e63 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/forticheprod
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@978345ff892129cf8afca8ba4b24c0ee2bae9e63 -
Trigger Event:
push
-
Statement type: