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.15.tar.gz (217.4 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.15-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.15-cp314-cp314-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

maplibre_tiles-0.1.15-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.15-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.15.tar.gz.

File metadata

  • Download URL: maplibre_tiles-0.1.15.tar.gz
  • Upload date:
  • Size: 217.4 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.15.tar.gz
Algorithm Hash digest
SHA256 1e778ce9070513a49ae5233a99fd256e17cc6ab73a7ad7f0c06b54acf9f83bb3
MD5 2917ae9f6185dbab79dc5f45b57e42c8
BLAKE2b-256 cc990428671e9df917d44c4e7c63026fec2c85b57942dd2625323a974109ab7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp314-cp314-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 672ef18c85607aa33a932680fe7a4f8ea163cdfc8b2b589378b5cb8bb4a3f83a
MD5 d41198e7939ec3f0196b19e3af99c4f6
BLAKE2b-256 6380724f06d29b7ddafe513489b82b3326ba3c23e20d96190c074b5b25e8465a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 951f6a0171b1b5924757ea6d6b23cecc592807e29545837f4fdacaa437ce7e1e
MD5 d0a2c8f2f9419e4e92c2474c65089442
BLAKE2b-256 1bd01f1a34091ccac4f72368b1b9981f6423ea2b488798e6a65175dd71342f77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 62a66c1bddfdd21336540160e2e35d072292209cf98220b29f2d0aaa35b858e6
MD5 a1eb1fa3c90111084b632016d5f46bc3
BLAKE2b-256 d30dadb675855a2a695cf18e1ee995130d6730667b002a3e0ff04826a36b86a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d7f9bb0c848ca3cb96532342c8269808c91f26abde7b12a1678fa221143bf2e
MD5 c70e62d1caee8106462f79865d2cd738
BLAKE2b-256 b094a16876b06a57c04230763015554bee819ed700f138a917491f7a6fa32da3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7ab7dd3d099e8ce84295d106299d5c67c9ac3085da74435883fb620e88b99f77
MD5 76b9d76beb2b042447c62fb0c0d64ffe
BLAKE2b-256 48a5beeaeb034075771cc7b53d48fdb30f4e3628294f3268c139be1f25721ce2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e851f6d1cb741b27ee0d2f7cbfde58d52abc9b5c43be774c69b15cf7819b1f2
MD5 b1cb0ddb3d0dc2973080eb23293f6c30
BLAKE2b-256 56a579eec99b296d31807eb906b1460c83dda48ad844119874eb1169bd2cc833

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 917b0a80286cc4e2e06bc6b2c6f134e82eb3278aa9f2b4ad7a4cf78caa4fb425
MD5 33ad5fb3313f51a05bae959a6d659f55
BLAKE2b-256 7042c3a5550c85a008ce4e865b2d90d545b27334834d596c32a7cc37638c1cec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e6db372c3a7fc445c0548bf7b04e54f80c89d1d5f227ae111f9a93ed07255a04
MD5 5aa83b83ae0c9bde5ca122357b5912da
BLAKE2b-256 351da027f47fb5cb18ae872b4340aef55f4924216250a000d021e466a3b58b74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 22f3d32201b79f47b21faeef65e8b6b218c0db5a85a2d910e14a01c2ad84e92e
MD5 40320515fac3b8b81d3b6ad55516d47c
BLAKE2b-256 c507b19a498b3376b3d828060bffae23555825eac3baf4e4c56dd0182773a21c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: maplibre_tiles-0.1.15-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.15-cp310-cp310-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 b4ddcf9e6d3a05b24e9f3636dc240a38887efb5c83030cfb28d9563951048d62
MD5 5959cbcae2b5082ebc5b5f3d77566268
BLAKE2b-256 d680ca62032a682cd8325a3b6cb6682e27c78189d5b6427600bb49da0a87c571

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