class documentation
Class for a Picoware application.
| Method | __del__ |
Cleanup resources when the App instance is deleted. |
| Method | __init__ |
Initialize the App from its manifest dictionary. |
| Method | __str__ |
Return a string representation of the application. |
| Property | authors |
Return the authors of the application. |
| Property | description |
Return the description of the application. |
| Property | download |
Return the download URL of the application. |
| Property | file |
Return the list of file downloads for the application. |
| Property | file |
Return the file structure of the application. |
| Property | github |
Return the GitHub URL of the application. |
| Property | icon |
Return the icon URL of the application. |
| Property | id |
Return the ID of the application. |
| Property | json |
Return a dictionary/JSON representation of the application. |
| Property | title |
Return the title of the application. |
| Property | version |
Return the version of the application. |
| Instance Variable | _authors |
List of authors of the application. |
| Instance Variable | _description |
Description of the application. |
| Instance Variable | _download |
URL to download the application. |
| Instance Variable | _file |
List of file downloads for the application. |
| Instance Variable | _file |
List of file paths in the application. |
| Instance Variable | _github |
GitHub URL of the application. |
| Instance Variable | _icon |
URL of the application's icon. |
| Instance Variable | _id |
Unique identifier of the application. |
| Instance Variable | _title |
Title of the application. |
| Instance Variable | _version |
Version of the application. |
Initialize the App from its manifest dictionary.
| Parameters | |
manifest:dict | App metadata including id, title, version, and authors. |
Return a string representation of the application.
| Returns | |
str | The application as "App(id=..., title='...', version='...')". |
Return the list of file downloads for the application.
- Each file download is represented as a dictionary with keys:
- "path": The path of the file within the application. (str)
- "download_url": The URL to download the file. (str)
- "file_id": The unique ID of the file. (int)
- "file_size": The size of the file in bytes. (int)