Skip to main content

A package for working with After Effects AEP files.

Project description

py_aep

py_aep is a Python package for working with After Effects AEP files.

Explore the docs »

About

After Effects files (.aep) are mostly binary files, encoded in RIFX format. This package uses Kaitai Struct to parse .aep files and return an Application object containing a project, items, layers, effects and properties. The API is as close as possible to the ExtendScript API, with a few nice additions like iterators.

Features

Supported

  • Reading .aep files
  • project items, compositions, layers, effects, properties and keyframes
  • shapes, masks, text documents, markers
  • render queue items, output modules, render settings and output module settings
  • interpolation between keyframe values
  • Modifying most properties and saving to a new .aep file

Limited support

  • Essential graphics: controllers and overrides can be accessed but are not linked together
  • Output Module settings: switching to another format (e.g. mov -> OpenEXR) is not possible yet
  • Footage source: the file path cannot be changed yet
  • Properties that are synthesized by After Effects at runtime and not stored in the binary are supported but some might be missing or inaccurate
  • Many Text layers attributes are missing

Not supported

  • Adding or removing items such as compositions, folders, items, keyframes, output modules, render queue items, etc.
  • Gradients
  • Proxy sources
  • Expression evaluation
  • Runtime things such as System information, preferences, available color spaces, render templates, UI state, etc.

Installation

uv (recommended)

uv add py-aep

pip

pip install py-aep

Getting started

import py_aep

app = py_aep.parse("myproject.aep")
project = app.project
comp = project.compositions[0]

# Modify composition settings
comp.frame_rate = 24

# Modify a layer property
comp.layers[0].transform.opacity.value = 50

# Save to a new file
project.save("modified.aep")

For more examples, see the Quick Start guide.

Roadmap

See the open issues for a 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.

Contact

Aurore Delaunay - del-github@blurme.net

Acknowledgments

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

py_aep-0.7.2.tar.gz (834.1 kB view details)

Uploaded Source

Built Distribution

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

py_aep-0.7.2-py3-none-any.whl (318.0 kB view details)

Uploaded Python 3

File details

Details for the file py_aep-0.7.2.tar.gz.

File metadata

  • Download URL: py_aep-0.7.2.tar.gz
  • Upload date:
  • Size: 834.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for py_aep-0.7.2.tar.gz
Algorithm Hash digest
SHA256 2819566451f702f3c365ca82e22342222b1ee4149dd93867ab01d2174bd74fee
MD5 c24eaf4f4be92dd5e54aa503b5b64c05
BLAKE2b-256 a48d325f693ca743dbcd22009525b5e2f650a96417aa6a2a590803c1226e293c

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_aep-0.7.2.tar.gz:

Publisher: release.yml on forticheprod/py-aep

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

File details

Details for the file py_aep-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: py_aep-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 318.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for py_aep-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6fb8bddc5ed5a63eb765310348ae415bdccce6e1088e4901a757f8ed8f9add27
MD5 d506b014f5bf24de8d9d8c1c8af3ffc3
BLAKE2b-256 72a2022ad7126667f6a4c60548581efb40648e6f4e6158486ab86a9015857b98

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_aep-0.7.2-py3-none-any.whl:

Publisher: release.yml on forticheprod/py-aep

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