pykml
Python KML library
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code that already depends on it. The package has been abandoned since 2019 with no maintenance, no visible repository, and no security updates. For new projects requiring KML support, evaluate maintained alternatives or use a general-purpose XML library with KML specifications. The low install friction and permissive license do not offset the maintenance risk.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with a single runtime dependency (lxml), but the package has been abandoned since 2019 with no maintenance activity or repository access visible.
- Use only if you need KML support in legacy code or have no active development requirements.
License · maintenance · safety
BSD (permissive) — BSD permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects that can tolerate an unmaintained dependency.
last release 2019-10-25 (2485 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 247,261 downloads/mo, #8,695 on PyPI
Alternatives
Verify before relying
pip install pykml
from pykml import kml
k = kml.KML()
doc = kml.Document(ns='http://www.opengis.net/kml/2.2')
k.append(doc)- Whether lxml version compatibility issues exist with modern Python releases given the package's 2019 last release date.
- Whether the package works with current KML specifications or only historical versions.
- Active community forks or maintained alternatives for KML handling.
What it is and what it does
pyKML is a Python library for reading and writing KML (Keyhole Markup Language) documents—the XML format used for geographic data in mapping applications. It wraps lxml.objectify to provide a Pythonic interface, so you can construct or parse KML documents as Python objects rather than manipulating raw XML strings.
The package was last released in 2019 and is now abandoned, meaning no bug fixes, security updates, or compatibility work are happening. It has a single runtime dependency on lxml and installs with low friction. If you're working with legacy KML data or maintaining older code that already uses it, it may still function; for new projects, you should evaluate whether a maintained alternative exists or whether hand-rolling KML generation with a modern XML library is more appropriate.
Use it for
- Parse KML files from mapping services or geographic data sources into Python objects for analysis.
- Generate KML documents programmatically to feed into GIS tools or web mapping applications.
- Convert between KML and other geographic data formats in a data pipeline.
- Extract geographic coordinates and metadata from KML placemarks for geospatial queries.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code that already depends on it.
The package has been abandoned since 2019 with no maintenance, no visible repository, and no security updates. For new projects requiring KML support, evaluate maintained alternatives or use a general-purpose XML library with KML specifications. The low install friction and permissive license do not offset the maintenance risk.
Install
pykml on PyPI
Before you install
Installation is straightforward with a single runtime dependency (lxml), but the package has been abandoned since 2019 with no maintenance activity or repository access visible. Use only if you need KML support in legacy code or have no active development requirements.
License in practice
BSD permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects that can tolerate an unmaintained dependency.
Quickstart
pip install pykml
from pykml import kml
k = kml.KML()
doc = kml.Document(ns='http://www.opengis.net/kml/2.2')
k.append(doc)
Verify before relying
- Whether lxml version compatibility issues exist with modern Python releases given the package's 2019 last release date.
- Whether the package works with current KML specifications or only historical versions.
- Active community forks or maintained alternatives for KML handling.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagelxml |
| Maintenance | Abandoned 2,485 days since the last release |
| First released | |
| Downloads | 247,261 / month, #8,695 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Multimedia :: Graphics :: ViewersTopic :: Scientific/Engineering :: GISTopic :: Scientific/Engineering :: VisualizationTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pykml-0.2.0-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 › “kml document generation”
- pykmlpyKML parses and creates KML documents using a Pythonic XML interface…
- simplekmlSimplekml generates KML (Keyhole Markup Language) files for…
- kml2geojsonConverts KML files to GeoJSON format, preserving styling, folder…
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 fastkml · simplekml · lxml · pyulog · kml2geojson · turbohtml · pyquery · pydantic-xml · docx · MarkupPy