Skip to main content

Parse .AIA

This is a python library for extracting code, UI data, images and assets from .AIA files (App Inventor Projects).

Basic Explanation

The library works by extracting all of the data from an app inventor project. The one class you'll need is parseaia.Project, it represents one app inventor project.

Quick Example:

from parseaia import Project

myproject = Project("MyApp.aia") # Initiate a Project with the filepath to the .aia

print(myproject.Screen1.UI.Properties.Components) # Printing out all the UI elements

This example prints out all the UI elements in the screen "Screen1" (The default screen name when you create an app in app inventor, most apps will have it)

GUI

There is also an inspector GUI for exploring app inventor projects

You'll need PyQt5 to run it: pip install PyQt5

Then you can run: python -m parseaia

To open a file, just press File>Open and then select the .aia you want to open

TODO

  • Add some more error catching
  • Add support for video files

Links

Release files for parseaia 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parseaia 0.3.7
File Size Uploaded
parseaia-0.3.7.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for parseaia 0.3.7
File Interpreter ABI Platform
parseaia-0.3.7-py3-none-any.whl Python 3 none any Details

Total release size: 20.8 kB

Release files / parseaia-0.3.7.tar.gz

Download URL parseaia-0.3.7.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4d753c239291b12f8a08608c3f1a8070c1bf43ddfa37fa0db143742492cae61e
BLAKE2b-256 checksum
How to use checksums
f173bdaa95fa8ebb045691feb8e2e2827f1e8d8cda0dfd7a3da87f7ed5586d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Release files / parseaia-0.3.7-py3-none-any.whl

Download URL parseaia-0.3.7-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34b363b627992aec33c6a13b916f29cafd81bcd508f7e7f9d293d56c7dae6b9f
BLAKE2b-256 checksum
How to use checksums
1b18f7e96c440e089c8b1d8aa5c3f4cdd4474d5a046fcd78e501f050eb0c3625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.3.7 This release

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page