Python bindings for cityjson-lib
Project description
Python Binding
This directory contains the cityjson-lib Python package built on top of the
shared low-level C ABI.
The binding stays intentionally small:
ctypesloading of the shared libraryCityModelwrappers over native handles- typed authoring classes for
Value,Contact,CityObjectDraft,RingDraft,SurfaceDraft,ShellDraft, andGeometryDraft - typed resource IDs for semantics, materials, textures, geometries, templates, and cityobjects
- probe, parse, serialize, create, summary, and stream helpers
- smoke tests that exercise the published surface
The package is publishable to PyPI as cityjson-lib. The build step compiles
the shared Rust FFI core and bundles the native library into the wheel and
source distribution.
The main end-to-end Python reference is
examples/fake_complete.py, which builds the full
cityjson_fake_complete.city.json fixture through the public Python API.
The package follows the same MIT-or-Apache-2.0 licensing as the Rust crates.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cityjson_lib-0.6.1.tar.gz.
File metadata
- Download URL: cityjson_lib-0.6.1.tar.gz
- Upload date:
- Size: 304.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57a3db1bda907915c43532102b2677e560394ba38e9ee9463fa3c71832373410
|
|
| MD5 |
9a3e72e0a5ff13b16cb97b5b60cd0c35
|
|
| BLAKE2b-256 |
13822b9ed023ec435689fa5d1119c1444b3eb26d180bc64b33109c5e0fc81a86
|
Provenance
The following attestation bundles were made for cityjson_lib-0.6.1.tar.gz:
Publisher:
release.yml on 3DGI/cityjson-lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cityjson_lib-0.6.1.tar.gz -
Subject digest:
57a3db1bda907915c43532102b2677e560394ba38e9ee9463fa3c71832373410 - Sigstore transparency entry: 1357877754
- Sigstore integration time:
-
Permalink:
3DGI/cityjson-lib@8a4640639c839c5c3035aae9b21e0cfab83de693 -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/3DGI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8a4640639c839c5c3035aae9b21e0cfab83de693 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cityjson_lib-0.6.1-py3-none-any.whl.
File metadata
- Download URL: cityjson_lib-0.6.1-py3-none-any.whl
- Upload date:
- Size: 4.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a9e25c37ac06da4af5795fe93c03b121e12fd2302f7177ddc643c6a773277b7
|
|
| MD5 |
167cbd649ba8fe67ca8f78037897f451
|
|
| BLAKE2b-256 |
9b4e47ff24498ad97c65bff6fe54c7de1b32dba449b663ed8e8e1714c03cf2c2
|
Provenance
The following attestation bundles were made for cityjson_lib-0.6.1-py3-none-any.whl:
Publisher:
release.yml on 3DGI/cityjson-lib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cityjson_lib-0.6.1-py3-none-any.whl -
Subject digest:
6a9e25c37ac06da4af5795fe93c03b121e12fd2302f7177ddc643c6a773277b7 - Sigstore transparency entry: 1357877965
- Sigstore integration time:
-
Permalink:
3DGI/cityjson-lib@8a4640639c839c5c3035aae9b21e0cfab83de693 -
Branch / Tag:
refs/tags/v0.6.1 - Owner: https://github.com/3DGI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8a4640639c839c5c3035aae9b21e0cfab83de693 -
Trigger Event:
push
-
Statement type: