ged_building_layout
Ged_building_layout is a research-oriented Python library for comparing spatial layouts and human behavioral patterns using function-aware graph representations.
It can also be used independently to construct graph representations of complex architectural layouts with open spaces and to extract layout prototypes from such configurations.
Key features
- Step-wise pipeline (Step0–Step5) for reproducible experiments
- Layout graph representation for complex open-space buildings
- Prototype extraction via community detection (e.g., Infomap)
- Toged / nged / Faged computation + retrieval ranking outputs
- Designed for architectural research workflows
Installation
pip install ged-building-layout
Minimal example (layout graph → CaG)
from ged_building_layout import run_step2_then_step3, Step3Config
run_step2_then_step3(
json_folder="DATA_ROOT/json",
step2_output_folder="OUTPUT_ROOT/step2_basegraphs",
step3_output_root="OUTPUT_ROOT/step3_transform/variants",
step3_selected_folder="OUTPUT_ROOT/step3_transform/selected",
step3_cfg=Step3Config(),
save_png_step2=True,
save_selection_csv_step3=True,
)
Full pipeline example (Step0–Step5)
The complete step-by-step notebook and documentation are hosted on GitHub:
- GitHub repository: https://github.com/songguoarchitect/ged-building-layout
- Example notebook:
quick_start.ipynb
Note: PyPI does not reliably render local images (relative paths).
We keep the PyPI page concise and place full visuals/examples on GitHub.
Data availability
A small example dataset (5 samples) is included for demonstration.
The complete dataset (150 images) is not publicly released due to data usage agreements.
Citation
If you use this pipeline in academic work, please cite:
@article{GuoKeeZhuang2026,
title = {A Function-Aware Graph-Based Layout Retrieval for Open-space Libraries},
author = {Guo, Song and Kee, Tris and Zhuang, Weimin},
journal = {Automation in Construction},
year = {2026}
}
License
MIT License.
Metadata
Release files for ged-building-layout 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ged_building_layout-0.2.1.tar.gz | 25.6 kB | Without provenance | Details for ged_building_layout-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ged_building_layout-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for ged_building_layout-0.2.1-py3-none-any.whl |
Total release size: 56.6 kB
Release files / ged_building_layout-0.2.1.tar.gz
| Download URL | ged_building_layout-0.2.1.tar.gz |
|---|---|
| Size | 25.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05cecab383e2a82faca6570bf57cc5e0a03bc38e3af65803070c7dd6ef69bdb7
|
|
BLAKE2b-256 checksum How to use checksums |
1e8a3263c58e15b1836d5a1074806c56ce8a44abd9dca2c1cc1faa04f1b8a26c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / ged_building_layout-0.2.1-py3-none-any.whl
| Download URL | ged_building_layout-0.2.1-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f64844d13f625e1bd73191fc051ec19e54f634e8b2a583dcb604c0d7bf11e03d
|
|
BLAKE2b-256 checksum How to use checksums |
e0520addbe06720bdecf7cdc20c53826302aff63d385c689330dab05de5e786e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Security for ged-building-layout 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.