Skip to content

Direct Python

jug_lca_buildings can be used directly in Python.

Usage

The service can be imported and executed within a Python script.

Typical workflow:

  1. Load GeoJSON input.
  2. Pass the data to the service.
  3. Receive structured output.

Use cases

Direct Python execution is useful for:

  • integration into Python workflows,
  • testing without running a server,
  • batch processing scripts.

Notes

  • The same input structure is used as in the API.
  • Output structure is consistent with API responses.
  • Examples are available in the companion repository.