Skip to main content

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:

  • ctypes loading of the shared library
  • CityModel wrappers over native handles
  • probe, parse, serialize, create, and summary helpers
  • metadata, cityobject ID, geometry-type, and geometry access
  • 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.

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

cityjson_lib-0.4.0.tar.gz (180.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cityjson_lib-0.4.0-py3-none-any.whl (893.0 kB view details)

Uploaded Python 3

File details

Details for the file cityjson_lib-0.4.0.tar.gz.

File metadata

  • Download URL: cityjson_lib-0.4.0.tar.gz
  • Upload date:
  • Size: 180.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for cityjson_lib-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8816ed81f89ed3a41f781fb68cdb6037ae49b98873dbeafaf873115d80e58459
MD5 3ad176ef8282c0b03e6058b58677a004
BLAKE2b-256 74da0be2c11e42aff85c44bb1e43e0ebf259a87484363bb62fa6a91ebd33e699

See more details on using hashes here.

File details

Details for the file cityjson_lib-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cityjson_lib-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30dca107b662c4404277319af981fbaf170b8c4207ce1e2b5634a9a085ccdb34
MD5 dffe206031c882a3250aa5bb9a5dec2f
BLAKE2b-256 71c05b6d113b572cd4eec5aa521b7b4fb9c4ee46a8581d19a0202b0641a79752

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page