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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file parseaia-0.3.7.tar.gz.

File metadata

  • Download URL: parseaia-0.3.7.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for parseaia-0.3.7.tar.gz
Algorithm Hash digest
SHA256 4d753c239291b12f8a08608c3f1a8070c1bf43ddfa37fa0db143742492cae61e
MD5 f97ce3d36180f25727c4d79751f38248
BLAKE2b-256 f173bdaa95fa8ebb045691feb8e2e2827f1e8d8cda0dfd7a3da87f7ed5586d6c

See more details on using hashes here.

File details

Details for the file parseaia-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: parseaia-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for parseaia-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 34b363b627992aec33c6a13b916f29cafd81bcd508f7e7f9d293d56c7dae6b9f
MD5 1dc4dcc63aa55882a68ae80498249a8a
BLAKE2b-256 1b18f7e96c440e089c8b1d8aa5c3f4cdd4474d5a046fcd78e501f050eb0c3625

See more details on using hashes here.

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