Skip to main content

Python bindings for MapLibre Tile (MLT) format

Project description

mlt_py

Python bindings for the MapLibre Tile (MLT) format via PyO3.

import maplibre_tiles

data = open("tile.mlt", "rb").read()

# Structured decode with geo-referencing
layers = maplibre_tiles.decode_mlt(data, z=14, x=8297, y=10749, tms=True)
for layer in layers:
    print(f"Layer: {layer.name}, extent: {layer.extent}")
    for feat in layer.features[:3]:
        print(f"  id={feat.id}, type={feat.geometry_type}")
        print(f"  wkb={len(feat.wkb)} bytes, props={dict(feat.properties)}")

# Raw tile-local coordinates (no z/x/y needed)
layers = maplibre_tiles.decode_mlt(data)

# GeoJSON string output (tile-local coords)
geojson_str = maplibre_tiles.decode_mlt_to_geojson(data)

# Fast layer listing (no full decode)
names = maplibre_tiles.list_layers(data)

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

maplibre_tiles-0.1.13.tar.gz (210.8 kB view details)

Uploaded Source

Built Distributions

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

maplibre_tiles-0.1.13-cp314-cp314-manylinux_2_31_x86_64.whl (449.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.31+ x86-64

maplibre_tiles-0.1.13-cp314-cp314-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

maplibre_tiles-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

maplibre_tiles-0.1.13-cp313-cp313-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

maplibre_tiles-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

maplibre_tiles-0.1.13-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

maplibre_tiles-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

maplibre_tiles-0.1.13-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

maplibre_tiles-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

maplibre_tiles-0.1.13-cp310-cp310-manylinux_2_31_x86_64.whl (452.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64

File details

Details for the file maplibre_tiles-0.1.13.tar.gz.

File metadata

  • Download URL: maplibre_tiles-0.1.13.tar.gz
  • Upload date:
  • Size: 210.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13.tar.gz
Algorithm Hash digest
SHA256 655997e18d4ffe6d6c664f965b760323e8bda7765329686fff1270d5dba6a501
MD5 af3a15708367383f5edaaf29b4269638
BLAKE2b-256 2bace0f59cfa5e3c1fdf01ee3e46d9aba31b720b45188ad0829b3dd92c045002

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp314-cp314-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp314-cp314-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 449.2 kB
  • Tags: CPython 3.14, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp314-cp314-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f693ccbfd0870583ca64289275fcb6e6e9486de8c556648d3629d0aba27f0500
MD5 b27eeb8dc400194a6a096bd3f23589f0
BLAKE2b-256 95d35afe161efff637f274e2b05bce40872df9c6839e200378d9d72c9f855fec

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 813291ec6d3215d62a6616cdae000f311fce4ad5b24760299becff7952d2fa34
MD5 29332a9afc5c8ae45ccbf51993ea6a4f
BLAKE2b-256 66c6b3a837de47edf60289c44e028018a9028cbb61b1d0e002d076e4b6429d39

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.14, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1871996a5adb05c4c823cf5062412e73a276e352e1c26c72d441338d7fc51503
MD5 8e3ea1614445f595497a331ecdfc9c84
BLAKE2b-256 ffeb61a497d518e354fff9977bf8c67267640959eee911b42f9ffea29f744b00

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10b1dddee566dd6393f1f4dcf7cd216420d91e5fcb5f1041570d0c9950a5051b
MD5 33e7318a49612253a799dcbd26130709
BLAKE2b-256 1c782b311c119d97e7d59787f5f4aa9fac95fc6c10b1759ec1f2f269f8bb7c14

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.13, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4e9c26e96cbac90ee0984cd6cb6f5f43b7bb4ab574f666ac60bbc398a003ba9f
MD5 fa2de79e7348474cc58b192ee41035f6
BLAKE2b-256 79f91e0b11776ef07c7c9f36197a8c7003eceb51f4b0a89003cb547c23424424

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e9cab558e06a507d289784b8470b786a3e0a20d8047c9ebbf4e5142bc8dca06
MD5 65ac7ca56cb27a8ae67ab30f16782e81
BLAKE2b-256 30bcd290ed960c9d2512659dca61f5059dfe7f1f53c39f957abbb48c23c6c0e5

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.12, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7d703297c525a2ad640d17182f3f4af005495794b493c2efb4f61abfc0529c19
MD5 17d83a84265a8c79f1082e26aed73f11
BLAKE2b-256 76551e554deb28c971afcdf65957e6c49bc645cd8dd69a4ab63e53bc5d9ba450

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.11, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f61961707c0ea61cc0594f8552d800c789bc9b9c2068b345d339f38b0f8e0d8
MD5 7ad28a753ebe9b9642fd1457531999d8
BLAKE2b-256 a221e855884bee44ca962530f5b8ab39092016b7e5be93313210da0d2d9a8da3

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: CPython 3.11, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 abd2e6928a363ac995dbc326cccc5e65dbc00376882a91bd6d90f3243a6c3472
MD5 1747a6f9b8b86d08471aaaef8218f401
BLAKE2b-256 71be7e3d334a1bb28f609e200a269808618666f5ca02402036559d5d5525b7b7

See more details on using hashes here.

File details

Details for the file maplibre_tiles-0.1.13-cp310-cp310-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: maplibre_tiles-0.1.13-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 452.0 kB
  • Tags: CPython 3.10, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.9 {"installer":{"name":"uv","version":"0.11.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for maplibre_tiles-0.1.13-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 41522ea7ca47faf98721ed327c4ae0bdeeaa606db6895e5ebb10d76daeac1ae9
MD5 baba825cf4efe574f2618ad4a581fa6c
BLAKE2b-256 b910846e4c85bf10e274125761ebe9ffca270f84935258557d8e2406c3d1433d

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