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.10.tar.gz (199.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.10-cp314-cp314-manylinux_2_31_x86_64.whl (449.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.31+ x86-64

maplibre_tiles-0.1.10-cp314-cp314-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

maplibre_tiles-0.1.10-cp314-cp314-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

maplibre_tiles-0.1.10-cp313-cp313-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

maplibre_tiles-0.1.10-cp313-cp313-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

maplibre_tiles-0.1.10-cp312-cp312-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

maplibre_tiles-0.1.10-cp312-cp312-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

maplibre_tiles-0.1.10-cp311-cp311-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

maplibre_tiles-0.1.10-cp311-cp311-macosx_10_12_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

maplibre_tiles-0.1.10-cp310-cp310-manylinux_2_31_x86_64.whl (452.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10.tar.gz
  • Upload date:
  • Size: 199.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10.tar.gz
Algorithm Hash digest
SHA256 9c594b22b790d23630bf7ab2c911ce16160189ce421842228d036628e9ef892e
MD5 c533a3274096e0340a78208fbb57c457
BLAKE2b-256 e10f9e0cbb8a39aeaf28efe035e8c43f391e7a1cc14dd93fb3916f1eb227f631

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp314-cp314-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 449.8 kB
  • Tags: CPython 3.14, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp314-cp314-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4affca08f2bd7b4c147f74af23fe0fad325580065e8dd0bc5feadaaa2cecde5c
MD5 0960c839022f05ba101a8b82cff38664
BLAKE2b-256 0945476574d7f404e314a5039bfd19ed066e3a84d29c7102c26861e92515f48d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cb514f484c5ef9b36d1ca855df0ed08c67f58b6d631e0483e3a693ea72bc501
MD5 e91d4c26716d33ed264646cbc7877b25
BLAKE2b-256 0087f75c960e868579c81734b715c0d7099ed8e80d7ec0f93a89a9769b2f8de7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp314-cp314-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.14, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d7f14aa158f5d7b8a8cee73811cf06200906b9999a68809a3d14ceea76179fd1
MD5 0a5efaf216338434341bd1a53bc195b3
BLAKE2b-256 a22643dad58b35157c17209abdb568b010e629d7ed4e2c7560abe81548f5c3d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67b9c258cfe871ac5e92e57c5fbe7ec5e5cbf2ec0661f87092bd3ad37a374085
MD5 3866a2a38624c3bb39893abb62d39b15
BLAKE2b-256 c729662b627674ec7f4a152db129cae7b3e55a4ee06d63b791d4acf44c8abe8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp313-cp313-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.13, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0306f98599ae9dcaaa38b13854ba65ecb8f67b46b2a2d21b5cb738e990e586c6
MD5 b2c8a41db7e7eae21a335c1f67b27b55
BLAKE2b-256 659b456a42667d3ef2722e2bd7070994850cf3a27d6de003bc8f8ae6836f73b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f45a2a98743a59def3f4ea022d52d7987cddda9caeae3a0b2658b995de13049e
MD5 f6284567f342866b1675b6dd1a591020
BLAKE2b-256 3cfd088667c0001a67d64923a20518a0f277bf93cceda2d77769e8a71e0e8024

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp312-cp312-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.12, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f59574999f8b577f75f543ad8c210a67a7058d1fee53af08117a0c8c381837d7
MD5 cbf1e12e1576276d8d397b06d7890403
BLAKE2b-256 7fd6a436d84caf2cacd163e399fd81efb92a1cc7a3194f1befcb40cb73eb7a40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.11, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 722b9532ba37234c484fca3a718212cb5c471105b905feec5689f9f0ee04dc59
MD5 d3c5e099716e1992c6148ba16fbbb6df
BLAKE2b-256 61abc6e42e5f0b9ff41feb1f4bc2af49e8305ced1e8a00e4c2d1ae1add8a93ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp311-cp311-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.11, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 90dbae79327ffee83b6ecd1942c3cc43abe747a8495fa45ae1fe73692fdfc590
MD5 0027dcb21016c4b65bf30a45adfac9c3
BLAKE2b-256 87f9f9b28bd2ac906e71ac7d9508b8a5490f9569c18235842de9ea6429b56f7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.10-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 452.2 kB
  • Tags: CPython 3.10, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","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.10-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f2cd70aa6c50ac4e15e4f2e7e5e0ec1b0f1c76dd0fef02fca90c01d78283ffb7
MD5 1ce6b7d21933cf24e6bb7f07fbba594d
BLAKE2b-256 f79f790e451b3181187eefd8c79cac356e844bbe7e51d34a4d22b6b0ce168e83

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