Skip to main content

A package for reading .aia files from App Inventor

Project description

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

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

parseaia-0.3.7.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

parseaia-0.3.7-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

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