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.11.tar.gz (200.3 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.11-cp314-cp314-manylinux_2_31_x86_64.whl (443.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.31+ x86-64

maplibre_tiles-0.1.11-cp314-cp314-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

maplibre_tiles-0.1.11-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.11-cp313-cp313-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

maplibre_tiles-0.1.11-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.11-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

maplibre_tiles-0.1.11-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.11-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

maplibre_tiles-0.1.11-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.11-cp310-cp310-manylinux_2_31_x86_64.whl (446.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11.tar.gz
  • Upload date:
  • Size: 200.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11.tar.gz
Algorithm Hash digest
SHA256 394f8737060a3b6835310ae05e57512b97b2e7f715e9342918863397973df802
MD5 871251c2d7aa65951e418432ff4b99fd
BLAKE2b-256 58753b7c7b29ccceab17040f1f17eae4fd91151de83a28c00a94dd30a6c3bc30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-cp314-cp314-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 443.0 kB
  • Tags: CPython 3.14, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp314-cp314-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 9b5a26bef293fc07d553d23c30df10faf930f969ff6baf5500ca476645f4a300
MD5 2e9ed1c3afb5a009b156a4ef36646ddd
BLAKE2b-256 2092f62bc4c769d2bd73c5603ef92338c714ee58081254c1c593ea1a116489f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1f12861fa04edd559bb4e51cd62f7ef078f611f7b4832374ac41d427f929568
MD5 ecd8123ef034239bb18b3832d87fa755
BLAKE2b-256 e2f5480e23925735abf6c5ed4546120787a55f39e5aef191f6a75facfd3da943

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-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.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 98c4f8529efc9bf0635a67cecaaff3990cd363f52fc59fccd3d286b68ce00add
MD5 cd744dea62fb14ed839238efdddd1981
BLAKE2b-256 2b647d6a96f6047acf98f955afc1beea0ae8de6b3138c5bbddbcb31e25ec9144

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37705005210b0220ef4aecaa5f847febd637a5f356a7a0dc8493d87018b2ee11
MD5 eccc1f7bfd0d5c919309c7746bac9887
BLAKE2b-256 534bb5bc22be1021fe2452d3e799ae637cf4e72160f8f2550add9a69962c38a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-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.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ff6efa7232732c84add6df3ab4ae9bcc2e058dcfa087f1333fc90f2420196cd2
MD5 822672986d9d0465c7c4e3c4bc01bdc1
BLAKE2b-256 1b877f5f1ada3ce5251b771b28fa3d7017656831896ec0e48b31950086a963ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 200f5dd3db7283e2e7afa4ca4304e77fa89d52289056e403299dfaf1aab31a87
MD5 07b171cdba66083a4a272d18d3462606
BLAKE2b-256 4f45d5856896626fe8f0b19eae3a7e7283c1b94afef6e08212cb92016d954144

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-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.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3774db99ad5d5f38ca94176f15f5f3679f4032f438cb48018fea29b4953a62f5
MD5 c1ae35782747a2df6babe66e3c0254f6
BLAKE2b-256 9a8b388a8c531ee19c2a6a719514bf9a41a8168c55cdcadc92dad994c7c6d863

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-cp311-cp311-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.11, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fead302304a39e2f7121457814fb5d091a4a780928de369576a5fca45ecce971
MD5 c0736894babbe2839e1ecafbf41329af
BLAKE2b-256 c704d1ca9dc1f754932b8cf20253a7ead6b6e19acc3996fbb214c4849dd3da00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-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.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 97b04a7551bee9d8d0bbd06e54f175083c011ff976fb78c50cf65b4367bc2947
MD5 93b707fbc879cf67585b3ecbe722609f
BLAKE2b-256 accf074bd9e3d2bf57589d29abf999151860abe6ba7239b9850ff215eb8a7a03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.11-cp310-cp310-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 446.2 kB
  • Tags: CPython 3.10, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.11-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 0e928f9ca39739d587fc045722757573467652ad4fc5adf5e133bc97cff6767b
MD5 3303619b260056514d5337103309d9cf
BLAKE2b-256 05e960760264110f7320c039622194ba404d56f39cf39d4a98c05188d2249869

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