BIM2RDF
Functionality used to convert building models in Speckle to ASHRAE S223 semantic models. The operationalized version will be on Speckle Automate.
Each top-level directory is a 'component' of the project. Furthermore, the following dependencies were extracted as generic stand-alone libraries: RDF-Engine, RDF-Rules, and JSON2RDF.
Development
Setup
> uv sync --all-packages
> uv run pre-commit install
# activate environment
> .venv/Scripts/activate
Make a .secrets.toml file with
[speckle]
token = "yourtoken"
In development, a .cache directory will be created in the working directory
to save expensive processing in general
but mainly to save Speckle query results.
Thus, the user must clear the cache to be able to access new data.
Process
Follow test instructions.
Usage
...is a three-step process:
- Get an ontology.
You can use the built-in process,
bim2rdf ontologies.import, to create an ontology ttl from a definition. - Create mappings.
- Execute. Configure with a params.yaml.
Interfaces
CLI
bim2rdf --help
Function
from bim2rdf import Run
# initialize with a db
from pyoxigraph import Store
db = Store()
r = Run(db)
# execute with desired options
help(Run.run)
Metadata
Release files for bim2rdf 2026.10.1885
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 |
|---|---|---|---|---|
| bim2rdf-2026.10.1885.tar.gz | 144.5 kB | With provenance | Details for bim2rdf-2026.10.1885.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bim2rdf-2026.10.1885-py3-none-any.whl | Python 3 | none | any | Details for bim2rdf-2026.10.1885-py3-none-any.whl |
Total release size: 177.4 kB
Release files / bim2rdf-2026.10.1885.tar.gz
| Download URL | bim2rdf-2026.10.1885.tar.gz |
|---|---|
| Size | 144.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c78c198ced88d0454b2fdb85e8f11cf932bb4873955b2f5eba3ac67e053d30e
|
|
BLAKE2b-256 checksum How to use checksums |
e461e00d241307ab88a27697332b39f89e971e8af74b9ab2784bc34218119a18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logRelease files / bim2rdf-2026.10.1885-py3-none-any.whl
| Download URL | bim2rdf-2026.10.1885-py3-none-any.whl |
|---|---|
| Size | 32.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17c155afbc1ad1606936084ac7a33d050dd3cebb0b85b38dfa135c82917f3683
|
|
BLAKE2b-256 checksum How to use checksums |
6eb6e651703a0a50ee5c813a46fb8f8009c2ea5ebe62ab40f758772d8e2869f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logSecurity for bim2rdf 2026.10.1885
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for bim2rdf-2026.10.1885.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 30, 2026.
Transparency logA 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.