pytiled-parser
A library for parsing Tiled Map Editor maps and tilesets
Decision gist · record as of 2026-08-14
Yes. The package is stable (Production/Stable classifier), has zero known vulnerabilities, minimal dependencies, and solves a specific problem—parsing Tiled files—without forcing a particular game engine. The 568-day gap since last release suggests maturity rather than abandonment; the repository remains active. Install it if you use Tiled for level design and need to load maps into Python without engine lock-in.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with only two lightweight runtime dependencies (attrs and typing-extensions).
- Repository is active with a recent commit on 2025-04-10, though the last release was 568 days ago, suggesting stable maintenance rather than rapid iteration.
License · maintenance · safety
permissive license (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects without licensing concerns.
last release 2025-01-23 (568 days) · last repo commit 2025-04-10 · 39 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 87,626 downloads/mo, #13,782 on PyPI
Alternatives
Verify before relying
from pathlib import Path
import pytiled_parser
map_file = Path("assets/maps/my_map.tmx")
my_map = pytiled_parser.parse_map(map_file)- Whether the package handles all Tiled features (custom properties, animations, object groups) or only core map/tileset structures.
- Performance characteristics when parsing large or complex maps.
- Whether parsed objects are fully mutable or read-only after parsing.
What it is and what it does
pytiled-parser reads Tiled Map Editor files (TMX format) and converts them into Python objects with strict type annotations. It is designed to be engine-agnostic: rather than returning engine-specific types like sprites, it returns standard Python types (Path objects for images, dictionaries for properties), making it compatible with any game framework or custom implementation. The library closely mirrors Tiled's JSON format structure to minimize friction when working with map data.
The package is used to load maps and tilesets into 2D games supporting orthogonal, hexagonal, or isometric layouts. It exposes layers as ordered lists of Layer objects, preserving Tiled's structure while allowing downstream code (like the Arcade library) to reorganize them as needed. Dependencies are minimal: only attrs for data classes and typing-extensions for type hints.
Use it for
- Load Tiled-authored maps into a 2D game engine or custom game loop without engine-specific bindings.
- Parse tileset definitions to extract tile properties and metadata for procedural level generation.
- Extract layer data from a map to render orthogonal, isometric, or hexagonal tile grids.
- Integrate Tiled map editing workflow into a game development pipeline by reading exported TMX/JSON files.
- Access map object groups and custom properties for game logic (spawn points, collision zones, triggers).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is stable (Production/Stable classifier), has zero known vulnerabilities, minimal dependencies, and solves a specific problem—parsing Tiled files—without forcing a particular game engine. The 568-day gap since last release suggests maturity rather than abandonment; the repository remains active. Install it if you use Tiled for level design and need to load maps into Python without engine lock-in.
Install
pytiled-parser on PyPI
Before you install
Low friction: pure Python wheel with only two lightweight runtime dependencies (attrs and typing-extensions). Repository is active with a recent commit on 2025-04-10, though the last release was 568 days ago, suggesting stable maintenance rather than rapid iteration.
License in practice
MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects without licensing concerns.
Quickstart
from pathlib import Path
import pytiled_parser
map_file = Path("assets/maps/my_map.tmx")
my_map = pytiled_parser.parse_map(map_file)
Verify before relying
- Whether the package handles all Tiled features (custom properties, animations, object groups) or only core map/tileset structures.
- Performance characteristics when parsing large or complex maps.
- Whether parsed objects are fully mutable or read-only after parsing.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesattrstyping-extensions |
| Maintenance | Aging 568 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 87,626 / month, #13,782 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pytiled_parser-2.2.9-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tiled map editor parser”
- pytiled-parserParses Tiled Map Editor map and tileset files into strictly typed…
- geosGEOS is a web server for creating and viewing tiled map overlays in…
- pmtilesRead and write PMTiles archives, a single-file format for storing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pmtiles · contextily · tiled · pyGeoTile · leafmap · pydeck · mapbox · jupyter-leaflet · tippecanoe · amulet-core