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.9.tar.gz (199.6 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.9-cp314-cp314-manylinux_2_31_x86_64.whl (449.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.31+ x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

maplibre_tiles-0.1.9-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.9-cp313-cp313-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

maplibre_tiles-0.1.9-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.9-cp312-cp312-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

maplibre_tiles-0.1.9-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.9-cp311-cp311-macosx_11_0_arm64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

maplibre_tiles-0.1.9-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.9-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.9.tar.gz.

File metadata

  • Download URL: maplibre_tiles-0.1.9.tar.gz
  • Upload date:
  • Size: 199.6 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.9.tar.gz
Algorithm Hash digest
SHA256 d3f7a3aedc9df38216ccf183df2efa833dcc53daec2af1196095923ec04a51dc
MD5 9ee9dc3fbf4453f1902e9a7d9107ef54
BLAKE2b-256 d302f68cc137341b8ff15ee283ac91b11e5109fc5ac38a152cc43c92dcf1fc06

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-cp314-cp314-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 449.4 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.9-cp314-cp314-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 d6da719e5a5c93bd520d7af117495b3c625fffc45a17aead3bd8a3383b956a94
MD5 8a658b88d554f68183a58bfaf79b3db0
BLAKE2b-256 308b45de0b8ee6f4e0886b81cb6f5c556633d8dae881034413759b5a8944b4e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 07da15907a92faf86bb978a2cd9595d0879bae3b94a5484b2e598011d348b5f5
MD5 d02c5aa0f09c8f3401cd192837e1232d
BLAKE2b-256 dcc99327156fc8746c09c81fd442ce757d620d01ba715b3a04235d0ca85c2219

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3a6aa12a326aa57759c2fac905759af78a0197bc0744839a9315d52048572aea
MD5 1f2e485a2b672db5356abe81a7ade6c0
BLAKE2b-256 e7394849e0786104c55e351372677105ee0bbff090473a920c2ce56c2678a45a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e0551904c1cc3ebb25fad3f9d50bab7d24f9dec8ced5208d0318468a8afdeee3
MD5 eacd9cf54d9173c611deadcf9d03e01c
BLAKE2b-256 2d082d4bbcd09c862a49607fd68142efbe5f333eb5c1b668a5c941079ab21da1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 18ea3ca9ba792ae8af4899658ed6f6dea512860e34f5671125434e6e5cb9dabb
MD5 e787e559879a24782f0e51444790f08e
BLAKE2b-256 50062b4bcb72469f74ca44a96d67442381b5c4669bdcdc0e29819bb951207b0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 62e87e286ce543d6be63704bb0f0e0ba836ca2873e069c90d5151512a3d1d9d5
MD5 100f406f7624f4aa527888e562d36136
BLAKE2b-256 352a3f673c00c95b3e08decdfd5f9cc8475c9411db2487e7a25e829b7aa09520

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9fb6e23987e48845fef9eed4a7c53bd76c2c35cdcf8981a4512982a573338671
MD5 a3621d909ba6be58a87b6bc65020a4f4
BLAKE2b-256 2b6ca44495a75b2b5e409c1a4307bb8dfd8b2730bb0b591e9a5dedd6d586cf95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87efdcccefe0d48fe4d486fa51790670f2e8fa064ee83ee2c20701bc66a7f9df
MD5 2852505fbd5448b097648c603be7fe21
BLAKE2b-256 1fb10ba2f3a09cfd3b12096e409c237f7c7f3e59d940cdedfc0ddccaf6006bb1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.9-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 869a010a204a758eed67bb869d7083fae2298b7437dfa04ab6a72954e73a5165
MD5 863cd0078c768a9b2283777b785135fc
BLAKE2b-256 a16e39565cc40dbb972b2d9bd71b49424c13f4f207e1511c8be9f7aa2cbdcaaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.9-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.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.9-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 997603df656309901a4c16315ab76e6de8bdf2ee068b911b571123e81446a1c1
MD5 bc563fb25637500915429dbc7fdf1477
BLAKE2b-256 de3c578cf4c042ae5edaeb04da5847b40b28f6e466d45d481e1cda71dd1dc515

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