semvec/pypi-packages huggingface dataset:
AppBundle 0.0.1
An AppBundle tool
Requires Python: >=3.6

# README

AppBundle tool implementation in python.

## **Prerequisite:**

```bash
- pyyaml (installation using pip: pip install pyyaml)
- python protobuf module (Installation using pip: pip install protobuf)
- python ecdsa module when signing and verifying (Installation using pip: pip install ecdsa)
```

## Brief:

This is a python tool which creates an Appbundle from application.fo, AppDescription.json etc.

It takes input from the configuration file and Manifest file in the project and creates AppDescription.json.

Configuration file consists of following parameters which are configurable by users.

1. Project path 

   For eg:

   ​       D:/MicroEJ-Apps/HelloWorld

   ​       where,

   ​                 HelloWorld is project name

2. Output (application.fo) path which depends on the project type:

   For eg:

   ​      Output/NetworkBridge/com.mycompany.helloworld.HelloWorld

   ​      Output/EIC/com.mycompany.helloworld.HelloWorld

3. Attributes of AppDesription.json file:

   For eg:

   ​      attributes:

   ​           diskspacerequired : 12

   ​           ramrequired : 7



### Configuration.yaml


```
#General Configuration of AppData and path from where file has to be copied

#Project Name 
projectname : "Launch-HelloWorld-NetworkBridge"

#Project Path
projectpath : "D:/MicroEJ-Apps/MicroEJ-Apps/HelloWorld"

#path from where application.fo file has to be copied                              
srcpathfofile : "Output/NetworkBridge/com.mycompany.helloworld.HelloWorld"

#parameters of Json File
property:
    platform : "LandisGyrNetworkBridge"

attributes:
    diskSpaceRequired : 12
    ramRequired : 2
    dailyDataTransfer : 14
    authStatus : 1
    hardwarePlatform : "HwPlatform"
    minimumAppOsVersion : "AppOsVer"
    permissions : [1,2]
```



###      Command :

​         Run the following command within the working folder:

​         	$ python AppBundle.py -g configuration.yaml



###  Output:   

Following files are created in the working directory as the output:

1.  AppBinary.tar
2. AppBundle.log
3. AppBundle.tar
4. AppBundle.tgz
5. AppDescription.json
6. AppDescription.pb
7. application.fo

​