Skip to main content

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.

(back to top)

Installation

uv (recommended)

uv add aep-parser

pip

pip install aep-parser

(back to top)

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}")

(back to top)

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.

(back to top)

Contributing

See the full Contributing Guide on GitHub.

(back to top)

License

Distributed under the MIT License.

(back to top)

Contact

Aurore Delaunay - del-github@blurme.net

(back to top)

Acknowledgments

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aep_parser-0.5.1.tar.gz (813.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aep_parser-0.5.1-py3-none-any.whl (241.8 kB view details)

Uploaded Python 3

File details

Details for the file aep_parser-0.5.1.tar.gz.

File metadata

  • Download URL: aep_parser-0.5.1.tar.gz
  • Upload date:
  • Size: 813.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aep_parser-0.5.1.tar.gz
Algorithm Hash digest
SHA256 0a3a29308d6d8d19a585e1e77e4706db5d67cdf41c81cf7b1721b4e29dd659d1
MD5 923b30dfbf2e400fd3bc19a7f83c9c99
BLAKE2b-256 b56d887dc4afd2ff3d9d6a7b3037deb2ad6ef224040c17d0f4e5e3e1191052a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for aep_parser-0.5.1.tar.gz:

Publisher: release.yml on forticheprod/aep_parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aep_parser-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: aep_parser-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 241.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aep_parser-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1cb80a8a487aef053f20e9b235b386cd399f1e9de2a62c6178ec9f8e961ff39
MD5 0df7b5be2a9a007ae9e946a0b8de4d36
BLAKE2b-256 aab91969bd00c248ca6d5dc596c27c0e6c629c756c9cc546fb7c3139040a1fcd

See more details on using hashes here.

Provenance

The following attestation bundles were made for aep_parser-0.5.1-py3-none-any.whl:

Publisher: release.yml on forticheprod/aep_parser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page