AVACloud is a web based Software as a Service (SaaS) offering for GAEB files.
The GAEB standard is a widely used format to exchange tenderings, bills of quantities and contracts both in the construction industry and in regular commerce. AVACloud uses the GAEB & AVA .Net Libraries and makes them available to virtually all programming frameworks via a web service.
This project here contains example code in Python to read and convert GAEB files. The client code is generated from the AVACloud Swagger Specification.
Please find here a step-by-step tutorial how to use the Python client.
Ensure that the client dependency is installed:
pip install git+https://github.com/Dangl-IT/avacloud-client-python.git
pip install requests
Tip: When installing the
avacloud-client-python
dependency, you can optionally use a fixed version instead of the latest by appending@{version}
at the end, e.g.pip install git+https://github.com/Dangl-IT/[email protected]
Execute the following command in the root directory of the project:
python hello_avacloud.py
At the top of the hello_avacloud.py
file, the following parameters must be defined by you:
client_id = 'use_your_own_value'
client_secret = 'use_your_own_value'
These are the credentials of your Dangl.Identity OAuth2 client that is configured to access AVACloud.
If you don't have values for ClientId
and ClientSecret
yet, you can check out the documentation for instructions on how to register for AVACloud and create an OAuth2 client.
This example app does three operations:
- The local GAEB file is transformed to Excel and saved next to the input file.
- The local GAEB file is converted to the unified Dangl.AVA format and printed to the console.
- A new GAEB file is created and saved in the project directory.
Note: There's also
hello_new_project.py
as an example that creates a new GAEB file from JSON input via AVACloud.