$npx skillfedfor your agent

fastkml

Fast KML processing in python

Worth itPyPI LibrariesReleased Nov 2025280.7K downloads / moLGPLPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fastkml-1.4.0-py3-none-any.whl
v1.4.0 · released 2025-11-04 · Python >=3.9 · 3 runtime deps: arrow, pygeoif, typing-extensions

Yes. FastKML is actively maintained, has no known vulnerabilities, installs with low friction, and solves a clear problem: KML file handling in Python. The LGPL license requires derivative works to remain open-source, which is a constraint for proprietary projects but not a blocker for most uses. Suitable for anyone working with KML data in geospatial workflows.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; optional lxml dependency improves XML parsing performance.
  • Low friction install with three core runtime dependencies (arrow, pygeoif, typing-extensions).
  • Actively maintained as of 2025-11-04 with recent commits; no known vulnerabilities.

License · maintenance · safety

LGPL (copyleft) — Licensed under LGPL (copyleft); derivative works and modifications must remain open-source under compatible terms, which may constrain proprietary use.

last release 2025-11-04 (283 days) · last repo commit 2026-08-14 · 256 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 280,702 downloads/mo, #8,108 on PyPI

Verify before relying

pip install fastkml

from fastkml import kml

k = kml.KML()
# Read, write, or manipulate KML objects
  • Whether the library fully implements all KML 2.2 specification features beyond the documented gx extension limitation.
  • Performance characteristics when handling large KML files or complex geometries.
Same gist for agents: .md · .json

What it is and what it does

FastKML is a Python library for reading, writing, and manipulating KML files—an XML-based geospatial format standardized by the OGC. It wraps KML structures into Python objects, handling geometries through pygeoif (compatible with shapely and other __geo_interface__ implementations) and dates through arrow. The library aims for simplicity and speed, with optional lxml support for faster XML parsing.

Typical use cases include converting between KML and Python data structures, extracting geographic features from KML files, and building KML output programmatically. It supports modern Python versions (3.9+) across CPython, PyPy, and GraalPy, and is compatible with geospatial clients like Google Earth, Google Maps, OpenLayers, and Cesium JS.

Use it for

  • Parse KML files from mapping applications (Google Earth, Marble, NASA WorldWind) into Python geometry objects for analysis.
  • Generate KML output from geographic data to visualize in web maps or desktop GIS clients.
  • Convert between KML and other geospatial formats by leveraging pygeoif's geometry abstraction.
  • Extract and manipulate geographic features (points, lines, polygons) embedded in KML documents.
  • Build geospatial data pipelines that consume or produce KML as an interchange format.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

FastKML is actively maintained, has no known vulnerabilities, installs with low friction, and solves a clear problem: KML file handling in Python. The LGPL license requires derivative works to remain open-source, which is a constraint for proprietary projects but not a blocker for most uses. Suitable for anyone working with KML data in geospatial workflows.

Install

fastkml on PyPI

Before you install

Low friction install with three core runtime dependencies (arrow, pygeoif, typing-extensions). Actively maintained as of 2025-11-04 with recent commits; no known vulnerabilities.

Requires Python 3.9 or later; optional lxml dependency improves XML parsing performance.

License in practice

Licensed under LGPL (copyleft); derivative works and modifications must remain open-source under compatible terms, which may constrain proprietary use.

Quickstart

pip install fastkml

from fastkml import kml

k = kml.KML()
# Read, write, or manipulate KML objects

Verify before relying

  • Whether the library fully implements all KML 2.2 specification features beyond the documented gx extension limitation.
  • Performance characteristics when handling large KML files or complex geometries.

Package facts

LicenseLGPL copyleft
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
arrowpygeoiftyping-extensions
MaintenanceActively maintained 283 days since the last release
Last repo commit
First released
Downloads280,702 / month, #8,108 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: GraalPyProgramming Language :: Python :: Implementation :: PyPyTopic :: Scientific/Engineering :: GISTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup :: XMLTyping :: Typed

Evidence: fastkml-1.4.0-py3-none-any.whl

Tags

Capabilities
kml file parsing pythonread write kml filesgeospatial xml processingkml geometry handlingkml to python objects
Topics
geospatialkmlxml-parsing

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 file parsing python”

  • fastkmlReads, writes, and manipulates KML files—an XML-based geospatial data…
  • pykmlpyKML parses and creates KML documents using a Pythonic XML interface…
  • simplekmlSimplekml generates KML (Keyhole Markup Language) files for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pykml · kml2geojson · simplekml · pygeoif · osm2geojson · python-libsbml · shapely · pyshp · docx · python-cmr