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.14.tar.gz (217.7 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.14-cp314-cp314-manylinux_2_31_x86_64.whl (450.7 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

maplibre_tiles-0.1.14-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.14-cp313-cp313-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

maplibre_tiles-0.1.14-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.14-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

maplibre_tiles-0.1.14-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.14-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

maplibre_tiles-0.1.14-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.14-cp310-cp310-manylinux_2_31_x86_64.whl (453.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14.tar.gz
  • Upload date:
  • Size: 217.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.14.tar.gz
Algorithm Hash digest
SHA256 0457d331cf6e8a88a8fe449c8c2f39e6fedddaa33c5873718c7cb152182a00c4
MD5 7b4cfb8d9a609e1ff4e4bd8c2660a3f0
BLAKE2b-256 718f549c60bc2621902a11f833f221b4cf9cb871921773c148eb7e99e344e238

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-cp314-cp314-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 450.7 kB
  • Tags: CPython 3.14, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp314-cp314-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 307ddefaf7db773373098558163aeeb423970eacd2ea1fcde771e6ecec55ecb1
MD5 affe58d17be991b6251589e8293e8ebd
BLAKE2b-256 c872fabb47bfd6764f621a44c6078410ce428c6991475bd960afb60ccc8ccaca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a3ce2a20412648097b9efdda2e46151f925e8576ee37f56778df95a88bbc112c
MD5 4d975ac1e076be67b55dd85352bb901c
BLAKE2b-256 f6e7efc597b8a4c765a60770e339cb3b783bed4af1455837730403b79c620d6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8bdaca5245fa1eabab7c71753486f777278c5cb9aec803a7d990811fd870f2b2
MD5 788ac2b93fc6ad8c0cb4500357cc58b9
BLAKE2b-256 46c8167cb52860a3f6b7043735bfaeffb01deed6e6964acd3d4eaab7752d8a7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e829ab7b4e287cdf6e91a31c9ec5e0911bb0a69e135e1eb40c740c8ceb10796b
MD5 26f1f605a7b53114702382907f1958d2
BLAKE2b-256 c1838327ec54db0fe5c78021ca93ec9ce0f009afe320a1f955522e01ae0e5387

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 485c2a184d2e7a01ef4b1f4384dc855e9664e4961666d509d92c333ea7597154
MD5 264bba0071757f25d9240b37e6b2f5b6
BLAKE2b-256 e3bf53b4a2968789b89313e04f103108ca9d033c7818087713e184ed35d81a91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6fe45dc7c10793130272b5b817a30a1c6dd224712218505f428b2c10d0c2f58
MD5 135d793fa5aed66716ec30e710076c37
BLAKE2b-256 721dbf2193e22a594109fadf8c7ef6cc174f8d6467f9bda7d79475b6b1fc732a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b7460e3aae9436370dc2165ee5eebf96a42da24add7352888ce8b1663651c780
MD5 ebad98c9a7feca073cbfe350e789461b
BLAKE2b-256 b4fb4e9946ec3fa6de958d197c39388bbb8b74f39e0436fdd314986638594127

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 278b8a7acc757a3751921f5165181c0b35294bdd1103e8410bbcc6e7220fda75
MD5 4ff2fbb73aa82b3fe23514474714ef20
BLAKE2b-256 a3d9b53e62e02d984da331aa4ba5361f6666faa2529eb3b95fb0ff7c17071275

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-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.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 78eb77f402cabcc0ae8d2ed101f20572b0cdaeff43010d8a0abf957ff49a0d05
MD5 ef2a961f799d4af788497b44dc3f95b9
BLAKE2b-256 9f9f8eb74d8f1c42b1f96b69efe9495faa36fb83024def5df034127e5d38c612

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.14-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 453.2 kB
  • Tags: CPython 3.10, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.14-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4ed2da993023199dd7c7f5332cac7a153c26527d74edd729c00c9302c5f619eb
MD5 1cc68f093b8cef728286071caaaa5330
BLAKE2b-256 7d41219cdb92ecc4a3a61edd5f6f2827bc1469359e9908bd62b4a8970f5fa84f

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