COF-Landscaper
Build covalent organic frameworks and explore how their layers stack.
COF-Landscaper gives experimental chemists a notebook workflow for turning molecular fragments into periodic framework models. For a 2D COF, it constructs a layer, varies the spacing and lateral displacement between layers, and ranks the sampled arrangements by energy. Relax the most promising candidates and compare their simulated powder X-ray diffraction (PXRD) patterns with your measurement. Several arrangements can give similar patterns, so use the comparison alongside other structural evidence.
Installation guide · Choose an example · Prepare building blocks · Documentation and data sources
Installation
Standard installation · Advanced installation
Examples
| Workflow | System | What you can do |
|---|---|---|
| Default notebook | ILCOF-1 | Build a layer, screen its stacking arrangements, relax the selected structures and compare PXRD with experiment. Start here. |
| Configurable notebook | ILCOF-1 | Choose the energy model, slip direction and sampling grid. The example screens 28 serrated arrangements. |
| 2D HPC driver and inputs | ILCOF-1 | Run the calculation on a cluster, then inspect the downloaded landscape, structures and diffraction patterns in the analysis notebook. |
| 3D driver and inputs | BP-COF-1 | Assemble the eight-connected bcu framework, relax the full cell and simulate PXRD. |
| Optional scaling notebook | COF-LZU-1 | Inspect peak offsets and explore an optional in-plane lattice adjustment using selected reflections. |
Prepare the building blocks
Start from the framework you want to model. Choose a topology, then divide the bonded framework into molecular fragments with the required number and arrangement of connections. Choose the cuts to preserve the chemistry that matters. Cutting a single bond next to an imine, for example, keeps the C=N bond and its intended E or Z geometry within one fragment.
Place one helium atom (He) on each side of a cut to mark where the opposite fragment should connect. These markers guide assembly and are removed when the fragments are joined. In ILCOF-1, the four-connected pyrene node joins a two-connected linker that retains both imines. Node XYZ · Linker XYZ
Prepare the XYZ files in Avogadro 2
- Draw or import each fragment with the intended bond orders and stereochemistry. Drawing molecules
- If the coordinates need preoptimisation, select UFF and run Extensions → Optimize Geometry. Force-field settings
- Once the geometry is ready, add one He per connection along the intended bond direction, replacing any capping hydrogen at that site.
- Export each fragment as XYZ via File → Export → Molecule…. Put nodes in
0_node/and any linkers in0_linker/. Exporting molecules
Inspect the bond geometry at the joins and check for clashes in the assembled layer before scanning its stacking arrangements.
Supported 2D topologies
Each entry gives the number of distinct XYZ files × He markers per file. The two binary topologies join the two node types directly.
| Topology | Keyword | Nodes | Linkers |
|---|---|---|---|
| Honeycomb | hcb |
1 × 3 | 1 × 2 |
| Square lattice | sql |
1 × 4 | 1 × 2 |
| Kagome | kgm |
1 × 4 | 1 × 2 |
| Binary honeycomb | hcb_ab |
2 × 3 | None |
| Binary square lattice | sql_ab |
2 × 4 | None |
For a 3D example, BP-COF-1 uses an eight-connected node and a two-connected linker on the bcu net. 3D configuration
Documentation and data sources
Use this README and the example notebooks for practical instructions and guidance on interpreting results. The API reference on Read the Docs is under development. Example workflows · Read the Docs
The example data record lists the framework publications, experimental PXRD sources and wavelengths, and the origin of the computational results. Example data sources
Citation and contact
When reporting results, cite Gregor Lauter, COF-Landscaper (software) with the version you used and the repository URL. Also cite the experimental data and energy model used in your study. Software repository · Version tags
Report software problems on GitHub Issues. For help preparing fragments, using the workflow or discussing a collaboration, contact Gregor Lauter.
Development
From a source checkout with uv and just installed, set up the developer environment and run the repository checks. The package is distributed under the MIT licence.
just setup
just check
Metadata
Release files for cof-landscaper 2026.11.26.0
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 |
|---|---|---|---|---|
| cof_landscaper-2026.11.26.0.tar.gz | 3.5 MB | Without provenance | Details for cof_landscaper-2026.11.26.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cof_landscaper-2026.11.26.0-py3-none-any.whl | Python 3 | none | any | Details for cof_landscaper-2026.11.26.0-py3-none-any.whl |
Total release size: 3.6 MB
Release files / cof_landscaper-2026.11.26.0.tar.gz
| Download URL | cof_landscaper-2026.11.26.0.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a46a8a06b1e31923e2dd55e063f3fe3423382d23b4ce4f035ec2b1cb3d51ec7
|
|
BLAKE2b-256 checksum How to use checksums |
f625adbf86a1ebe435d42ed0733eeaf56b1b5f579818df24438eb4980c7896e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / cof_landscaper-2026.11.26.0-py3-none-any.whl
| Download URL | cof_landscaper-2026.11.26.0-py3-none-any.whl |
|---|---|
| Size | 96.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c900580c2b98847c4e96227a376f20da54cd7fac4091665faadc1c269034d9d
|
|
BLAKE2b-256 checksum How to use checksums |
384301d7cabb19c3960f2aae5f82f058776ba3353ade579b08ca6450b04fd5a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for cof-landscaper 2026.11.26.0
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.